-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Getting Exception 3 while trying to write to a screen (Nokia 5110) #3331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
More info: The above is on OSX I loaded up an old windows install on another computer and that worked fine: Arduino 1.81 |
What's at line 165 of bitcoin.ino? The example link you have posted doesn't have line 165... |
Sorry about that, here are lines 164 and 165, the first time display.println is used
I went to try do a simple example and I'm pretty confused to whats going on! I'm getting the same error (3), but the stack refers to libraries I am not using in the example (ArduinoJson for example). I'm sure it's the right sketch as the serial monitor shows the appropriate messages (EDIT: comment below this contains a decoded stack that looks more applicaple) Code:
Serial output:
Decoded Stack:
|
I restarted Arduino and tried again got a better looking decoded stack: Serial output:
Decoded Stack:
|
Looks similar to #3140 (comment). This was fixed in #3325 yesterday. Can you try again using the latest git version? |
Sure, will give it a try after work
…On 6 Jun 2017 08:42, "Ivan Grokhotkov" ***@***.***> wrote:
Looks similar to #3140 (comment)
<#3140 (comment)>.
This was fixed in #3325 <#3325>
yesterday. Can you try again using the latest git version?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3331 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABfXwsX7P-fibBfbXqgXfMcHRPqEfwGqks5sBQLVgaJpZM4NvYER>
.
|
@igrr that looks to be working for me now, thanks a lot for your help! |
Sorry... so I started on the next part of my project and I am getting a Exception 3 when I try connect to coinmarketcap.com's api using WiFiClientSecure. Should I create a new issue for this? Details below: Sketch:Last part of code of mine before the exception is: Serial Output
Decoded Stack:
|
Going to close this one as the issue in the title is fixed. New issue opened at #3335 |
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
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
The text was updated successfully, but these errors were encountered: