kriswiner/CMWX1ZZABZ

Firmware LoRaSensorTile.v05

klyaruqui opened this issue · 13 comments

Hello kris.

I wanna know if I can update the firmware of the LoRaSensorTile.v05 to program in python or another language. Because arduino ide consume more resources

thanks Kris

I'll ask another question in the future :)

Thanks Kris I will do with the Arduino core

K0I05 commented

Hello Kris,

I installed board support for the sensor tile per instructions and downloaded the entire library (i.e. CMWX1ZZABZ) via github. I updated the v05 sketch (LoRa settings to match TTN settings), referenced the SPIFlash library appropriately (i.e. SPIFlashClass), and the sketch compiles. However, when I attempt to upload the sketch to the board it fails. The programmer in the sketch defaulted to "AVRISP mkII" but is this correct?

BTW: Arduino IDE 1.8.10 and outputs are appearing via Serial Monitor

Thanks

Eric

K0I05 commented

Arduino: 1.8.10 (Linux), Board: "Cicada-L082CZ, Serial, None, 32 MHz, Smallest Code"

Sketch uses 100672 bytes (51%) of program storage space. Maximum is 196608 bytes.
Global variables use 7264 bytes (35%) of dynamic memory, leaving 13216 bytes for local variables. Maximum is 20480 bytes.
10
9
8
7
6
5
4
3
2
1
FAIL
Board at /dev/ttyACM0 is not available

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

K0I05 commented

countdown still occurs. i'm on ubuntu and not windows

K0I05 commented

correct, I will give it a try on a windows machine...

Do you have the 32 bit library support (like libc and such) installed on Ubuntu ?

K0I05 commented

I will check. The board works fine on Windows after updating via Zadig and finally seeing data on TTN through the Dragino LPS8.