完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
使用fal软件包向片内flash写入数据时显示写入错误!
(fal_partition_write:437) Partition write error! Flash device(onchip_flash) write error! 对比例程发现写入前需要擦除分区的全部数据,才能写入成功(软件擦除或下载时j-link擦除全部分区),否则就会出现写入错误问题,但这种做法在实际项目中不可行,请问大家有什么解决方法?还是有哪些初始化宏没有设置? [SFUD] Find a Winbond flash chip. Size is 16777216 bytes. [SFUD] NOR_FLASH flash device is initialize success. [D/FAL] (fal_flash_init:61) Flash device | onchip_flash | addr: 0x08000000 | len: 0x00080000 | blk_size: 0x00000800 |initialized finish. [D/FAL] (fal_flash_init:61) Flash device | nor_flash | addr: 0x00000000 | len: 0x01000000 | blk_size: 0x00001000 |initialized finish. [32;22m[I/FAL] ==================== FAL partition table ====================[0m [32;22m[I/FAL] | name | flash_dev | offset | length |[0m [32;22m[I/FAL] -------------------------------------------------------------[0m [32;22m[I/FAL] | app | onchip_flash | 0x00000000 | 0x00060000 |[0m [32;22m[I/FAL] | param | onchip_flash | 0x00060000 | 0x00020000 |[0m [32;22m[I/FAL] | easyflash | nor_flash | 0x00000000 | 0x00080000 |[0m [32;22m[I/FAL] | download | nor_flash | 0x00080000 | 0x00100000 |[0m [32;22m[I/FAL] | wifi_image | nor_flash | 0x00180000 | 0x00080000 |[0m [32;22m[I/FAL] | font | nor_flash | 0x00200000 | 0x00700000 |[0m [32;22m[I/FAL] | filesystem | nor_flash | 0x00900000 | 0x00700000 |[0m [32;22m[I/FAL] =============================================================[0m [32;22m[I/FAL] RT-Thread Flash Abstraction Layer (V0.5.0) initialize success.[0m I/main: Flash device : onchip_flash Flash size : 512K Partition : param Partition size: 128K [31;22m[E/FAL] (fal_partition_write:437) Partition write error! Flash device(onchip_flash) write error
淘帖
1704