armink / EasyFlash

Lightweight IoT device information storage solution: KV/IAP/LOG. | 轻量级物联网设备信息存储方案:参数存储、在线升级及日志存储 ,全新一代版本请移步至 https://github.com/armink/FlashDB
MIT License
2.02k stars 766 forks source link

测试demo失败 #80

Closed yeweizhong closed 4 years ago

yeweizhong commented 4 years ago

hi,armink. 我在使用demo测试,把sfud移植完成后验证easyflash报错。

报错信息如下: SFUD](..\components\sfud\src\sfud.c:104) Start initialize Serial Flash Universal Driver(SFUD) V0.10.29. SFUD You can get the latest version on https://github.com/armink/SFUD . SFUD The flash device manufacturer ID is 0xC8, memory type ID is 0x40, capacity ID is 0x16. [SFUD]Find a GigaDevice GD25Q32CSIG flash chip. Size is 4194304 bytes. SFUD Flash device reset success. [SFUD]GD25Q32CSIG flash device is initialize success. Flash ENV start address is 0x00000000, size is 8192 bytes.

[Flash]EasyFlash V4.0.99 is initialize success.

[Flash]You can get the latest version on https://github.com/armink/EasyFlash .

assert failed at ..\APP\src\app.c:36 读取boot_times失败。 平台:STM32F103,flash:GD25Q32CSIG 其他配置信息均没改变。

armink commented 4 years ago

试着先设置下 boot_times 再去读取

yeweizhong commented 4 years ago

使用ef_set_env_blob设置后可正常读出,试了简单的读修写,都可以。谢谢作者的开源作品。