arduino / arduino/ArduinoCore-mbed

UpdateBootloader never outputs on terminal - can't update bootloader through sketch

Open
#446 5 comments 0 reactions 2 assignees Claimed by @giulcioffi View on GitHub
Portenta question
Dominant language
C
Stars
411
Forks
225
PR merge metrics
No merged PRs in 30d

Description

I am using portenta H7 with vision shield - LoRa

Trying to run this two codes didn't work for me:
- https://github.com/arduino/ArduinoCore-mbed/blob/master/libraries/STM32H747_System/examples/STM32H747_updateBootloader/STM32H747_updateBootloader.ino
- https://github.com/arduino/ArduinoCore-mbed/blob/master/libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo/STM32H747_getBootloaderInfo.ino

After successfully uploading the file, I never saw the output on terminal.

When uploading different sketches, they work, just this one doesn't (I even tried to leave terminal opened for around 1 minute, just in case it will take long time to pop up)

Running the following code through different sketch:
```
uint8_t* bootloader_data = (uint8_t*)(0x8000000 + 0x1F000);
uint8_t currentBootloaderVersion = bootloader_data[1];
Serial.println("Bootloader version: " + String(currentBootloaderVersion));
```
Resulted in me learning I am running bootloader v 21.

Now, I am unsure if this is my problem, or it's an issue with the new core update.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.