How to make a bootloader via ethernet ?

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

How to make a bootloader via ethernet ?

2,800 Views
danilolima
Contributor II

I'm doing a program that does the following: The principle is recorded a program that needs to be updated in the future , but this update will be made via ethernet using bootloader . I use the MCU frdm k64f . And I need help with this, because I do not know if it's really possible to do.

Labels (1)
0 Kudos
8 Replies

2,117 Views
danilolima
Contributor II

I thank you for trying to help me . But it happens that I need to "produce" my program within the Kinetis platform , and while I'm having some problems in the read-write flash memory , where I desire to work . If possible I would like to help me in the sequence of steps required to perform the entire procedure , from start to execution. Because I need that my program itself off when you receive a new "package" via ethernet .

0 Kudos

2,117 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

There is an application note about Kinetis Ethernet Bootloader.

pastedImage_1.png

Below is related software source code.


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,117 Views
danilolima
Contributor II

Thanks for the material, will help me a lot . However still need an example to write to flash memory within the codes in Kinetis.Este can be performed by any MCU , preferably K64F FRDM . For now I'm focused on the recording of flash memory, but it shows some errors when I try to use the functions. If possible, I would like to send me a sample code that actually handles the flash memory.

0 Kudos

2,117 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

Please refer Kinetis Flash driver software, which include Flash command operation example.


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,117 Views
danilolima
Contributor II

Sorry, but I found nothing in the material that makes reference to this need. Sorry keep bothering you, but I need some example to read, write and delete data in the flash memory .He may be the most basic program in the world , making this already will help me a lot .

0 Kudos

2,117 Views
bobpaddock
Senior Contributor III

I posted code in this thread that may be what you are looking for:

https://community.nxp.com/message/809161?commentID=809161 

You need to be logged in to see the attachments.

0 Kudos

2,117 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

I would recommend customer to refer FNET Embedded TCP/IP Stack software, which provides Ethernet bootloader for K64 chip.


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,117 Views
mjbcswitzerland
Specialist V

Hi Danilo

See http://www.utasker.com/kinetis/FRDM-K64F.html and the software
"Serial Boot Loader with Ethernet Web Server, USB-MSD, KBOOT-USB-HID, UART SREC"
This includes Ethernet loading for the K64 and a kit to do any custom types if needed.

Regards

Mark

0 Kudos