Hi Soren, I'm using a 2294 and program flash via JTAG. I make use of the tool chain's ability to open files on the PC via the debugger/JTAG connection, i.e., using "semi-hosting". The basic approach is to write a (C/C++) program that performs the following steps (error checking, etc omitted): - open a file on the host - read data from the debugger/host file into a buffer - as needed, erase a flash sector using IAP call - write the buffer to the correct offset within the current sector using IAP call - repeat until end of file or end of flash space The program descibed above is loaded into RAM with the debugger and executed. On program completion, the part's flash is programmed. Regards, Tom --- In lpc2000@yahoogroups.com, "soren_t_hansen" <soren_t_hansen@y...> wrote: > Is it possible to upload ones program to the flash memory of a LPC2132 > through the JTag interface? > I'm using a Chameleon POD JTag Interface and OCDRemote, in combination > with Eclipse. > > I know that it is possible through Keil micro Vision, but as I'm using > C++, this is not an option. > > Is it completly undoable or does a workaround exist? > > Regards > Søren
Message
Re: Flash upload via JTag
2005-05-23 by tom_laffey
Attachments
- No local attachments were found for this message.