Coder Social home page Coder Social logo

Comments (6)

armink avatar armink commented on August 23, 2024

目前好像不能这样做,除非有足够多的 RAM 。后面有规划一种全新模式,会去掉 RAM 缓存

from easyflash.

e190 avatar e190 commented on August 23, 2024

我想的是,如果最小擦除是4K,那RAM缓存就设置为4K。然后每次写之前都要先读出来,然后擦除,然后写入。我这种办法是不是很笨的?

from easyflash.

armink avatar armink commented on August 23, 2024

我想的是,如果最小擦除是4K,那RAM缓存就设置为4K

不是你说的这样的,ENV FLASH 区域大小、最小擦除粒度以及 RAM 缓存都是可以独立设置的。

from easyflash.

qinhao4832 avatar qinhao4832 commented on August 23, 2024

Flash ENV start address is 0x00000000, size is 4096 bytes.
Flash Calculate ENV CRC32 number is 0xA28EF931.
Flash Verify ENV CRC32 result is OK.
[Flash]EasyFlash V3.2.3 is initialize success.
[Flash]You can get the latest version on https://github.com/armink/EasyFlash .
iap_need_copy_app=0
iap_copy_app_size=0
stop_in_bootloader=0
device_id=1
jsonARM198708030015={"cmd":101,"s_uis_id":255,"s_uis_type":255,"fn":0,"result":1,"end":101}

boot_times=17
json_198708030015={"cmd":101,"s_uis_id":255,"s_uis_type":255,"fn":0,"result":1,"end":101}

mode: normal
size: 288/2048 bytes.
The system now boot 18 times

以上是我的的env输出,键值 是 json 字符串。
我也想要要存储几百条这样的json字符串,需要一个几十K大小的KV数据库,但STM32F103芯片 没有那么ram可以缓存。
请问,类似我这样的应用,该怎么使用easyflash?

from easyflash.

armink avatar armink commented on August 23, 2024

@qinhao4832 如果是这种情况,当前确实没有比较适合你的模式。等 EasyFlash 的零 RAM 占用模式开发完成后,就可以用了。

from easyflash.

armink avatar armink commented on August 23, 2024

最新发布版本已经不在需要 RAM 缓存了,极大的降低了资源占用,可以试试

from easyflash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.