Giter VIP home page Giter VIP logo

Comments (2)

AeroXuk avatar AeroXuk commented on September 25, 2024 1

I captured this log via the flasher website before the crash / reboot loop,

//\ E S H T /\ S T / C
DEBUG | ??:??:?? 2 MODE (1 Bytes)
DEBUG | ??:??:?? 2 RAK (108 Bytes)
DEBUG | ??:??:?? 2 meshtastic.txt (0 Bytes)
DEBUG | ??:??:?? 2 db.proto (1228 Bytes)
DEBUG | ??:??:?? 2 module.proto (127 Bytes)
DEBUG | ??:??:?? 2 channels.proto (57 Bytes)
DEBUG | ??:??:?? 2 config.proto (144 Bytes)
DEBUG | ??:??:?? 2 Using analog input 5 for battery level
INFO | ??:??:?? 2 Scanning for i2c devices...
DEBUG | ??:??:?? 2 Scanning for i2c devices on port 1
INFO | ??:??:?? 2 No I2C devices found
DEBUG | ??:??:?? 2 acc_info = 0
INFO | ??:??:?? 2 Meshtastic hwvendor=9, swver=2.3.9.f06c56a
DEBUG | ??:??:?? 2 Reset reason: 0x0
DEBUG | ??:??:?? 2 Setting random seed 2431185551
INFO | ??:??:?? 2 Initializing NodeDB
INFO | ??:??:?? 2 Loading /prefs/db.proto
INFO | ??:??:?? 2 Loaded /prefs/db.proto successfully
INFO | ??:??:?? 2 Loaded saved devicestate version 22, with nodecount: 12
INFO | ??:??:?? 2 Loading /prefs/config.proto
INFO | ??:??:?? 2 Loaded /prefs/config.proto successfully
INFO | ??:??:?? 2 Loaded saved config version 22
INFO | ??:??:?? 2 Loading /prefs/module.proto
INFO | ??:??:?? 2 Loaded /prefs/module.proto successfully
INFO | ??:??:?? 2 Loaded saved moduleConfig version 22
INFO | ??:??:?? 2 Loading /prefs/channels.proto
INFO | ??:??:?? 2 Loaded /prefs/channels.proto successfully
INFO | ??:??:?? 2 Loaded saved channelFile version 22
INFO | ??:??:?? 2 File /oem/oem.proto not found
DEBUG | ??:??:?? 2 cleanupMeshDB purged 1 entries
DEBUG | ??:??:?? 2 Using nodenum 0x183265c8
DEBUG | ??:??:?? 2 Expanding short PSK #1
INFO | ??:??:?? 2 Wanted region 3, using EU_868
DEBUG | ??:??:?? 2 Using GPIO28 for button

from firmware.

AeroXuk avatar AeroXuk commented on September 25, 2024

With some investigating, the crash seems to happen when playStartMelody(); is called within setup().

We suspect that the crash is due to the start up tune being played before the buzzer gpio pin has been read from the nodedb or before the output pin is properly initialised.

With the function call commented out within setup() then there is no crash issue and the buzzer sounds as expect on message received / bell received.

If we move the playStartMelody(); function call to be the last line in setup() it still crashes, so maybe something is still being setup in another thread even after setup() completes?

from firmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.