How to boot M4 from MicroPython

Hi Folks, I started experimenting with Giga R1. Installed Micropython using the new installer and it works well. Can also upload Arduino C code to M4. However, I couldn't find any documentation on how to boot up the M4 processor using MicroPython code.
Will appreciate any suggestions or pointers.

Thanks!

Hello @arduinosb23!
There is at this moment no documentation on this feature.
We are working on content to generally guide users to be able to use the M4 and tinker with it if they so desire/need but are not claiming this as a generic use case.

The product page for Arduino Giga R1 advertises the ability to use both processors (with one as micropython) as the #1 feature. Are you suggesting the product documentation is wrong and we cannot do what is advertised?

"Let’s break down all the powerful features of this board.

Microcontroller (STM32H747XI): This dual core 32-bits microcontroller allows you have two brain talking to each other (a Cortex®-M7 at 480 MHz and a Cortex®-M4 at 240 MHz) you can even run micropython in one and Arduino in the other."

2 Likes

By when can I get the documentation?

1 Like

Same problem here with portenta H7. I not able to run micropython on one processor and arduino code on the other. I see a lot of posts with no reply about the this topic. So 2 options here: 1) there is no way to do it and when Portenta H7 page says:

Portenta H7 simultaneously runs high level code along with real time tasks. The design includes two processors that can run tasks in parallel. For example, is possible to execute Arduino compiled code along with MicroPython one, and have both cores to communicate with one another. The Portenta functionality is two-fold, it can either be running like any other embedded microcontroller board, or as the main processor of an embedded computer.

it's just a theoretical option.

Or 2) it's so simple that there is no need to discuss about it and i'm missing something huge under my eyes

TBH i found this post Portenta Micropython on M7 core, C on M4 core? - Arduino Boards - OpenMV Forums from Aug 2021 that kinda describe a way that is beyond my understanding.

So i'm here to ask help

Hello !! Here is the answer :slight_smile: