Kinetis Bootloader and .sd file troubles

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Kinetis Bootloader and .sd file troubles

953 次查看
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 项奖励
回复
2 回复数

776 次查看
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 项奖励
回复

776 次查看
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 项奖励
回复