-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
Error with "ASSERT(v == 0x12 );" #278
Comments
This lives in a .c file, so you cannot use Instead, you can use e.g. arduino-lmic/src/lmic/config.h Line 33 in 54bc51d
|
Hi So I added a couple of printf as suggested as debugging method: The output was That help me to realized that v is 0x0 so is not going anywhere, but I wonder if is a matter of how the board is linked Do you think my Arduino got damaged? Maybe my Ra-02 module? or is there anything I’m missing? Any help is going to be highly appreciated, thanks a lot! |
If you’re using this wiring I would suggest reading the comment of Ivan on the original site. |
Hi, I hope you are doing good. Please replace this:
with this:
|
@guljanjua If this assert triggers, that's a symptom of many different problems, so there's no single cause here. The fix you suggest will, I think, simply skip initialization of the chip if it doesn't look like the right chip (and/or communication is not working), which is not really a fix (I would doubt that the library would actually work after that). If your suggestion is to replaces this so the error can be handled elsewhere rather than doing a fatal assert, then that would make some sense, but this library is no longer being actively developed. I would then suggest looking at the MCCI LMIC version (see the README), which is still being developed. |
Hello
I am currently trying to use a MKRZERO and a RFM95 module to connect to the TTN in order to periodically send and access sensor data. I have been trying to use this library for the past week and I've had some success. The library and the example code works well on the ardiuno uno which I used to first test the code (even though the uno will only stay connected for a couple messages).
For reference Ii have been using this tutorial:
https://www.mobilefish.com/developer/lorawan/lorawan_quickguide_build_lora_node_rfm95_arduino_uno.html
Working with the MKRZERO though i have hit a road block.
The error I keep getting is:
This refers to the line
ASSERT(v == 0x12 )
From reading previous threads, I know that this "means the version number read is not equal to what's expected". I know that the SPI connection is solid and the pin definitions are accurate because I've been able to unload code using the LORA Arduino library to the MKRZERO and it runs fine.
I've been trying to print that 'v' value, using the code that someone posted eariler:
but this doesn't work as it gives me the following error when compiling
I've tried about everything that I can think of up until this point.
Thanks for the help in advance!
The text was updated successfully, but these errors were encountered: