LPC1768 Flashing from another UART port

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1768 Flashing from another UART port

871 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jeshwanth on Tue Mar 03 23:12:06 MST 2015
Hello,

I am flashing my code through Flash Magic over UART0, just wanted to know whether I can Flash it over other UART ?

If I understood correctly, the boot ROM is configured to receive data from UART0. How can we configure to receive data from other UARTs ?

Thanks in Advance

Regards,
Jeshwanth
Labels (1)
0 Kudos
4 Replies

727 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jeshwanth on Thu Mar 05 22:45:36 MST 2015
Thanks for the links mc :)
0 Kudos

727 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jeshwanth on Thu Mar 05 22:45:10 MST 2015
Thanks Mike, got it. Secondary bootloader is way to got for 1768.

Thanks

Regards,
Jeshwanth
0 Kudos

727 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Thu Mar 05 10:27:00 MST 2015
Hi jeshwanth
As mentioned by Mike you will need a secondary bootloader. I think below application notes may be helpful

http://www.lpcware.com/content/nxpfile/an11258-i2c-secondary-boot-loader
http://www.lpcware.com/content/nxpfile/an11257-spi-secondary-boot-loader
http://www.lpcware.com/content/nxpfile/an10866-lpc1700-secondary-usb-bootloader
0 Kudos

727 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Wed Mar 04 10:55:21 MST 2015
Basically, using the ISP commands in the Boot ROM (which is what FlashMagic uses) ONLY accepts
input on UART 0.

So you are stuck.

[Note: some 1700 have the possibilty of routing UART 0 tx and rx
to different physical pins e.g. the 1778/1788; The Boot ROM configures SPECIFIC pins. See the
appropriate user manual; Just a gotcha  warning.]

However, if you write your own boot block you can, of course, select any UART, CAN etc. you want.
But you will have to write the complete code for that.

Search the forum with terms such as "secondary boot loader" or "bootloader" Etc.

Cheers, Mike
0 Kudos