How can I download a .s19 firmware to a TWR-K21F120M board without using IAR Embedded Workbench

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

How can I download a .s19 firmware to a TWR-K21F120M board without using IAR Embedded Workbench

1,457 Views
norbertkleining
Contributor I

I am searching for a possibility to download a program written in the IAR Embedded Workbench with a .s19 or .srec suffix to a Demo Tower TWR-K21F120M without using the IAR Workbench.

In the IAR Workbench I used the PEMICRO Connection Manager Dialog to do the downloads.

I have searched in Google but I could not find a solution to do so without IAR.

Labels (1)
0 Kudos
5 Replies

944 Views
norbertkleining
Contributor I

Hello,

Thanks to all!

I have purchased a Jlink 19-Pin Cortex Adapter. We already had a JLinkPro from Segger in our office.

This is the best combination. Flashing and Debugging is damn fast.

This is the adapter:

http://at.farnell.com/segger/8-06-00-j-link-19-pin-cortex-m-adapter/adapter-j-link-19-pin-cortex-m/d...

It can be used with the K21F120M and JLinkPro.

Kind regards.

0 Kudos

944 Views
yasuhikokoumoto
Senior Contributor I

Hello Norbert,

why did you abandon the PEMICRO Connection Manager Dialog?

Does it mean that you had used OpenSDA bootloader?

Is it correct?

If it is correct, you can download .s19 or srec file via USB MSD windows, by dragging and dropping the file.

Best regards,

Yasuhiko Koumoto.

0 Kudos

944 Views
mjbcswitzerland
Specialist V

Norbert

Why not use the Flash utility in CodeWarrior? It handles binary or SREC files.

Or you can install a boot loader and load SREC files via a UART (µTasker Kinetis TWR-K21F120M support )

Regards

Mark

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

K21: µTasker Kinetis TWR-K21F120M support / µTasker Kinetis TWR-K21D50M support

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

0 Kudos

944 Views
ivadorazinova
NXP Employee
NXP Employee

Hello Norbert Kleininger,


please, did you try it with USBDM? USBDM: USBDM/CF (combined Coldfire V2,3,4/DSC/Kinetis BDM) for JS16

You can download it USBDM | SourceForge.net

Install it, run the flasher, choose the .srec file and flash it.

Best Regards,

Iva

0 Kudos

944 Views
norbertkleining
Contributor I

Hello,

I have installed the USBDM_4_10_6_250a_Win.msi and

also the USBDM_Drivers_1_3_0_Win_x64.msi

Then I switched on the board and plugged it to my PC via the Power/OSJTAG Micro USB cable.

When I tried to start the "Firstlevel JS16 Bootloader" it says that it does not find any device to flash it to.

I guess the buest solution for flashing our software is to use JTAG/EZPORT Connector on the board.

We have a Segger JLink Pro but the plug doesn´t fit the small 20pin JTAG/EZPORT on the TWR-K21F120.

Is there any adapter available ?

Kind regards,

Norbert

0 Kudos