This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problem starting the application

Hi Guys
I'm working with LPC17xx(on a custom board) along with uvision v4.03 and my JTAG debugger is Segger j-link. The problem is when I download my program(through jlink) It does not start executing unless I enter debug mode and manually tell the debugger to run.i.e the program doesn't start executing on reset(without the debugger). I'm afraid its a hardware problem because when I download the same program with the exact same config to another board(again a custom designed board) I don't see the problem.
I would really appreciate your help. Am I missing something?

PS:Also after downloading the code, when in Project - Options for Target - Debug ,I enter the debugger setting (and uVision communicates with JTAG) the program start executing !

Parents
  • Hi Tamir,
    Thanks for your reply. No The Xtall and power are ok. I think the problem is due to JTAG connection.As I said when I download the code on the flash and then reset the board, the application wont start(As if the core is halted or something) but as soon as I issue the debug 'go' command the program starts running perfectly.On another board, The very same configuration doesn't cause this problem.
    I would be grateful if anybody tells me what HW steps are done by the debugger on the cortex core.

Reply
  • Hi Tamir,
    Thanks for your reply. No The Xtall and power are ok. I think the problem is due to JTAG connection.As I said when I download the code on the flash and then reset the board, the application wont start(As if the core is halted or something) but as soon as I issue the debug 'go' command the program starts running perfectly.On another board, The very same configuration doesn't cause this problem.
    I would be grateful if anybody tells me what HW steps are done by the debugger on the cortex core.

Children
No data