wemos / D1_mini_Examples

WeMos D1 & D1 mini Arduino Examples
547 stars 228 forks source link

some pcd8544 nokia examples crashes #24

Open madias123 opened 7 years ago

madias123 commented 7 years ago

In particular all examples with higher sketch size will crash: example: "hello-wemos" tried also to switch to "4M (1M SPIFFS)" to get more flash size. console output: `WeMos D1 Mini + Nokia 5110 PCD8544 84x48 Monochrome LCD Using Adafruit_PCD8544 and Adafruit_GFX libraries

Show Adafruit logo bitmap

Exception (3): epc1=0x40202f88 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4022f960 depc=0x00000000

ctx: cont sp: 3ffef9c0 end: 3ffefc00 offset: 01a0

stack>>> 3ffefb60: 00000080 00000008 3ffeead8 00000054
3ffefb70: 0000000b 00000000 00000000 00000000
3ffefb80: 3ffe8500 00000018 3ffe86aa 3ffeebcc
3ffefb90: 40101180 000cfcfe 3ffeeb2c 00000000
3ffefba0: 3ffe9120 3ffeeb2c 3ffeebe0 00000001
3ffefbb0: 3fffdad0 00000000 3ffeead8 40201ca1
3ffefbc0: 00000001 000007d0 000007d0 402010a3
3ffefbd0: 3fffdad0 3ffeead8 3ffefc40 3ffeebcc
3ffefbe0: 3fffdad0 00000000 3ffeebc4 402027fc
3ffefbf0: feefeffe feefeffe 3ffeebe0 40100114 `

EDIT additional info: It crashes after the line: Serial.println("----trace-----");

void loop() {
  display.clearDisplay();
    Serial.println("----trace-----");
  display.drawBitmap(0, 0, WeMos_logo_84x48, 84, 48, BLACK);
  Serial.println("----trace2-----");
  display.display();
  Serial.println("Show WeMos logo 84x48 bitmap");