Skip to content
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

Failure radio.c:675 #269

Open
rzahoransky opened this issue Feb 25, 2020 · 0 comments
Open

Failure radio.c:675 #269

rzahoransky opened this issue Feb 25, 2020 · 0 comments

Comments

@rzahoransky
Copy link

Hello Matthijs,

I am trying to build a TTN Mapper application. Most often after a GPS fix I get the error

> FAILURE 
> ...arduino-lmic-master\src\lmic\radio.c:675

The line contains the assertion
ASSERT( (readReg(RegOpMode) & OPMODE_MASK) == OPMODE_SLEEP );

I built my TTN Mapper from Bjoerns-TB's Project: https://github.com/Bjoerns-TB/ttn-gps-tracker. Most often the failure occurs after parsing the 1st or 2nd GPS fix.

Might the failure come due to timing (the sketch uses LowPower sleep cycles), low memory (parsing the GPS NMEA) or LoRa payload size? Could you kindly help me in identifying the problem? Maybe you or someone else had the same issue before?

Thank you very much

Richard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant