USB Bootloader that works for TWR-K60D100M

cancel
Showing results for 
Search instead for 
Did you mean: 

USB Bootloader that works for TWR-K60D100M

393 Views
Deejay
Contributor III

Hi,

I am looking for the USB bootloader that works with the latest version of the tower board (TWR-K60D100M).

It can be based on either AN4379 or AN4368 or a different one. CW10 or IAR please.

Thanks.

Devan

0 Kudos
5 Replies

43 Views
isaacavila
NXP Employee
NXP Employee

Hello Devan,

Attach you can find bootloader for TWR-K60D100M based on AN4368.

If you have any doubt please let me know it.

I hope this can help you.

Best Regards,

Isaac

----------------------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------------------

0 Kudos

43 Views
keetle
Contributor III

Thank you for your warmhearted! I download your project, but it error.

20151013150624.png

0 Kudos

43 Views
isaacavila
NXP Employee
NXP Employee

Hello Keetle

Which CW version are you using? I have tested it on CW 10.6 and CW 10.3 and it was compiled correctly!

Regards,

Isaac

0 Kudos

43 Views
keetle
Contributor III

I am using KDS3.0, not a CW version, so it is the problem.

Thank you for your help.:smileyhappy:

0 Kudos

43 Views
mjbcswitzerland
Specialist V

Hi

Both USB-MSD device and USB-MSD host loaders are available in the uTasker serial loader project. TWR-K60D100M versions are at:

http://www.utasker.com/kinetis/TWR-K60D100M.html

This is not two different projects but a single one where the host or device mode is configured by a single project define.

The USB mode can also be combined with UART, SD card, Kboot compatible UART/USB-HID or Ethernet loaders simply be enabling or disabling the appropriate defines.

It works on all K, KL and KV boards with USB host support so doesn't require porting between devices. The project also builds with most IDEs (CW, KDS, IAR, Keil, Crossworks, CooCox, Atollic, Green Hills etc.) so again is not restricted to a certain environment.

The USB-MSD host is a recent addition to the project's capabilities and an automatic device/host mode is foreseen shortly, whereby the loading works either by connecting the board to a PC host (device mode) or by plugging in a memory stick (host mode) and the corresponding operation is detected and configured accordingly (on-the-fly). Potentially also cloning software between two boards by connecting them together (OTG).

The operation can also be simulated in VisualStudio using the uTasker Kinetis simulator, which allows fastest developments coupled with exceptional software auditing and maintenance capabilities.

Below is an example of the the USB-MSD output during operation (on TWR-SER RS232 interface) with a typical memory stick.

Regards

Mark

 uTasker Serial Loader
=======================
[0x00008080/0x00022fff]
bc = blank check
dc = delete code
go = start application
>
> USB FS device detected
USB device information ready:
USB2.0 device with 64 byte pipe
Vendor/Product = 0x0781/0x5406
Manufacturer = "SanDisk"
Product = "U3 Cruzer Micro"
Serial Number = "43172009D7514E7"

Bus-powered device (max. 100mA) with 1 interface(s)
Mass Storage Class : Sub-class = 0x06 interface protocol = 0x50
Endpoints:
1 = BULK IN with size 64
2 = BULK OUT with size 64
Enumerated (1)
LUN = 2
UFI INQUIRY -> Status transport - Passed
UFI REQUEST SENSE -> Status transport - Passed
UFI FORMAT CAP. -> Stall on EP-1
EP-1 cleared
Status transport - Failed
UFI FORMAT CAP. -> Stall on EP-1
EP-1 cleared
UFI FORMAT CAP. -> Status transport - Passed
UFI READ CAP. -> Status transport - Passed
Mem-Stick mounting...
Disk E mounted

Kinetis: http://www.utasker.com/kinetis.html

Serial Bootloader (Ethernet, USB, MSD, KBOOT, AN2295, SREC, SD-card): http://www.utasker.com/forum/index.php?topic=1873.msg6796#msg6796 / http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF

For the complete "out-of-the-box" Kinetis experience and faster time to market

:smileyinfo: Out-of-the-box boot loader support for 46 Kinetis boards, 8 modes and 10 IDEs (over 15'000 combinations from a single code source with no porting required)

0 Kudos