Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: pedrow on June 04, 2009, 02:33:02 AM

Title: LPC2468 Stays in bootloader mode
Post by: pedrow on June 04, 2009, 02:33:02 AM
I am using Flash magic 5.00 on an Embedded Artists LPC2468 board. I am transferring a uboot image which I got from the EA site. Everything seems to work OK, I can program and verify the image, but the processor stays in bootloader mode after reset.

When I do "Save As..." to fetch the data from the flash and compare it to the original, the four bytes at 0x00000014 are zero in my re-fetched version and non-zero in the original hex file. So it looks like Flash Magic is zero-ing these bytes, which the processor uses as a checksum to determine whether valid code is loaded in flash. That would explain why it stays in bootloader mode.

I've tried other .hex files and the same thing happens, the valid checksum is replaced by zero - however the transfer always validates OK in flash magic.

What am I doing wrong?

Pedrow
Title: Re: LPC2468 Stays in bootloader mode
Post by: pedrow on June 04, 2009, 03:02:12 AM
Just to add to this, I used a command line utility lpc21isp and worked perfectly so I don't think the problem is my board or my .hex file.
Title: Re: LPC2468 Stays in bootloader mode
Post by: arrass on June 04, 2009, 06:50:18 AM
Try with the new Version 5.01. We had the same problems. After update to 5.01, the problems are gone.
In the release note they say the following

Version 5.01
------------
- Fixed bug in ARM 7 driver that stopped code from executing after being programmed.




Title: Re: LPC2468 Stays in bootloader mode
Post by: pedrow on June 09, 2009, 05:02:51 AM
Yes, that version 5.01 fixed it. Apologies for the delay, I've been too busy to risk making my board unbootable again until now!

P.