[MCUXpresso]: Flashing from MCUXpresso under Linux and Windows

Discussions related to the firmware code development
Post Reply
User avatar
F1RMB
Posts: 2517
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

[MCUXpresso]: Flashing from MCUXpresso under Linux and Windows

Post by F1RMB » Sun Mar 01, 2020 8:15 pm

Hi,

I wanted to share this long ago, so here it is.

For the ones compiling their firmware under Linux, you can flash your GD-77 from the MCUXpresso IDE:
  • Select "External Tools Configurations.." from the toolbar (click on the down arrow)
    External_tools-Eclipse.png
    External_tools-Eclipse.png (15.11 KiB) Viewed 2408 times
  • In the newly opened window, click on the "New launch configuration" icon (the one on the left)
  • On the right side of this window, give this launcher a name, then copy and paste the following
    • On Linux
      • Location

        Code: Select all

        ${workspace_loc:/firmware/tools/FirmwareLoader}
      • Arguments

        Code: Select all

        ${project_loc}/tools ${project_loc}/${config_name:firmware}/firmware.sgl ${config_name:firmware}
    • On Windows
      • Location

        Code: Select all

        ${workspace_loc:/firmware/tools/FirmwareLoader.exe}
      • Arguments

        Code: Select all

        "${project_loc}/${config_name:firmware}/firmware.sgl"
        If you want to be able to flash a DM-1801, add another Tool entry, give it a specific name, use same Location and set Argument as
        • Arguments

          Code: Select all

          "${project_loc}/${config_name:firmware}/firmware.sgl" DM-1801
  • Click "Apply" button, you're done. On Windows, it seems you need to click on "Run" button to make it appear in the tool list, or, go the "Common" tab, then check "External Tools" in the "Display in favorites menu", then "Apply", then uncheck it and re-apply. Phew...

Now, the new entry has been added to the External Tools list.

Just select the newly created entry from the list the first time you want to use it, the next time you can only click on the icon to flash your GD-77 (see the icon below).
ext_tool_icon.png
ext_tool_icon.png (1.18 KiB) Viewed 2408 times

Cheers.
---
Daniel

VK3KYY
Posts: 7478
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: [MCUXpresso]: Flashing from MCUXpresso under Linux

Post by VK3KYY » Sun Mar 01, 2020 9:46 pm

Cool.

Thanks for sharing.

User avatar
F1RMB
Posts: 2517
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: [MCUXpresso]: Flashing from MCUXpresso under Linux and Windows

Post by F1RMB » Mon Mar 02, 2020 3:46 am

Updated with intructions under Windows

Cheers.
---
Daniel

Post Reply