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
LPC1768: RAM end adjust fix #5189
Conversation
The topmost 32 bytes used by IAP functions, this was not included in the RAM end previously.
@fkjagodzinski Can you please retest this with ARCH PRO? |
Update: I added critical section around IAP calls as RM suggests that. Tested again, all OK with LPC1768 |
I ran
|
/morph test |
@chrissnow thanks for the help to narrow this down @fkjagodzinski thanks for testing |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputTest failed! |
From RM: 32.3.2.6 Interrupts during IAP The on-chip flash memory is not accessible during erase/write operations. When the user application code starts executing the interrupt vectors from the user flash area are active. The user should either disable interrupts, or ensure that user interrupt vectors are active in RAM and that the interrupt handlers reside in RAM, before making a flash erase/write IAP call. The IAP code does not use or disable interrupts.
IAP typedef duplication removal
3e8166e
to
9a191de
Compare
Rebased to fix the error from above |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
The topmost 32 bytes used by IAP functions, this was not included in the RAM
end previously.
Running test multiple times to be certain this fixes it. The last 10 runs -- all OK
@chrissnow