Thursday, May 24th 2018, 10:08am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Nov 28th 2017

Posts: 5


Wednesday, December 6th 2017, 4:26pm

[SOLVED] 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: 1,053


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,
Please read the forum rules before posting: Forum Rules

Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support contact us per e-mail.
The following contact form can be used for this: