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.
I've used Keil compilers before (C51 and for ARM7), but this is my first attempt with the Cortex M3. I have the FDI LPC1768 development board. I just want a simple "hello world" project to get me started. The sample program with the development board was designed for the uV3 environment, whereas when I purchased my Keil license it was for uV4.
I've managed to change various issues in the source code which seemed to have changed from uV3 to uV4 (one of the big ones was processor register structures have an "LPC_" prepenede). But the code won't run. I start the debugger, the PC is pointing to memory location 1FFF 0080. It always executes just 5 instructions, and on the 6th instruction it stops and returns to the editor mode. No status or error message of any kind.
I've tried making my own very simple project, same results. I've tried going over all the target and debugger settings as suggested in the documentation, and I get the same results. (I'm using the ULINK-M3 which was included in the FDI demo board kit).
Perhaps I'm just missing something obious - any thoughts?
-Chris
Thanks, I'll have at look at the SWD option. I was initially running the code without single-stepping - in fact, without any breakpoints. I just wanted to see what the demo software did. It would always quit almost immediately and return to the editor. It was then that I did single-stepping as descibed above.
I'll confirm where (after startup code) that it quits and post a followup.