Kinetis Bootloader and .sd file troubles

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

Kinetis Bootloader and .sd file troubles

691 Views
ashesman
Contributor III

Hi,

I am using the Kinetis bootloader 2.0.0 package.  I have built the led_demo_freedom_a000 example.  I have used elftosb.exe to make a .sd file.  I have built and installed the freedom_bootloader on a K64F freedom board.  The MSC is working as it opens a file dialog on my PC.  When I drop my .sd file onto the window, the bootloader sees it and steps out of waiting for a peripheral.  But then it does nothing!!!

I am using the command file shown below and the command line:

elftosb.exe -c cmd.txt -o led_demo.sd

sources {
myElfFile = "led_demo_freedom_a000.elf";
}
section (0) {
erase all;
load myElfFile;
reset;
}

Does anybody know how to make this work.  Or have a working example of elftosb?  I am stuck!!!

0 Kudos
2 Replies

514 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Ashley Duncan,

   About this question, we already have a post about it, please refer to this post, and do it step by step:

USB MSD Bootloader Implementation 

  It works on my side.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

514 Views
mjbcswitzerland
Specialist V

Hi

In case of difficulties you can also look at the following, which allows USB-MSD (no conversion needed since it accepts binary on all Windows, MAC and Linux systems), plus can do various other methods in parallel (no porting needed since it works on all Kinetis parts and builds in 10 IDE environments so no tool restrictions). Much smaller code size too:

http://www.utasker.com/kinetis/FRDM-K64F.html

Available as open source at http://www.utasker.com/forum/index.php?topic=1721.msg7086#msg7086

Document at http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF

Regards

Mark


Professional support for Kinetis: http://www.utasker.com/index.html
Remote desktop one-on-one coaching: http://www.utasker.com/services.html
Getting started to expert videos: https://www.youtube.com/results?search_query=utasker+shorts

0 Kudos