We are able to write our C-applications using Visual Studio, load them to the Colibri iMX6 module, get them compiled natively on the target and even remotely debug them via gdbserver like e.g. outlined in the following Microsoft article.
However the instructions fopen
and printf
generate segmentation fault
if single stepping but seem to be executing alright if a breakpoint gets set on a consecutive line.
So far we were able to develop our applications like that using a Raspberry Pi before we received proper Toradex hardware.
Now our applications are ready to be ported to suitable hardware to be sold to our customers. Besides other requirements e.g. one technical point is that we need to guarantee operation across a wide range of temperature conditions in which the Colibri iMX6 should work. We do have to make sure our hardware operates reliably even on roof tops of buildings in much warmer regions as well.
My question is now why the VC debugger locks up on the Colibri iMX6 while it works fine on the Raspberry Pi?
Is there a need to deploy any further things?
Does Toradex or anybody else have any experience with such a development environment?