Flash Magic Forum

In-System Programming Support => ARM Cortex => Topic started by: rmoss on May 03, 2010, 01:22:27 PM

Title: LPC1768 Serial Bootloader
Post by: rmoss on May 03, 2010, 01:22:27 PM
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
Title: Re: LPC1768 Serial Bootloader
Post by: Andy Ayre on May 03, 2010, 07:59:02 PM
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.
Title: Re: LPC1768 Serial Bootloader
Post by: rmoss on May 04, 2010, 06:53:51 AM
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,
Title: Re: LPC1768 Serial Bootloader
Post by: Andy Ayre on May 04, 2010, 09:00:39 AM
Yes, LPC1768 support is fully function and no - flow control is not used.

Andy