I am playing with that header board for LPC2148 for a while. I was having around 2-3 project successfully compiled and build both with Eclipse/OpenOCD and Crossworks but today something strange happened.
I was in the middle of debugging (I am useing RAM debug target for faster debug) and suddenly the crossworks started to give me verify errors. I stoped debug process, restarted both target and my Olimex ARM USB OCD and then I was able to reload my program. Then after a while the RAM target again give me error, so I tried flash debug and it worked. Then after 2-3 failures my board stopped to response. The flashed program starts, I can see the LED activity, but crossworks could not identify the target anymore.
I have tried my OCD with another board and it worked, so what do you think, where is my problem…?
I had the same problem with the Olimex LPC2468 and IAR workbench. I think the problem is that the IAR can’t reset the CPU state, it’s really strange problem. what I did is I used the Flash magic tool to erase the flash, created a new project.
maybe you should test your board with another project or create a new one.
when you use the flash magic you have to setup your board to suport SPI and external reset. you may have two jumpers for this purpose. you have to setup both jumpers before you can use the flashmagic tool.
last thing to do is to config the flashmagic tool to use the DTR and RTS.
Thanks Zanak, but I use header board which does not have serial port. I was hoping that there will be a solution with my USB OCD but I still can’t find one. So in order to save my board I will need to solder one max3232…