-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Impossible to flash M2351 device from Linux PC #31
Comments
I just started trying mTower but I stuck while I tried to find a way to flash from a Linux machine. Any progress on this? I'k actually trying the OpenOCD fork from Nuvoton github but without any success still. |
I am flashing using Windows, but earlier I did it for the test using a OpenOCD in Linux. There really were some inaccuracies that needed to be corrected (unfortunately I don't remember which ones now). I'm on vacation now, but in a week I can look, maybe I can tell you what I was doing. If you succeed earlier, write please how you did it to share the experience for everyone |
Ok, I was just able to flash and configure a development setup in Ubuntu 20.04.2 LTS. This is my setup: Downloaded OpenOCD fork from Nuvoton repo: After testing everything in a command line, I jumped to the front-end IDE that I am using to debug: Eclipse Embedded CDT (C/C++ Development Tools, formerly GNU MCU/ARM Eclipse) v6.1.2 At least for now, I am debugging only the secure part of mTower (mtower_s.bin). So, I create a new OpenOCD Debugging configuration with the following setup (I'll share some screenshots): Until now, everything seems running smoothly. PS: I'm using the eclipse as a front-end, but you can easily shift for your favorite setup to debug. |
Need to make a viable way to flash device from Linux
The text was updated successfully, but these errors were encountered: