AnsweredAssumed Answered

Bare metal application on i.MX6UL and debug tooling

Question asked by Michael Haemelinck on Nov 24, 2015
Latest reply on Nov 24, 2015 by Sinan Akman

Hello,

 

I'm working on a bare metal application on the i.MX6UL using the MCIMX6UL-EVK as starter kit, DSTREAM as debugger and ARM DS-5 development studio as IDE.

It is important for me to be able to step through the startup code as in the near future the project will transition to another board, with other external RAM, flash and so on...

However, when performing a default reset, the connection with the debugger is lost.

This is of course not what I want. I would like to be able to jump into the startup code (having CPU registers in their default values) and step through.

 

DSTREAM and DS-5 development studio support writing of a reset script. But in order to prevent the loss of the debugger connection, I would need to know which steps are to be performed to achieve the above behavior.

 

If anyone can help me out in this aspect, just a description of the steps, that would be greatly appreciated.

 

Thanks.

Outcomes