Open kalpanavengala opened 3 years ago
You can using the ESP8266 demo for test. https://github.com/armink/FlashDB/tree/master/demos/esp8266_spi_flash
Hi Armink, Thanks for the reply. I am using esp32-s2 wrover module, esp-idf 4.2.1 version and using the Vscode tool .I have run the code and am getting error while building the code. Please give me your opinion on this. I have included the flashdb.h header file in the components/FlashDB--> inc folder. how to include the flashdb library files in the project folder without getting errors. for your reference here run the command idf.py build and not able to run the make command for esp32s2 .
./main/hello_world_main.c:16:10: fatal error: flashdb.h: No such file or
directory #include "flashdb.h" ^~~compilation
terminated.[916/928] Building CXX object
esp-idf/asio/CMakeFiles/__idf_asio.dir/asio/asio/src/asio.cpp.objninja:
build stopped: subcommand failed.ninja failed with exit code 1
On Wed, Aug 11, 2021 at 2:09 AM 朱天龙 (Armink) @.***> wrote:
You can using the ESP8266 demo for test. https://github.com/armink/FlashDB/tree/master/demos/esp8266_spi_flash
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/armink/FlashDB/issues/90#issuecomment-896529387, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUN6GXOOSG53HZEVER553C3T4IHXZANCNFSM5B436QUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
-- Thanks and Regards,
Kalpana Vengala
Hi Armink,
I am able to flash the code now after setting the Nor flash address as 0x3F000000 by referring to the esp32s2 tech manual. but I am getting the partition write error. Please refer to the log file and give me your suggestion to resolve the issue and to perform read and write operations.
Please see the below log data for your reference:
Restarting in 1000 seconds... Restarting in 999 seconds... Restarting in 998 seconds... Restarting in 997 seconds... Restarting in 996 seconds.
Kindly give me the reply and your suggestions/ any procedure to resolve this issue.
Thanks, Kalpana
On Thu, Aug 12, 2021 at 8:12 AM Kalpana Vengala @.***> wrote:
Hi Armink, Thanks for the reply. I am using esp32-s2 wrover module, esp-idf 4.2.1 version and using the Vscode tool .I have run the code and am getting error while building the code. Please give me your opinion on this. I have included the flashdb.h header file in the components/FlashDB--> inc folder. how to include the flashdb library files in the project folder without getting errors. for your reference here run the command idf.py build and not able to run the make command for esp32s2 .
./main/hello_world_main.c:16:10: fatal error: flashdb.h: No such file or directory #include "flashdb.h" ^
~~compilation terminated.[916/928] Building CXX object esp-idf/asio/CMakeFiles/__idf_asio.dir/asio/asio/src/asio.cpp.objninja: build stopped: subcommand failed.ninja failed with exit code 1On Wed, Aug 11, 2021 at 2:09 AM 朱天龙 (Armink) @.***> wrote:
You can using the ESP8266 demo for test. https://github.com/armink/FlashDB/tree/master/demos/esp8266_spi_flash
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/armink/FlashDB/issues/90#issuecomment-896529387, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUN6GXOOSG53HZEVER553C3T4IHXZANCNFSM5B436QUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
-- Thanks and Regards,
Kalpana Vengala
-- Thanks and Regards,
Kalpana Vengala
@syj0925 Can you give some suggestions?
It looks like the address to the partition for FlashDB is not correct and the program tries to write to an invalid memory region:
*[E/FAL] (fal_partition_write:424) Partition write error! Partition address out of bound.*
I pushed an example for ESP32 that uses the esppartition* api which resolves the correct addresses for the partition automatically: https://github.com/armink/FlashDB/tree/master/demos/esp32_spi_flash
Hi, How to use flash DB in ESP32-S2 and how to install Flash DB library into ESP32-S2-wrover sola board using SPi flash memory.Can you please provide me any example programs using time series and Key-value storage