Using FM to ISP a large hex file

Started by bausin, May 07, 2008, 11:25:49 AM

Previous topic - Next topic

bausin

Hi,

I'm trying to figure out how to use FM to load a 1 MByte FPGA config file. I'm using an LPC2378 that needs to load a serial flash over the SPI bus. The problem is that the file is too large to simply store in on-board flash and transfer to serial flash later. Do I need to write my own bootloader code to interact with FM?
All suggestions welcome.

Thanks,
Steve

Andy Ayre

Yes. The factory bootloader only supports writing to on-chip flash.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

bausin

Andy,

Have you got any suggestions on using FM to interact with custom bootloader code? For example, is it feasible to have FM execute the GO command to run my bootloader and then continue to push a hex file down to my bootloader? Or am I doomed to have to write both sides of the file transfer?

Thanks for your help,
Steve

Andy Ayre

You can create a batch file to issue Flash Magic commands in sequence. So you could follow a GO command with a delay then a hex file.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com