WM1302 with Panther X2 failed to start the concentrator

Hey,
I bought a Seeed WM1302 (868 SPI) to put into my PantherX2 with Merryiot firmware, but I am not able to get it to work.
This is what I get with the preinstalled Packet Forwarder:

root@MerryIoTHotspotV19366:/opt/sx1302_hal/bin# ./lora_pkt_fwd -c global_conf.json.sx1250.EU868
*** Packet Forwarder ***
Version: 1.0.5
*** SX1302 HAL library version info ***
Version: 1.0.5;


INFO: Little endian host
INFO: found configuration file global_conf.json.sx1250.EU868, parsing it
INFO: global_conf.json.sx1250.EU868 does contain a JSON object named SX130x_conf, parsing SX1302 parameters
INFO: spidev_path /dev/spidev3.0, lorawan_public 1, clksrc 0, full_duplex 0
INFO: antenna_gain 0 dBi
INFO: Configuring legacy timestamp
INFO: Configuring Tx Gain LUT for rf_chain 0 with 16 indexes for sx1250
INFO: radio 0 enabled (type SX1250), center frequency 867500000, RSSI offset -215.399994, tx enabled 1, single input mode 0
INFO: radio 1 enabled (type SX1250), center frequency 868500000, RSSI offset -215.399994, tx enabled 0, single input mode 0
INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7, Explicit header
INFO: FSK channel 8 disabled
INFO: global_conf.json.sx1250.EU868 does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to AA555A0000000000
INFO: server hostname or IP address is configured to “localhost”
INFO: upstream port is configured to “1680”
INFO: downstream port is configured to “1680”
INFO: downstream keep-alive interval is configured to 10 seconds
INFO: statistics display interval is configured to 30 seconds
INFO: upstream PUSH_DATA time-out is configured to 100 ms
INFO: packets received with a valid CRC will be forwarded
INFO: packets received with a CRC error will NOT be forwarded
INFO: packets received with no CRC will NOT be forwarded
INFO: GPS I2C path is configured to “/dev/i2c-1”
INFO: global_conf.json.sx1250.EU868 does not contain a JSON object named debug_conf
INFO: no debug configuration
WARNING: [main] impossible to open /dev/i2c-1 for GPS sync (check permissions)
ERROR: [main] failed to start the concentrator

Hi there,
and welcome to the forum.

Looks like it needs to be the browan image for that concentrator to work, This is a IOTMiner yes?

At first blush I would say the Json conf is not complete or incorrect for older device?
also doesn’t look like the gps is working?

GPS I2C path is configured to “/dev/i2c-1” , Hmmm is this correct? <

My .02
HTH
GL :slight_smile: PJ

There is a browan image on it and yes it is an IOTMiner. :slight_smile:
And I did not change something with the json. Just to try with the GPIO mapping from this wiki: LoRaWAN® Gateway Module WM1302 | Seeed Studio Wiki .
So I think the GPS I2C path has also be correct, because I did not change it. How does the device recognize which concentrator card is in it? There are folders for sx1308 and sx1302.
And what is the right GPIO mapping in the json for my case?

Hi there,
Hmmm, a bit over my pay grade here but, It’s the sx1302 maybe move or rename the other,
let me look at the wiki and see if I can tell the GPIO to use.
You are darn close , so keep digging You’ll get it going. :v:
HTH
GL :slight_smile: PJ

what about this one? (22)

try to toggle (22) to start.