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

STM32F4: Flash operations silently fail #104

Closed
franc0is opened this issue Jun 21, 2020 · 2 comments
Closed

STM32F4: Flash operations silently fail #104

franc0is opened this issue Jun 21, 2020 · 2 comments

Comments

@franc0is
Copy link

franc0is commented Jun 21, 2020

Since the flash on STM32F4 is currently implemented as generic MappedMemory, all standard operations through the Flash CR silently fail. Attempting to write the Flash CR should trigger a more explicit warning log rather than the current debug log:

00:47:26.8846 [DEBUG] sysbus: Write value 0x80000000 to FLASH:CR (0x40023C10)

I suggest:

00:47:26.8846 [WARNING] sysbus: Write to FLASH:CR (0x40023C10) has no effect (Not Implemented)

Even better would be to implement the STM32 flash peripheral.

@PiotrZierhoffer
Copy link
Member

PiotrZierhoffer commented Jul 3, 2020

@franc0is We increased the verbosity of SVD-generated logs, and made them more explicit. STM32 flash is not currently on our roadmap, but I believe current logs will be more precise

@franc0is
Copy link
Author

franc0is commented Jul 9, 2020

Awesome, thanks!

Fixed in renode/renode-infrastructure@fe0dcb8

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

No branches or pull requests

2 participants