Flashing SD Bootloader LPC1769 FlashMagic Issue

Hello

I am looking for some guidance on flashing the SD bootloader to a LPCXpresso LPC1769 board.

To my knowledge I have been following the instructions to the letter but flash magic is giving the error ‘Operation failed. (failed to erase block 0)’

This is the process I have followed:

Placed LPC1769 with link board removed on breadboard
Wired in a 3.3v LDO
Attached a ftdi cable as described
Wired in reset, bootloader and play pause tactile buttons

Performed the button sequence to put the board into serial bootloader mode.

In flash magic I selected ISP>Read Device Signature
This reported:

Device ID: 0x26113F37
Bootloader Ver: 4.2
Serial Number: 421073182 1398149994 1320840782 4110417923

In Flashmagic Step 1 communications

LPC1769
COM 9
Baud rate 38400
Interface : None (ISP)
Oscillator MHz 12

I am using the pre compiled hex file linked in the instructions and have checked the md5sum against the one in the repository.

I have checked the box ‘Erase blocks used by Hex File’

Can anyone spot anything I am missing. When I try and flash the hex file I get the error cannot erase block 0.

Thanks

Matt

Imported from wikidot

Update:

After a little experimentation in flash magic I decided to flash the bootloader without erasing the blocks. Flash magic completed without any errors and the SD card mounts.

I have no idea why I am unable to erase flash blocks but atleast the bootloader appears to be working.

Glad you got it working, tell us if you need help in the future.