-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong MBED_ROM_START adress for Portenta H7 #15253
Comments
@Flydroid thank you for raising this issue.Please take a look at the following comments: What toolchain(s) are you using? NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'. This indicates to us that at least all the fields have been considered. |
@mbedmain I have updated the issue description This article got me on the right lead https://link.medium.com/nWas4OpNDob |
Hi @Flydroid ,
Changing that filed in your own |
Alright, the mbed_app.json config works! I will also open an issue with platformio so the mbed framework gets added to the portenta H7. |
@facchinm @Flydroid we have a small piece of documentation on this here: https://docs.arduino.cc/tutorials/portenta-h7/por-ard-bl#memory-layout |
@facchinm @Flydroid I added the information about where to adjust the start address here: arduino/docs-content#119 |
Description of defect
Compiling code for the Portenta H7 with the Arduino bootloader expects the code to start at mbed_rom_start=0x08040000.
The current targets.json this value is set to 0x08000000
mbed-os/targets/targets.json
Line 3481 in 99cb885
Target(s) affected by this defect ?
Portenta H7 M7
Toolchain(s) (name and version) displaying this defect ?
gccarmnoneeabi@1.50401.211104
through platformio
What version of Mbed-os are you using (tag or sha) ?
mbed-os 6.9.0
"bare-metal" profile
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
Platformio
platformio-stm32 @ 15.2.0
framework-mbed @ 6.60900.210318 (6.9.0)
How is this defect reproduced ?
flashing the blinky script will not run without mbed_rom_start=0x08040000 changed in target.json in the framework-mbed folder in platformio/packages
(i think there is an mbed_app.json overwrite which can be used instead of editing target.json but It went under in today's debugging)
The text was updated successfully, but these errors were encountered: