LPC1768 Serial Bootloader

Started by rmoss, May 03, 2010, 01:22:27 PM

Previous topic - Next topic

rmoss

I have been working on a serial bootloader for the LPC1768 Eval Board from IAR by modifying the Ethernet Bootloader example from FlashMagic to ensure the Protocol is intact.  I installed a COM port monitoring tool, Portmon to look at the PC-> UART traffic during the FlashMagic download and I see the transactions between the LPC1768 and FlashMagic as follows:

? <-- From FlashMagic
Sychronized <-- From my firmware on LPC1768 Eval Board
Synchronized <-- From FlashMagic
OK <-- From my firmware on LPC1768 Eval Board

After the last OK I send I do not get any more data from FlashMagic.  In the Portmon log, I do see some handshaking going on after I send this OK.  Is handshaking required for FlashMagic when programming via COM ports?  I am using UART0 on the LPC1768 Eval Board, which has no handshaking.

The error displayed by Flash Magic is:

Unable to connect at specified baud rate. Try reducing the baud rate. (failed to autobaud - step 2) Reset teh hardware into ISP mode again.

I am connected at 9600 Baud.

Thanks

Andy Ayre

From the sounds of it you might need our consulting services to help you get your bootloader working with FM. Please contact us at support at esacademy dot com for details.
Embedded Systems Academy, Inc.
support at esacademy dot com

rmoss

That may be possible.  However, is it possible to answer the questions:
Does FlashMagic work currently using a serial interface to the LPC1768? 
Is flow control necessary?

Thanks,

Andy Ayre

Yes, LPC1768 support is fully function and no - flow control is not used.

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