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.
How to config the MKE18F512VLL16 to use the KinetisFlashTool?
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.
Hi 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