Hello
I have my metro m4 express board and I read it has a bootloader to upload code and is used with Arduino IDE.
Is it possible to use the board with Atmel studio IDE and flash the code using J-link without using arduino and bootloader and all that?
and if it's possible, how can I do it? Should I just flash the code from device programming in Atmel studio and it will just override the bootloader or what?
Metro M4 express with Atmel studio
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Metro M4 express with Atmel studio
Yes, I believe it is possible to do what you are suggesting. Remove the bootloader and use Atmel Studio + JTAG to program the Metro M4 directly. There is a pretty good thread on this from the platform IO forum (done with an Adafruit Feather M0 at the time). That would probably be a better forum to follow up as we are next well versed with that setup.
https://community.platformio.org/t/prob ... 0/12291/11
https://community.platformio.org/t/prob ... 0/12291/11
- em_em1
- Posts: 3
- Joined: Tue Aug 23, 2022 7:59 am
Re: Metro M4 express with Atmel studio
Thanks, I am able to flash code now but for some reason it's not workingmikeysklar wrote: ↑Tue Aug 23, 2022 11:08 am Yes, I believe it is possible to do what you are suggesting. Remove the bootloader and use Atmel Studio + JTAG to program the Metro M4 directly. There is a pretty good thread on this from the platform IO forum (done with an Adafruit Feather M0 at the time). That would probably be a better forum to follow up as we are next well versed with that setup.
https://community.platformio.org/t/prob ... 0/12291/11
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Metro M4 express with Atmel studio
Glad to hear you have made some progress.
I would suggest posting to the Atmel or Platform IO forums for more assistance with your setup. We don’t have guides around using these chips without a bootloader.
https://community.atmel.com/forums/atme ... based-mcus
https://community.platformio.org/
I would suggest posting to the Atmel or Platform IO forums for more assistance with your setup. We don’t have guides around using these chips without a bootloader.
https://community.atmel.com/forums/atme ... based-mcus
https://community.platformio.org/
- em_em1
- Posts: 3
- Joined: Tue Aug 23, 2022 7:59 am
Re: Metro M4 express with Atmel studio
Ok will try posting there.mikeysklar wrote: ↑Wed Aug 24, 2022 12:44 pm Glad to hear you have made some progress.
I would suggest posting to the Atmel or Platform IO forums for more assistance with your setup. We don’t have guides around using these chips without a bootloader.
https://community.atmel.com/forums/atme ... based-mcus
https://community.platformio.org/
Thank you so much for your help.
Please be positive and constructive with your questions and comments.