Skip to content

Unable to erase image slot using mcuboot serial command. #50436

Discussion options

You must be logged in to vote

Hi @CreativeIndustryAg ,
I see the bus fault occurs in the FlexSPI driver when writing to flash. If you are eXecuting-in-Place (XiP) from that flash while you are also writing to it, the FlexSPI driver should jump to code in ITCM, so it is not XIPing while erasing/writing the flash. I wonder if your ADC reading or interrupt is trying to jump and XIP from flash during the flash write. The app will not be able to execute from flash during those times, and that includes ISRs. So that is where I would focus to troubleshoot this.

Let us know what you find

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DerekSnell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants