Qspiflash erase

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Qspiflash erase

403 Views
mehmetkaradag
Contributor III

Hi,

I am using MIMXRT1170 Evk. I am working on multicore. The SDK i use is multicore hello world example. I want to erase 4sectors(16kb) starting from address 0x30000000 in cm4 so I want to erase the code in cm7 from cm4. I used  ROM_FLEXSPI_norFlash_erase so i took advantage of rom_api SDK. But the function returns 7001 error. As i understand there ıs an align for address. Which address should i write  to erase the code at 0x30000000? 

is what i want to do possible? 

Can you help me? 

Thanks for your helping, 

Best regards, 

Tags (2)
0 Kudos
Reply
1 Reply

367 Views
Sam_Gao
NXP Employee
NXP Employee
Hi mehmetkaradag,
Thanks for your questions. It seems you want to erase sectors Nor flash via FLEXSPI, to avoid some specific details, I strongly recommend that you refer to "SDK_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\flexspi\nor\polling_transfer\cm4\readme.md" firstly.
Thanks again.

```
FLEXSPI example started!
Vendor ID: 0x9d
Erasing Serial NOR over FlexSPI...
Erase data - successfully.
Program data - successfully.
```