Skip to content

Getting Exception 3 while trying to write to a screen (Nokia 5110) #3331

Closed
@witnessmenow

Description

@witnessmenow

Basic Infos

I'm getting a Exception (3) when i try write text to the Nokia 5110 screen. This screen worked for me a good few months ago when I was on an older version of Arduino IDE (I'm now on 1.8.2) and Esp8266 core.

Does not appear to be a hardware issue as drawing shapes works fine, crash only happens when writing text. I've tried several different sample sketches and they all crash when writing text.

Any ideas how to troubleshoot any further?

Hardware

Hardware: Wemos D1 Mini
Core Version: 2.4.0 (According to platform.txt - Installed from Github)

Description

Required Libraries:
https://github.com/bbx10/Adafruit-PCD8544-Nokia-5110-LCD-library/tree/esp8266 (make sure its the esp8266 branch)
Adafruit-GDX from library manager

Settings in IDE

Module: Wemos D1 Mini
Flash Size: 4MB/1MB
CPU Frequency: 80Mhz
Flash Mode: N/A
Flash Frequency: N/A
Upload Using: SERIAL
Reset Method: N/A

Sketch

https://github.com/bbx10/Adafruit-PCD8544-Nokia-5110-LCD-library/blob/esp8266/examples/pcdtest/pcdtest.ino

https://github.com/mcauser/WeMos-D1-mini-Nokia-5110-PCD8544/blob/master/examples/hello-world/hello-world.ino

Debug Messages

WiFi connected
IP address:
192.168.1.35

Exception (3):
epc1=0x40203a6e epc2=0x00000000 epc3=0x00000000 excvaddr=0x40236170 depc=0x00000000

ctx: cont
sp: 3ffefe50 end: 3fff00a0 offset: 01a0

stack>>>
3ffefff0: 3ffef048 0000000a 00000003 402042ca
3fff0000: 00000080 00000001 3ffe90dd 40204e14
3fff0010: 00000080 00000000 3ffe8a37 40204e14
3fff0020: 3ffeee50 0000000c 3ffef048 3ffef074
3fff0030: 3ffeee50 3ffef048 3ffeee08 40204109
3fff0040: 3ffe8a37 3ffef048 3ffef048 40204134
3fff0050: 2301a8c0 00ffffff 3ffeee08 40204179
3fff0060: 3fffdad0 3ffef048 3ffeee08 40202032
3fff0070: 3ffe90d8 2301a8c0 feefeffe feefeffe
3fff0080: 3fffdad0 00000000 3ffef06c 40204678
3fff0090: feefeffe feefeffe 3ffef080 4010070c
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

Decoded Stack:

Decoding 9 results
0x402042ca: Print::print(unsigned long, int) at /Users/brian/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/Print.cpp line 87
0x40204e14: Print::write(unsigned char const*, unsigned int) at /Users/brian/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/Print.cpp line 87
0x40204e14: Print::write(unsigned char const*, unsigned int) at /Users/brian/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/Print.cpp line 87
0x40204109: Print::write(char const*) at /Users/brian/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/Print.cpp line 87
0x40204134: Print::println() at /Users/brian/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/Print.cpp line 87
0x40204179: Print::print(char const*) at /Users/brian/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/Print.cpp line 87
: (inlined by) Print::println(char const*) at /Users/brian/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/Print.cpp line 172
0x40202032: setup at /Users/brian/Documents/Arduino/bitcoin/bitcoin.ino line 165
0x40204678: loop_wrapper at /Users/brian/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_main.cpp line 57
0x4010070c: cont_norm at /Users/brian/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/cont.S line 109

Can't figure out how to get debug messages, even following the page link up top

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions