Mbed-os-example-blinky does not work on the Arduino portenta board

Hi,

I recently got my Arduino Portenta board and started evaluating the board if it fits our purpose. I have setup the board using the Arduino Ide and everything is working in that environment. I’m interested to use native mbed-os environment and tools with Portenta board. I built successfully the mbed-os-example-blinky using mbed-os studio and OS version 6.15.1. I used Arduino bootloader and dfu-util to program the application using following command:

dfu-util.exe -w -d 2341:035b -a 0 -s 0x8040000:leave -D …\mbed-os-example-blinky.bin

When staring the board after programming the green led is just glowing not blinking. If I use -R option during the programming the mbed-os is crashing.

My questions are:

  1. Can I use the Arduino bootloader for flash the mbed-os application?
  2. Do I need to change application region somehow?
  3. Is there other bootloader to use?
  4. How to debug the issue?

Best Regards
Juha

Hello,

I remeber few questions about Portenta, but no solution. Maybe you can try contacting people from this topic - Arduino Portenta H7 - Flashing mbed-os binary file with DFU tool not working

However, Arduino Portenta H7, as the name suggests, was ported by Arduino developers for Arduino world and not for the Mbed one. Probably similar, maybe more impossible, it will be for a RP2040, but I do not know the background, so I can be wrong.

BR, Jan

Hi Jan,

Thanks for the answer. I’m a little disappointed if that is the case.
Maybe I post a message on the Arduino forum, but I don’t expect too much.
The reason I’m looking for alternative environments is Arduino Ide, and I want to avoid
unnecessary software layers. Anyway, I can use the mbed-os APIs using the Arduino mbed library and there is also an alternative idea to use. I don’t want to put too much effort at this point into researching
how to use the native mbed environment.

Regards
Juha

In general Portenta H7 is not Mbed enabled board (its design is not meet with Mbed world), it was made as a custom target that inherits from H747 (made under Mbed by ST before).

Portenta H7 - pure mbed access? - Using Arduino / Project Guidance - Arduino Forum

Some links:

BR, Jan