-
Notifications
You must be signed in to change notification settings - Fork 2
Error codes
Joshua Zenn edited this page Aug 15, 2015
·
5 revisions
Should something go wrong during the execution of your program, an error code will be displayed. If you have a device with more program memory (like the Arduino Mega), build Octoduino with the build options CRASH_MSG_DETAIL and CORE_STACK to see more detailed error messages along with a descriptive app stack dump.
By default, when an error is encountered, the system will display an error message and then halt. If you build Octoduino with the build option CRASH_REBOOT, the system will restart upon a crash (may cause an infinite crash loop if error lies in program code).
Causes:
- Waiting for PC serial connection loop timed out.
Possible fixes:
- Make sure you have a Serial console open when the device is booted.
- Build without the option IO_LOG_SERIAL.
Causes:
- SD card is not fully inserted.
- SD card is corrupted.
- Another device or IO channel is using the required SS/data pins.
- Your shield does not use pin 4 for data.
- Your shield is incorrectly seated.
Possible fixes:
- Format the SD card to FAT16 or FAT32.
- Use a different SD card.
- Make sure the card is not marked as read-only.
- Verify that your shield uses pins 4/10. If not, use the GUI builder to change it.
- Make sure that your shield is fully inserted.
- Make sure that any non-shield device is using pins 4 and 10.
Causes:
- The LCD library could not interface with the LCD device.
Possible fixes:
- Make sure that your wiring is correct.
- Check your LCD device for damage.
- Ensure that no other devices are using the data lines.
Causes:
- SD card is not fully inserted.
- SD card is corrupted.
- Another device or IO channel is using the required SS/data pins.
- Your shield does not use pin 4 for data.
- Your shield is incorrectly seated.
Possible fixes:
- Format the SD card to FAT16 or FAT32.
- Use a different SD card.
- Make sure the card is not marked as read-only.
- Verify that your shield uses pins 4/10. If not, use the GUI builder to change it.
- Make sure that your shield is fully inserted.
- Make sure that any non-shield device is using pins 4 and 10.