I want to make Metro M7 version SAME70

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
dojyorin
 
Posts: 7
Joined: Wed Dec 12, 2018 6:05 am

I want to make Metro M7 version SAME70

Post by dojyorin »

Hi.

I know there is already an Adafruit Metro M7, but it's built with the NXP iMXRT MCU.
Of course, iMXRT is a very high-performance and wonderful core, as it is also used in Teensy4.
However, I felt the need for a version using the Microchip (Atmel) ATSAM MCU, which is highly compatible with conventional hardware and software.

So I'm thinking of making an ATSAME70 version of Metro M7.
Unfortunately, I don't have the experience or knowledge to do so.
So I would like to borrow your wisdom.

====================

【What I know】
- Adafruit's ATSAM boards are built on the UF2 Bootloader ( https://github.com/adafruit/uf2-samdx1 )
- Tool for burning bootloader (bossa) supports ATSAME70 ( https://github.com/arduino/bossa )
- SAM-BA is a common low-level library for the ATSAM series, and UF2 is based on it (code generated by Atmel Start?)

【What I don't know】
- How to make UF2 compatible with ATSAME70 (part to edit after cloning adafruit/uf2-samdx1)
- MCU-specific information such as offsets when writing with bossa

Thanks.

User avatar
dojyorin
 
Posts: 7
Joined: Wed Dec 12, 2018 6:05 am

Re: I want to make Metro M7 version SAME70

Post by dojyorin »

[Task]
* First, I cloned adafruit/uf2-samdx1
* SVD file with register information is required
* Create a "SAME70" directory in "/lib" of the cloned repository and store the svd file
* Add source code for SAME70 about "startup_*.c", "init_*.c", "flash_*.c" in "/src"

<Cloned my repository>
https://github.com/dojyorin/uf2-same70

<SVD file>
https://www.keil.com/dd2/pack

<MCU datasheet>
https://ww1.microchip.com/downloads/aem ... 001527.pdf

User avatar
dojyorin
 
Posts: 7
Joined: Wed Dec 12, 2018 6:05 am

Re: I want to make Metro M7 version SAME70

Post by dojyorin »

Fortunately, I was able to obtain ATSAME70J21B in the shortage of semiconductors.
I would like to continue working with this.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”