Skip to content

Troubleshooting

Szybet edited this page Jul 27, 2024 · 17 revisions

Debugging docker

Debugging resources generation, platformio

  • Set your dns to 1.1.1.1

General troubleshooting / catching bugs / helping me improve the firmware guide

  • If you moved from one firmware to mine, consider erasing the flash fully first
  • If your firmware crashed, try retrieving the coredump. I have a tool for that in resources/tools/other/tasks/taskerEsp.sh
  • If you want to catch odd behavior, try to replicate it with logs enabled. Enable DEBUG option and PUT_LOGS_TO_SERIAL, PUT_LOGS_TO_FS to your will. you can retrieve logs from littlefs using the resource task.
  • With DEBUG on, Some options optimised for speed and only PUT_LOGS_TO_FS on you can achieve good performance while still getting logs for later, if the issue is hard to catch

Your newly uploaded firmware looks like this?

image

  • Somehow imagemagick is too old. That's weird, Contact me.

Or like this?

image

  • Your littlefs filesystem is corrupted / not uploaded / failed to mount. What have you done?... Follow the wiki again, you probably skipped one step, or look at the logs when generating resources.