Search found 4 matches

by pic-man
Wed May 06, 2020 2:46 pm
Forum: ESP32 boards
Topic: ESP32 Sparkfun Thing Plus - flash read err, 1000
Replies: 8
Views: 1785

Re: ESP32 Sparkfun Thing Plus - flash read err, 1000

Edit: I have a board here which also shows this warning. Adding that value does not change anything. Thanks for that. CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=5000 has no obvious effect either, but as long as this is a harmless warning I'll ignore it now. I've wrapped this up with nicer BOARD and MCU n...
by pic-man
Wed May 06, 2020 12:38 pm
Forum: ESP32 boards
Topic: ESP32 Sparkfun Thing Plus - flash read err, 1000
Replies: 8
Views: 1785

Re: ESP32 Sparkfun Thing Plus - flash read err, 1000

Whoops! I'd failed to notice "flash read err, 1000" still occurs. A quick dig around the sources (micropython and espidf) doesn't find ets_main.c, so I can't chase line 371 to attempt to establish what the error really means. Guessing it's about not quite using every byte of flash as per the 2M issu...
by pic-man
Tue May 05, 2020 8:40 pm
Forum: ESP32 boards
Topic: ESP32 Sparkfun Thing Plus - flash read err, 1000
Replies: 8
Views: 1785

Re: ESP32 Sparkfun Thing Plus - flash read err, 1000

Thanks.. partitions.csv indeed seems to be the way to go at the moment. Setting it to 0x1000000 rather predictably overcommitted the space and failed, so I set it to (size - offset) = ( 0x1000000 - 0x200000 ) = 0xE00000 thus: vfs, data, fat, 0x200000, 0xE00000, a quick 'make -j4 deploy' later and I ...
by pic-man
Mon May 04, 2020 5:59 pm
Forum: ESP32 boards
Topic: ESP32 Sparkfun Thing Plus - flash read err, 1000
Replies: 8
Views: 1785

Re: ESP32 Sparkfun Thing Plus - flash read err, 1000

The problem is in the SD card driver flashbdev.py at https://github.com/micropython/micropython/blob/master/ports/esp32/modules/flashbdev.py. The last line sets a fixed file of the file system: bdev = FlashBdev(2048 * 1024 // FlashBdev.SEC_SIZE) The following change will use all available flash: bd...