Search found 74 matches

by jsam589
Thu Oct 31, 2019 5:40 pm
Forum: ESP-IDF
Topic: S2 toolchain version mismatch
Replies: 1
Views: 2849

S2 toolchain version mismatch

I installed v4.1 latest IDF on Windows 10. The installation says it completed, but when I open the command window, it complains about version mismatch for the S2 tools. This error seems fatal and I cannot build regular ESP32 projects. All the directories seem to be where expected. If I delete the S2...
by jsam589
Wed Oct 30, 2019 9:50 pm
Forum: ESP-IDF
Topic: Simple questions about SPIFFS wear levelling
Replies: 3
Views: 5175

Simple questions about SPIFFS wear levelling

1. I have defined two SPIFFS partitions on main SPI flash. One is sized at 1 MByte. The other is sized at 5 MByte. When I call esp_spiffs_info() after creating them, they report sizes about ~10% smaller than their total partition size. Is this the amount used for managing the file system and trackin...
by jsam589
Fri Oct 25, 2019 5:06 pm
Forum: ESP-IDF
Topic: Is flash read err, 1000 normal behavior?
Replies: 13
Views: 16936

Is flash read err, 1000 normal behavior?

I have two different products and both show the following messages when I reset them using a reset button that pulls EN low. I am sure bootloader is programmed (programming step showed success on that). My application seems to run okay, but I would like to understand if this RTC WDT is normal. ets J...
by jsam589
Fri Oct 25, 2019 3:26 am
Forum: ESP-IDF
Topic: Coredump to flash hanging at partition erase step
Replies: 1
Views: 2449

Re: Coredump to flash hanging at partition erase step

I have tried again using IDF "latest" (v4.1-dev) and coredump works okay from that branch. However, now I cannot seem to get MD5 to appear in my partitions table, regardless of how I set it in menuconfig. I can use gen_esp32part.py to create one with MD5 in it. Hopefully this will be fixed soon in I...
by jsam589
Thu Oct 24, 2019 11:57 pm
Forum: ESP-IDF
Topic: (resolved) issue with toolchain, maybe environment variables
Replies: 7
Views: 7808

Re: issue with toolchain, maybe environment variables

You may already know this, but v3.x of IDF used the crosstool-ng 5.2.0 toolchain. Starting with v4.x, they are using a new toolchain, the 2019r1 8.2.0. I tried using one with the other's IDF and it does not play well together. It looks like you are on a Windows host - did you install using the all-i...
by jsam589
Thu Oct 24, 2019 5:38 pm
Forum: ESP-IDF
Topic: Coredump to flash hanging at partition erase step
Replies: 1
Views: 2449

Coredump to flash hanging at partition erase step

I cannot get coredump to a flash partition to work. I am using v4.0-beta1. I have 16 MByte flash WROOM device. In a simple test using the blink example, I write to a null pointer to cause crash. I found a few other reports of the same behavior: https://github.com/espressif/esp-idf/issues/3857 https:...
by jsam589
Wed Oct 23, 2019 12:47 pm
Forum: ESP-IDF
Topic: ESP32 CMake, How to add my own static library file to project? (ESPIDF v4.1dev)
Replies: 7
Views: 9079

Re: ESP32 CMake, How to add my own static library file to project? (ESPIDF v4.1dev)

EDIT: Is BCXConfiguration.cpp the source that you want to use to make your static library? If so, I have only tried making libraries as components within a full application. So, I am not sure of the syntax for a project that is only intended to create a library. Original response: I looked at it but...
by jsam589
Wed Oct 23, 2019 12:25 pm
Forum: ESP-IDF
Topic: MD5 missing from partition-table.bin (v4.0-beta1)
Replies: 2
Views: 3481

Re: MD5 missing from partition-table.bin (v4.0-beta1)

Ah, okay. I unchecked this in menuconfig and now the MD5 is appended to the partitions bin file.

Has this "logic inversion" been fixed in latest branch, or will it be?

Thanks for quick answer, btw!
by jsam589
Tue Oct 22, 2019 3:54 pm
Forum: ESP-IDF
Topic: MD5 missing from partition-table.bin (v4.0-beta1)
Replies: 2
Views: 3481

MD5 missing from partition-table.bin (v4.0-beta1)

I am comparing the partitition table bin files created by idf.py build and by gen_esp32part.py. My IDF version is v4.0-beta1. sdkconfig has MD5 set for yes: CONFIG_PARTITION_TABLE_MD5=y But I seem not to have the MD5 in my flash after programming, nor in /build/partition_table/partition-table.bin Ho...
by jsam589
Tue Oct 22, 2019 12:40 am
Forum: ESP-IDF
Topic: ESP32 CMake, How to add my own static library file to project? (ESPIDF v4.1dev)
Replies: 7
Views: 9079

Re: ESP32 CMake, How to add my own static library file to project? (ESPIDF v4.1dev)

Good news! I was able to build hello world successfully with your BCX library. I am attaching a tar file of the cleaned project (idf.py fullclean). You should be able to untar it somewhere and build with idf.py build. It will create a default sdkconfig as part of the build. I did not try to make the...