Code Monkey home page Code Monkey logo

Comments (6)

disk91 avatar disk91 commented on August 20, 2024

Hello,
I never has a such behavior and I assume I ran the project since a really long time. I would suggest it could be related to the hardware Wio or Board.
If it is easy to reproduce, it would be great to compile with DEBUG activated in config.h

#define DEBUG

Eventually add a Serial.print("."); in the main loop to see if the Wio is freezing or just some pieces of software.

Then connect to computer USB and look at the serial port print.

from wiolorawanfieldtester.

AkosLukacs avatar AkosLukacs commented on August 20, 2024

Ok, got something, now during sending packet #11

EV_TXSTART
l.x               // my debug statement: loop end
l.0               // my debug statement: loop start
FAILURE     // from LMIC
Arduino\libraries\MCCI_LoRaWAN_LMIC_library\src\lmic\radio.c:1065

This line: https://github.com/mcci-catena/arduino-lmic/blob/master/src/lmic/radio.c#L1065
And that ASSERT just freezes the whole Wio. Either some timing issue, and the radio is not yet sleeping. But you haven't seen anything like that. Or a bad solder joint.

from wiolorawanfieldtester.

disk91 avatar disk91 commented on August 20, 2024

Looks like the SPI write failed and the assert kills the Wio (basically assert my while(true);) so it makes sense.
The SPI write should not fail. So yes you can check the soldering. Potentially, the RFM95 could be defective (I had some with defects by the past).
Possible other issues but I did not had the same experience.
You could also remove this particular assert and just have the SPI write. not really a solution as you should have other assert failing elsewhere and RFM95 in a bad state but if really rare it could make the device running a bit more longer.

As much as I know currently, I can't make anything specific in the code related to this issue.

Please, before closing, can you give me some precision of you environment:

  • Zone
  • LMIC version
  • Target helium console env (I saw multitple hotspot response, so it can be another console than the main one)

from wiolorawanfieldtester.

AkosLukacs avatar AkosLukacs commented on August 20, 2024

Will check solder joints when I have some time. For the record: on SF8 it worked for a couple of hours without any problem, SF7 failed pretty fast.

  • Zone: EU, if that is what you meant?
  • LMIC: https://github.com/mcci-catena/arduino-lmic, v.3.3.0
  • Production and staging console, issue showed up in earlier testing. But now was testing multi-packet behavior, and staging has some improvements there.

from wiolorawanfieldtester.

disk91 avatar disk91 commented on August 20, 2024

Is this bug still appearing on your device ?
I still not have a such problem on my side. Let me know. I'm most of the time SF9. I will make more try on SF7

from wiolorawanfieldtester.

AkosLukacs avatar AkosLukacs commented on August 20, 2024

Seems to work without problems after some resoldering + flux cleaning.
Most likely soldering was the cluprit.

from wiolorawanfieldtester.

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.