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)
- 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}
- Location
- On Windows
- Location
Code: Select all
${workspace_loc:/firmware/tools/FirmwareLoader.exe}
- Arguments 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
Code: Select all
"${project_loc}/${config_name:firmware}/firmware.sgl"
- Arguments
Code: Select all
"${project_loc}/${config_name:firmware}/firmware.sgl" DM-1801
- Arguments
- Location
- On Linux
- 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).
Cheers.
---
Daniel