Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rmoss

#1
ARM Cortex / Re: LPC1768 Serial Bootloader
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,
#2
ARM Cortex / LPC1768 Serial Bootloader
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