KinetisFlashTool for KE18F

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

KinetisFlashTool for KE18F

1,435 Views
lifeng
Contributor II

The Kinetis bootloader is the program residing in the on-chip read-only memory (ROM)
of a Kinetis microcontroller device. There is hardware logic in place at boot time that
either starts execution of an embedded image available on the internal flash memory, or
starts the execution of the Kinetis Bootloader from on-chip ROM.

• FOPT [7] is set to 1. This forces the ROM to run out of reset.
• The BOOTCFG0 pin is asserted. The pin must be configured as BOOTCFG0 by
setting the BOOTPIN_OPT bit of FOPT to 0.
• A user applications running on flash or RAM calls into the Kinetis Bootloader entry
point address in ROM, to start Kinetis Bootloader execution.

pastedImage_1.png

pastedImage_2.png

How to config the MKE18F512VLL16 to use the KinetisFlashTool?

Labels (1)
0 Kudos
Reply
2 Replies

1,208 Views
lifeng
Contributor II

For  TWR-KE18F,  connect  the usb port to computer. Then select  the UART port which create by the openSDA serial and debug adaptor, press the reset button and sw2 button(PTD3,NMI, BOOTCFG0), release reset button and hold sw2 pressing and click the Connect button. The tool will try to connect to the board. Baudrate is not important.

0 Kudos
Reply

1,208 Views
jingpan
NXP TechSupport
NXP TechSupport

temp.pngHi Li,

If you use TWR-KE18F, just connect  the usb port to computer. Then select  the UART port which create by the openSDA serial and debug adaptor, press the reset button, and click the Connect button. The tool will try to connect to the board. Baudrate is not important.

If you use your own board, you should connect your computer to the LPUART port which list on page 565 in reference manual.

If the connection can't established, you can make a full erase. Then it will be ok.

Regards,

Jing

0 Kudos
Reply