AnsweredAssumed Answered

K60 Bootloader AN4368

Question asked by Mario Ruetti on Jun 20, 2014
Latest reply on Oct 11, 2014 by Mario Ruetti

Hi

 

I would like to test the USB bootloader on my TWR-K60D100M+TWR-SER. I'm using CW 10.2 and MQX 3.8.

I have the AN 4368 and the associated example projects (kinetis_k60 and mfs_usb_twrk60n512). The good think is that I can compile both examples w/o errors. The bootloader itself is running too and it is possible to insert an USB stick and to get an image copied (mfs_usb_twrk60n512). But the copied image doesn't work. I only get the message "User application is running..." but nothing happens.

The strange thing is that if I'm using the pre-compiled example (mfs_usb_twrk60n512) everything is working well. This leads me to the conclusion that the bootloader itself is ok.

 

I changed the applications intflash.lcf file to

MEMORY

{

   vectorrom   (RX): ORIGIN = 0x00010000, LENGTH = 0x00000400

#   cfmprotrom  (R): ORIGIN = 0x00010400, LENGTH = 0x00000020

   rom         (RX): ORIGIN = 0x00010420, LENGTH = 0x0006FBE0  # Code + Const data  

   ram         (RW): ORIGIN = 0x1FFF0000, LENGTH = 0x00020000  # SRAM - RW data

...

 

What do I miss???

 

Thank you

Mario

Outcomes