2302289_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2302289_en-US

2302289_en-US

RW612, booting from flash with littlefs in same flash

So using ublox-iris-w101 and running XIP

Added littlefs and an image at 0x08600000

I can see the image in the flash and open a file to read so all is good but when i try and write a file i get a 7002 when calling the erase function.


I have added these 2 lines in to the linker script into the EXCLUDE_FILE part
*mflash_drv.c.obj
*fsl_flexspi.c.obj

and added these 2 into the the data section
*mflash_drv.c.obj(.text .text* .rodata .rodata*)
*fsl_flexspi.c.obj(.text .text* .rodata .rodata*)

The failing call is
mflash_drv_sector_erase
(0x08600000);


I have checked and the code is on 0x2xxxxxxx block, so ram.


Any ideas?

Re: RW612, booting from flash with littlefs in same flashfixed, you only need the offset not the full address
タグ(1)
評価なし
バージョン履歴
最終更新日:
‎01-30-2026 03:24 AM
更新者: