MK22FN512 Bootloader USB Mass Storage File Too Large Error

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

MK22FN512 Bootloader USB Mass Storage File Too Large Error

672 Views
gsinde
Contributor III

I have my Bootloader running on the MK22FN512 so that Applications can be drag and dropped on to address 0xA000 in Flash. This is working and I have three *.sb files created. One was good old Blink LED Demo, the second was a console LPUART application I created, and now the third is a small FreeRTOS application that has a couple tasks and a queue sending keypad inputs across the Queue. 

When I drag and drop the latest application, Windows kicks back an error but everything appears to work. My RTOS keypad application was installed on the K22 and looks fine. Anyone else run into this error? The file is only 15.5 KB

filetoolarge.png

0 Kudos
2 Replies

570 Views
gsinde
Contributor III

I think I made have my address set incorrectly to zero (which causes a lot of weird behavior) since it is supposed to be at 0xA000. I will keep watching this but it looks like I am not seeing this error message today.

0 Kudos

570 Views
mjbcswitzerland
Specialist V

Hi Gary

If you do run into problems again you can try with the uTasker USB-MSD loader, which is available for (just about) all Kinetis parts with USB (and also works on other families). It support loading binary, SREC, HEX and has AES256 encrytion options too. Code can be read back too (with optional password protection).
It allows linking to 0x4800 (18k in size) and so saves 22k of space in comparison to USB-MSD loaders needing to be linked to 0xa000.

A few videos:
https://www.youtube.com/watch?v=MXsJvTdCcH4&list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&index=25
https://www.youtube.com/watch?v=dq-m-Dokq7E&index=28&list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q
https://www.youtube.com/watch?v=e4oFBn_M5wo


Most is available in the Open Source version on GitHub or it is also available as a supported version for professional requirements.

Regards

Mark


Complete Kinetis solutions, training and support:http://www.utasker.com/kinetis.html
Kinetis K22:
- http://www.utasker.com/kinetis/FRDM-K22F.html
- http://www.utasker.com/kinetis/TWR-K22F120M.html
- http://www.utasker.com/kinetis/BLAZE_K22.html
- http://www.utasker.com/kinetis/tinyK22.html

0 Kudos