6 years, 4 months ago.

frdm_helloworld failed to import to MCUXpresso

hi,

The demo frdm_helloworld is working well in online compiler. Then I export it to MCUXpresso.

It can donwload to board and run, but once I press reset button, it report an error:

Can't find a source file at "/home/jenkins/build_node_4_1/workspace/bm_wrap/1701/mbed-os/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_GCC_ARM/startup_MK64F12.S"

Does anyone else have simliar issue?

Thanks.

Question relating to:

The Freedom-K64F is an ultra-low-cost development platform for Kinetis K64, K63, and K24 MCUs.

1 Answer

6 years, 4 months ago.

Hi Jie,

It looks like there is an issue between the version of Mbed present within the frdm_helloworld project and the current Mbed 2 build tools and exporter scripts. Please try the following steps to fix this issue:

  1. Open your online compiler and open the frdm_helloworld project
  2. Right click on mbed and select "Delete..."
  3. Right click on the frdm_helloworld project name and hover over "Import Library..." and select "From URL ..."
  4. Copy and paste the following link into the "Source URL" field (this is the latest build of Mbed OS 2): https://os.mbed.com/users/mbed_official/code/mbed/builds/a7c7b631e539
  5. Click "Import"
  6. Now re-export your project to MCUXpresso by right clicking on your project name and selecting "Export Program..."
  7. Remove your existing frdm_helloworld project from the MCUXpresso IDE and import your newly downloaded project export

You should now be able to successfully debug your frdm_helloworld program within the MCUXpresso IDE on the K64F board.

Please let me know if you have any questions!

- Jenny, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!