Author Topic: LPC1768 Serial Bootloader  (Read 13290 times)

rmoss

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
LPC1768 Serial Bootloader
« 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
« Last Edit: May 03, 2010, 01:33:27 pm by rmoss »

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC1768 Serial Bootloader
« Reply #1 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.
Embedded Systems Academy, Inc.
support at esacademy dot com

rmoss

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: LPC1768 Serial Bootloader
« Reply #2 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,

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC1768 Serial Bootloader
« Reply #3 on: May 04, 2010, 09:00:39 am »
Yes, LPC1768 support is fully function and no - flow control is not used.

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