We are going to start a new project with a Freescale iMX6, the RTOS is a linux and we would like to know if is possible to compile the applications with the arm compiler or is only possible to make them with the gnu compiler.
We have the DSTREAM to debug and we would like to know if we can use it or it's necessary to use the gdbserver.
Thanks.
Josep.
For Linux & Linux applications - GNU compiler is what you would use. ARM Compiler is intended for bare-metal (without an OS) development, or RTOS (such as Keil RTX) development. There may be some aspect of this in your i.MX6 development which would mean using DSTREAM.
Thanks,
Joe
You should be able to use DSTREAM. It would depend on what you are trying to achieve. Also, you would have to understand the debug architecture of the device you are using to understand what capabilities it might have.
-Manas
Thanks for your answer.
We understand that the DSTRAEM is useful to debug the bare-metal applications, debug the linux rtos or drivers but it provides no advantage to debug the apllications are running on the linux ?
Best regards.
Unfortunatly you have to try another SDK if you wanna a graphical debug, may you can try eclipse or lxpresso if your hardware is compliant with.
DS-5 Debugger itself is fine for debugging Linux or Android applications.
DSTREAM (the hardware unit) is not intended for Linux application debug though, so typically you'd connect over serial or USB, rather than having a debug unit connecting over JTAG.
That's correct. To debug Linux applications, you can still use DS-5 Debugger, but it would be a connection via gdbserver.