VladimirP1 / esp-gyrologger

GNU Lesser General Public License v2.1
78 stars 10 forks source link

Running on esp32-s2? #19

Closed i512 closed 1 year ago

i512 commented 1 year ago

Hello! Can gyrologger work on esp32-s2 such as the very compact s2-mini?

I tried uploading all firmware versions in the latest release and got this error for all of them:

esplog_esp32> esptool.py.exe --port COM8 write_flash 0x1000 bootloader.bin  0x8000 partition-table.bin 0x10000 esp-gyrologger.bin
esptool.py v4.6.2
Serial port COM8
Connecting...
Detecting chip type... Unsupported detection protocol, switching and trying again...
Detecting chip type... ESP32-S2
Chip is ESP32-S2FH4 (revision v0.0)
Features: WiFi, Embedded Flash 4MB, No Embedded PSRAM, ADC and temperature sensor calibration in BLK2 of efuse V1
Crystal is 40MHz
MAC: 84:f7:03:dc:df:ae
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Unexpected chip id in image. Expected 2 but value was 0. Is this image for a different chip model?

Should it not work on the s2?

VladimirP1 commented 1 year ago

No, it should not work on s2. I have made an attempt to do this once, it did not have enough ram. It could be possible, but that needs rewriting the gyro processing pipeline in a way that it uses less ram, but this is not planned.