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

Upload returns OK but the sketch is not replaced STM32 Nucleo #203

Closed
Yaroki2 opened this issue May 8, 2023 · 6 comments
Closed

Upload returns OK but the sketch is not replaced STM32 Nucleo #203

Yaroki2 opened this issue May 8, 2023 · 6 comments

Comments

@Yaroki2
Copy link

Yaroki2 commented May 8, 2023

Hello!
I do OTA use NUCLEO-F303RE and get
image
Then MCU don't resets and stuck forever
i tried closing the Serial Monitor in the IDE but it doesn't work.
Can you help me, please?

@JAndrassy
Copy link
Owner

sorry, I don't have an STM32 F3 so it was never tested. The F3 has the same flash operations as F1 and I tested F1 so there was a chance it could work.

@Yaroki2
Copy link
Author

Yaroki2 commented May 8, 2023

Thanks you for the reply!
I realize I need to press the manual reset button to get it to work, do you have any ideas?

@JAndrassy
Copy link
Owner

is the sketch updated?

@Yaroki2
Copy link
Author

Yaroki2 commented May 8, 2023

Yes, Sketch updated but doesn't reset automatically

@JAndrassy
Copy link
Owner

InternalStorage.apply() calls at the end NVIC_SystemReset(); which is a reset command for all ARM MCU and works on STM32 too.
you could test it in a simple sketch.

@Yaroki2 Yaroki2 closed this as completed May 9, 2023
@Yaroki2
Copy link
Author

Yaroki2 commented May 9, 2023

I tested NVIC_SystemReset(); with simple sketch and it works fine.
I think NVIC_SystemReset(); is the reason, when i change other way to reset in library it works successfully.

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