Avatar for hungryforcodes

hungryforcodes

Member since Mar 2017 • Last active Dec 2019
  • 7 conversations
  • 112 comments

I love Espruino and bacon! :P

Most recent activity

    • 2 comments
    • 4 views
  • in ESP8266
    Avatar for hungryforcodes

    Hi, I'm just posting this in case anyone else experienced this, but when using v2.04 on some largish code (40K minified down to 20k), I get resets with exccause 3.

    ets Jan  8 2013,rst cause:2, boot mode:(3,7)
    load 0x40100000, len 2408, room 16
    tail 8
    chksum 0xe5
    load 0x3ffe8000, len 776, room 0
    tail 8
    chksum 0x84
    load 0x3ffe8310, len 632, room 0
    tail 8
    chksum 0xd8
    csum 0xd8
    2nd boot version : 1.6
      SPI Speed      : 80MHz
      SPI Mode       : QIO
      SPI Flash Size & Map: 32Mbit(1024KB+1024KB)
    jump to run user1 @ 1000
    {
      "reason": "exception",
      "exccause": 3, "epc1": 1073799076, "epc2": 0, "epc3": 0, "excvaddr": 1076285788,
      "depc": 0 }
    Running onInit()...
    

    This seems to be caused by a LoadStore error -- I found this description to go along with it "Processor internal physical address or data error during load or store".

    If I flash back to 2v03, everything is fine. I'm using a totally normal 4MB ESP-12f.

    -hfc

  • in News
    Avatar for hungryforcodes

    Well, finally all our dreams have come true! :)

  • in ESP32
    Avatar for hungryforcodes

    Great! Thanks :)

  • in ESP32
    Avatar for hungryforcodes

    Sounds like heap memory is incredibly low! Not sure what the cause of it could be. Did you try downgrading the firmware to 1v97-1v98? These use an earlier version of the Espressif SDK. Maybe could help -- just guessing.

  • in ESP32
    Avatar for hungryforcodes

    It showed up only recently, but probably is in 1v99 for sure:

    http://www.espruino.com/Reference#ESP32

    ESP32.enableBLE ⇒
    
    Call type:
    ESP32.enableBLE(enable)
    
    Parameters
    enable - switches Bluetooth on or off
    
    Description
    Switches Bluetooth off/on, removes saved code from Flash, resets the board, and on restart creates jsVars depending on available heap (actual additional 1800)
    
    Note: This is only available in devices with Bluetooth LE capability
    
  • in ESP32
    Avatar for hungryforcodes

    Did you turn off bluetooth? It frees up some resources on that version particularly.

    ESP32.enableBLE(false)
    

    -=h

  • in ESP32
    Avatar for hungryforcodes

    Hi -- just curious if support for PSRAM made it in yet. I know there was some discussion of it, but it seemed a bit vague...

  • in ESP32
    Avatar for hungryforcodes

    These guys are a little cowboy with their IDF, huh?

Actions