Wednesday, December 13th 2017, 9:31pm UTC+1

You are not logged in.

  • Login
  • Register



Date of registration: Nov 28th 2017

Posts: 5


Wednesday, December 6th 2017, 4:26pm

Debugging external binary


I have had good success so far connecting a JLink to an ARM11 board and getting a flashing LED example to compile and execute on the board. I can also step through the program without any issues. I am now wondering if I can debug an externally built binary on my board. It is a small binary (less than 1k bytes) that I can flash to the RAM of the board. Since I don't have the source code though, I cannot step through the program. Is there a way where I can use the debugger to just step through the disassembly without the C or asm file? I am interested in seenig what values are saved in registers at different stages.



Super Moderator

Date of registration: Jan 2nd 2017

Posts: 454


Thursday, December 7th 2017, 9:44am

Hello szoshi,

Thank you for your inquiry.

Generally that is possible.
You can do this by simply pressing F11 (Step into) when reaching one of the library functions. Then you should land in the disassembly window where you can now step instruction wise through the disassembly code even while executing "unknown" library code.
Does this answer your question?

Best regards,