We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I have a problem with my project, the code is running fine when debugging, men will not execute stand alone.
This is proberly a neewbie issue, so please come with all your good / bad ideas :)
Kasper
My previous question can probably be misunderstood: "Do you have any JTAG interface, or are you just downloading using serial port and then running?"
Does your program work if you download with ULINK but not work if you run without ULINK?
Note that the sample codes normally have one target where the code is compiled for running in RAM. ULINK downloads into RAM and a debugger script sets the program counter to the start of the application in RAM.
If you restart your board without the ULINK, then there will be no application to run.
The examples also has a flash target, where the application is linked for use in the flash. If you download it with the ULINK, then you can remove the ULINK and restart the board and your application will run.
Hello, thank you for your input.
I now came that long if i download the code with the ulink-me and disconnect it, turn off power and on power the board is not starting, after i make a reset on NRST the board starts up running the code fine.
How do i make the code start when i power up the device?
on NRST pin i have a 10K pull-up ressistor.
do i need to activate POR somewhere?