mirakonta / lora_gateway

Driver/HAL to build a gateway using a concentrator board based on Semtech SX1301 multi-channel modem and SX1257/SX1255 RF transceivers.
Other
107 stars 39 forks source link

failed to start the concentrator running util_pkt_logger #5

Open jen-gineer opened 7 years ago

jen-gineer commented 7 years ago

Hi, I don't think this is an issue but I am trying to run the basic util_pkt_logger to test if the gateway is working. However, the gateway (concentrator) doesn't even start. I have followed this tutorial exactly.. https://github.com/mirakonta/lora_gateway/wiki

I get the error message "loragw_pkt_logger: ERROR: failed to start the concentrator"

Does anyone have any ideas why this might be? I don't get this error when I run the packet_forwarder programs.

screen shot 2017-04-11 at 5 16 10 pm

nestorayuso commented 7 years ago

I never tried util_pkt_logger. I checked and all seems correct, try to delete local_conf.json

jen-gineer commented 7 years ago

Thanks for trying the code.

I tried with the local_conf.json deleted and it still had the same error message. Anyone have any ideas what would cause the concentrator to start? I've tried looking through the code but I'm not sure

mijarat commented 7 years ago

Hello, I have the same issue as @iot1234 any ideas to fix it? best,

dwalkes commented 6 years ago

Take a look at syslog, you may see that the FTDI drops out

kernel: [ 5417.199547] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
kernel: [ 5417.199603] ftdi_sio 2-1.2:1.0: device disconnected

In my experience, this happened when the mini pcie to usb adapter 3.3V regulator was dropping out. You can measure this on the via just next to pin 51 on the top side of the MTAC-LORA card. Fix was to pull the inductor on the mcard and use a power supply 3.3v instead of the regulator.

If the problem isn't that the FTDI chip is dropping out you can also try running strace which should give you more information about where it's failing.