how to make my code running without connect the JTAG?

Hi!

i have ARM JTAG from Olimex.

when i debugging with JTAG to my board (LPC2138), it’s worked.

but when i release JTAG from my PC, the code it’s not working.

it’s JTAG only for debugging and must connect with my PC to make it worked?

how can i make my code running even i released my JTAG?

thx.

May be your board enters the ISP mode after reset, probably there is a jumper to make it boot on the user code.

It depends on the tools you are using.

Leon

leon_heller:
It depends on the tools you are using.

Leon

i’m using OLIMEX LPC2138 and Rowley Crosswork…

It’s in the Rowley FAQs on their web site. You need STARTUP_FROM_RESET.

Leon

leon_heller:
It’s in the Rowley FAQs on their web site. You need STARTUP_FROM_RESET.

Leon

did you mean the startupcode->properties->predifinition preprocessor? it’s already STARTUP_FROM_RESET.

but still can’t work, if i released JTAG…

Make sure you added it to the correct file.

Look at the notes in the FAQ, they might help with troubleshooting.

Leon

I´ve got exactly the same problem, x-ray, do you, or enyone else, have found the problem?

Check the FAQ.

Leon