LPC54606 firmware update with Ethernet

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC54606 firmware update with Ethernet

590 Views
mpazzi
Contributor III

Good morning,

I ask help to you for development an update firmware through Ethernet. How I can do ?

I should implement UDP protocol ? There are some example code ? Any idea for made this..

Your help would be appreciated.

Thanks a lot

Marco

Labels (1)
0 Kudos
5 Replies

476 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Marco Pazzi ,

You can refer to the Ethernet demo under SDK, then add some flash erase, flash program APIs refer to your bootloader

requirement.

pastedImage_1.png

Download SDK from:

https://mcuxpresso.nxp.com/en/select 

Regards

Alice

0 Kudos

476 Views
mpazzi
Contributor III

Hi ALice,

thanks for your help.

I've already implemted tcp-modbus server using demo code.

Now I need to implement a bootloader from ethernet, I see that the link used is based on UDP server, but I don't know extactly how to implement that. I ask NXP help with some example usefull.

What you mean " ....then add some flash erase...." or " ...flash program APIs...", it sound like more or less.

Thaks a lot for your preciusos help.

Best Regards

Marco

0 Kudos

476 Views
Martin3xS
Contributor III

Hi Marco,

There was an AN10744 back in 2008 that describes an Ethernet-Bootloader for the LPC23xx ( adapted for the LPC17xx/LPC18xx/LPC43xx ). You can still find this Documentation when You install FlashMagic ( Flash Magic - Welcome ) in the Bootloaders\Ethernet folder.

But as this is very old there are non security measurements implemented!

Martin

0 Kudos

476 Views
mpazzi
Contributor III

Hi Martin,

thanks for your reply. I take a look about you suggest, but it look like different for LPC54606, and different from UDP example for LPC54608 demo board.

Actually I'm trying to implement the TFTP protocol based over UDP, but is not so easy.

Do you have any suggestion or idea ??

Thanks a lot

Best regards

Marco

0 Kudos

476 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Marco,

OK, I know your meaning, please refer to 

https://www.nxp.com/docs/en/application-note/AN12384.pdf  

this is a secondary bootloader based on UART, while the program firmware (flash program APIs)

is the same, recommend you have a look.

And you can find the source code in:

https://www.nxp.com/docs/en/application-note-software/AN12384SW.zip  

Hope it helps,

Regards,

Alice

0 Kudos