When will KW2x be supported with KBOOT?

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

When will KW2x be supported with KBOOT?

1,026 Views
ChrisDarrow
Contributor III

I had hoped the KBOOT v1.2 release would include support for KW2x. Unfortunately, it was not one of the supported devices, according to the table - Kinetis Bootloader|Freescale

Will KW2x be supported by KBOOT sometime in the near future? Is there a published plan for if/when KW2x will be supported?

Thanks.

Labels (1)
Tags (1)
4 Replies

752 Views
mjbcswitzerland
Specialist V

Hello Chris

Kboot UART/USB mode (as well as USB-MSD, UART SREC and Developer's Serial Loader modes, or SD-card loading) are available in the uTasker Serial loader:

µTasker Kinetis support

Today the KW21 and KW24 versions haven't been released but should be available shortly.

Regards

Mark

Kinetis: µTasker Kinetis support

Serial Bootloader (Ethernet, USB, MSD, KBOOT, AN2295, SREC, SD-card): KBOOT Loader Compatibilty and extra features  / http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF

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

0 Kudos
Reply

752 Views
mjbcswitzerland
Specialist V

!Hi All

I have attached binaries for the TWR-KW21D256 and TWR-KW24D512s which are built for KBOOT UART (57'600Baud) on the Virtual COM interface. A second one for the TWR-KW24D512 also includes KBOOT USB and USB-MSD composite. The application address is 0x8000 for the UART alone ones (0x8080 for the one with USB-MSD) and the application size if limited to 96k.

However, the code hasn't been tested on the HW - only simulated in the uTasker KW simulator (which hasn't been fully verified yet).

The UART only ones use the defaut clocking (20.9715MHz) for best chances of operation (the RF modem is held in reset). Due to the USB requirement, the one with USB uses the RF Modem's CLK_OUT as reference and 48MHz PLL operation. This configuration is more likely to fail since the setup was performed from the manual's description alone and is completely new.

When successfully operating the blue LED (D5) will blink at 5Hz. To force the loader mode, hold down SW1 at reset.

Since I am travelling for several weeks (with a load of boards for support work but no KWs, since further development was planned for in September) I will not test the operation on HW until after return. In case any one does test and finds that there is a problem just contact me for complete code (builds with CW, KDS, IAR, Keil, Greenhills, Atollic, Rowley Crosworks and CooCox as well as VS based simultor) since it should be quite simple to solve any remaining issue (there is not that much different in a KW to a typical K series device).

There is a screen shot of the simulator in operation below - if the binary does work it will of course be a good advertisement for the simulator ;-)

pastedImage_2.png

Regards

Mark

Kinetis: µTasker Kinetis support

Serial Bootloader (Ethernet, USB, MSD, KBOOT, AN2295, SREC, SD-card): KBOOT Loader Compatibilty and extra features  / http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF

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

0 Kudos
Reply

752 Views
mjbcswitzerland
Specialist V

Hi All

In the meantime the TWR-K21D256 Kboot compatible serial loader operation has been confirmed. The binary has however been modified to run from the modem's 32MHz oscillator since the internal low frequency source turned out to be inaccurate.

Attached is a simple test application too (load with KBOOT's Kinetis Updater via OpenSDA VirtualCOM port using base address 0x8000) - when it runs it blinks the first blue LED at 2.5Hz and there is a menu on the same serial connection at 115'200 Baud.

Regards

Mark

Kinetis: µTasker Kinetis support

Serial Bootloader (Ethernet, USB, MSD, KBOOT, AN2295, SREC, SD-card): KBOOT Loader Compatibilty and extra features  / http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF

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

0 Kudos
Reply

752 Views
mjbcswitzerland
Specialist V

Hi All

Now also the TWR-K24D512 loader has been verified. The TWR-K24 one supports both UART and USB KBOOT loader.

Attached is a test application (blinks the first LED at 2.5Hz and there is a menu on the UART OpenSDA virtual COM port - the USB application interface is USB-CDC device and requires the attached driver (32 bit or 64 bit versions), after which it will also show the menu on its connection or allow USB-UART bridge operation).

To load with KBOOT use a base addess of 0x8080.

Therefore the uTasker serial loader, including KBOOT [UART, USB] compatibility, has been confirmed to now be ready for use with the KW2x parts (as well as K, KL, KV, KE and KEA).

Regards

Mark

Kinetis: µTasker Kinetis support

Serial Bootloader (Ethernet, USB, MSD, KBOOT, AN2295, SREC, SD-card): KBOOT Loader Compatibilty and extra features  / http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF

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