Couple of newbie questions (LPC2294)
2006-04-04 by flocheckv10
Hi, I recently bought the IAR kickstart kit for LPC2294 (came with a phytec board, PCM023 header + HD200). I hope someone can help me answer these questions.. 1. When I try the philips LPC2000 flash utility I get the error "can't communicate with target board". There are two buttons on the HD200 board, one reset and one boot. Isn't it correct that I can force the chip in ISP mode by pressing both and releasing in the order reset, boot? I have tried various communication speeds (still there is auto baud detection so shouldn't matter) and different serial cables, but the problem remains. 2. With the kickstart kit I got this J-link debugger. With this one I can start a debug session in internal flash/ram. My question here is about the program signature. Do I have to add it myself or does the J-link do that for me? The reason I ask it that if I stop the debug session and recycle the power to the board my program is not running. Tried with the Blinky sample app (simple LED flashing program). 3. When it comes to external flash (4Mb mounted on the PCM023). Lets assume I want to program this with a serial cable from a stationary computer. As I understand it right now I have to write my own flashloader that must be uploaded to internal flash/internal RAM first (by the LPC2000 flash utility for example). Then I can communicate with this new flash loader with some other serial program to write external flash. 4. What is the correct output file format from IAR for the LPC2000 flash utility. I have tried project->options->linker->output format to "intel-extended" and format variant "none" and in output file I have override default checked and changed the name to .hex. Since the flash utility does not work (see question 1) I can't say if this format will work, will it? Thanks /noob