-
Notifications
You must be signed in to change notification settings - Fork 218
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
Freeze when erasing page and receiving serial data #109
Comments
Looks like the uC doesn't freeze if I disable uarts before doing my operations and enable it again just after |
I have no idea. Perhaps bus contention oddness? What happens if you put nop or WFI in the loop instead of a hard spin? (Unless you've turned it off, SysTick will wake you up if you go WFI). |
I've tried a lot of things, and it looks like there is a relation with the usart handling |
e1314f6 just got merged, which might fix that. Can you try with today's master? |
Actually, this is what I did |
OK, so is today's master working for you? I'll close if so. |
Yes, I confirm it's ok |
Hello,
I'm working on an application where I need to change the flash. So, I erase pages and write bytes on-the-fly.
This is the erase page part:
When there is serial data incoming in the same time, this results in a complete freeze of the chip just after starting the erasing.
Any idea why?
The text was updated successfully, but these errors were encountered: