Dear all, Hi
I am using LPC1768 for a while now and I have always used J-TAG to program it. In my new project I need to use ISP procedure. I read the user manual but everything is vague and frustrating there about ISP. It did not even give me a head-start.
I was wondering if any of you have used ISP to place a program on the flash memory of microcontroller. please help me figure out what do I need to do.
With warmest regards
www.flashmagictool.com/.../ISPHardwareEntryAppNote.pdf
One way to use ISP seems to be very easy is to hook to com0 on Keil boards. Because the ISP controlling circuit is designed on that port. Flash Magic tool can program the device using the ISP mode. Looking at the flash magic software it mentions NXP processors but can see anything about other manufacturer products.
www.nxp.com/.../AN10744_Ethernet_Bootloader.zip
AN10356 Entering ISP mode from user code www.nxp.com/.../AN10356.pdf
www.lpcware.com/.../an10337-adding-isp-firmware-lpc900-software-project
Thanks a lot for your help and the links. Those were really great.
But I still do not know where to start developing a program that can be used to read a hex file and transfer it to the flash memory of the microcontroller. To be more specific I need to develop a program with say C# for example to perform a task similar to that of flash magic.
Here is one more: www.lpcware.com/.../an10302-using-philips-lpc2000-flash-utility-keil-mcb2100
If you aren't interested in buying FlashMagic (there are versions intended for automatic programming) then it's time for you to connect a RS232 sniffer cable and compare the action performed by FlashMagic with the documentation NXP have released. There are enough information released to write your own software - but I think most companies pays for the FlashMagic route since it saves time.
Yes, thanks for your help. You too Gary.
I read the manual very carefully and have a clue where to start. Whenever the ISP mode is requested, the auto-baud operation is raised. All you need to do is to send synchronization signal "0xF3" and wait for response. If everything is OK you proceed to the next step. It is a good place to begin with.
I am configuring the required hardware to start in system programming using my own code. If any news comes up, I will share with you.
Hi Mr. Reza,
i'm doing a same Project and face a problem, need to talk to someone about it. can you please contact me if you can.
alivdel@yahoo.com
thanks