Customer:
After following the installation of boards, drivers, and libraries, when I upload code to Arduino, I get a report of 100% writing to device, Hash of data verified, then the statement “leaving… Hard resetting via RTS pin”.
Originally submitted via email support on 6 January 2024. Migrated to the forum for community visibility.
Soldered Support:
Hard resetting via RST pin means the code was uploaded successfully to the board. I assume the issue is that the display isn’t updating.
Are you using the Soldered Inkplate6COLOR board definition in the Tools menu? Can you try this example, it should always update the screen: Inkplate-Arduino-library/examples/Inkplate6COLOR/Basic/Inkplate6COLOR_Simple/Inkplate6COLOR_Simple.ino at master · SolderedElectronics/Inkplate-Arduino-library · GitHub
Customer:
The example code you supplied did install on my 6color successfully. The issue must be in my code. On the serial monitor page my code resets repeatedly at approximately 2-3 second frequency.
Attachment omitted in migration: Screenshot (2).png
Soldered Support:
The issue then must be the code. Please carefully compare your code with the example. Are you using the correct board definition in the Tools menu? It should be Soldered Inkplate6COLOR. Are you using display.begin()? Are you using any variables before they get defined?
You can send your code and we can review it.
Customer:
Can you review my code? It seemed to work in a YouTube video.
Attachment omitted in migration: display.h
Attachment omitted in migration: EEPROMManager.cpp
Attachment omitted in migration: EEPROMManager.h
Attachment omitted in migration: ForecastManager.h
Attachment omitted in migration: display.cpp
Attachment omitted in migration: epaper_weather_station.ino
Attachment omitted in migration: ForecastManager.cpp
Attachment omitted in migration: icons.h
Attachment omitted in migration: SensorDataManager.cpp
Attachment omitted in migration: SensorDataManager.h
Attachment omitted in migration: sensors.cpp
Attachment omitted in migration: sensors.h
Soldered Support:
I took a look at the main .ino file. I would suggest adding a lot of Serial.prints to see where exactly the code breaks.
You can also add some delay()'s between function calls.
What you can also do is use the ESP exception decoder, it will take the message Inkplate prints over Serial and translate it so you can see exactly at which point in the code Inkplate reset, here’s how to use it: GitHub - me-no-dev/EspExceptionDecoder: Exception Stack Trace Decoder for ESP8266 and ESP32 · GitHub
These are suggestions to help you find the bug in your code, as we have determined it shouldn’t be a hardware issue.
Attachment omitted in migration: image.png