Skip to content
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

target STM32F303CC has wrong RAM size #15377

Closed
JojoS62 opened this issue Jan 22, 2023 · 2 comments · Fixed by #15378
Closed

target STM32F303CC has wrong RAM size #15377

JojoS62 opened this issue Jan 22, 2023 · 2 comments · Fixed by #15378

Comments

@JojoS62
Copy link
Contributor

JojoS62 commented Jan 22, 2023

Description of defect

grafik

this MCU has 40 kB RAM in this region, not 48 kB. This leads to setting the stackpointer into nirvana and the target fails to start and even crashes gdb.
The setting is als wrong in the ARM pack manager IRAM1 section.

Target(s) affected by this defect ?

targets that depend on this MCU, STM32F303CC

Toolchain(s) (name and version) displaying this defect ?

n/a
all, RAM_SIZE is used in gcc, arm, iar

What version of Mbed-os are you using (tag or sha) ?

mbed-os-6.16.0

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

n/a

How is this defect reproduced ?

n/a

@mbedmain
Copy link

@JojoS62 thank you for raising this issue.Please take a look at the following comments:

It would help if you could also specify the versions of any tools you are using?
How can we reproduce your issue?

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.
Please update the issue header with the missing information.

@jeromecoutant
Copy link
Collaborator

Hi

The setting is als wrong in the ARM pack manager IRAM1 section.

I confirm: wrong info in keil pack => wrong info in ARM pack manager IRAM1 mbed section => wrong info in cmsis_nvic.h file

I am correcting this now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants