AnsweredAssumed Answered

Trying to transfer example app to KL03Z. What is wrong with my workflow?

Question asked by Den Bigh on Aug 14, 2019
Latest reply on Aug 15, 2019 by Den Bigh

I have a NXP board type FRDM-KL03Z with bootloader Version 1.11 and PEMicro FRDM-KL03Z Mass Storage/Debug App ver 1.18 installed in the board's auxiliary processor.

 

Using the ARM GCC toolchain and MCUXpresso SDK 2.3.1, I have successfully built the example "hello_world.elf" file.

 

I downloaded and installed the USB driver "Windows PEDrivers_install.exe" from http://www.pemicro.com/opensda/index.cfm
Windows 7 Device Manager is showing this under Ports as "OpenSDA - CDC Serial Port (COM4)"

 

I converted the .elf file to .srec file
(Didn't know how to do this in Windows so I temporarily transferred to a Linux computer and used the following command:
arm-none-eabi-objcopy -O srec hello_world.elf hello_world.srec
Not sure if this conversion step is necessary.)

 

I then copied "hello_world.srec" to the FRDM-KL03Z board on my Windows 7 pc.

 

In Windows, I set up a terminal session on PuTTY with serial port COM4, 9600 baud, 8 data bits, 1 stop bit (no Parity, no flow control) specified.

 

When I pressed the reset button on the the FRDM-KL03Z board, I expected to see "hello world" on the PuTTY screen. But there was no response.

 

Where have I gone wrong?

Outcomes