Page 1 of 1

[MCUXpresso]: Flashing from MCUXpresso under Linux and Windows

Posted: Sun Mar 01, 2020 8:15 pm
by F1RMB
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 2479 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 2479 times

Cheers.
---
Daniel

Re: [MCUXpresso]: Flashing from MCUXpresso under Linux

Posted: Sun Mar 01, 2020 9:46 pm
by VK3KYY
Cool.

Thanks for sharing.

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

Posted: Mon Mar 02, 2020 3:46 am
by F1RMB
Updated with intructions under Windows

Cheers.
---
Daniel