Cameron MacLeod

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Issues with Lora Gateway calibration firmware #12459
    Cameron MacLeod
    Participant

    Thanks for your reply Jason. I made a mistake in my previous post when I said the second output was from Lora-net/lora-gateway, that was in fact from the source you linked.

    I have since deleted and re-cloned the source directory from your linked server, and after editing a few things I have gotten back to the output as above (actual:0, expected:2). The things I have changed are below.

    • Change CFG_BAND from eu868 to us915
    • Change $CC in the Makefile to reference $CC from the environment
    • Include the directory with ftdi.h in CFLAGS
    • Change PID in loragw_spi.ftdi.c to 0x6014

    The output of test_loragw_cal now is as follows:

    root@mtcdt:~# ./test_loragw_cal
    lgw_rxrf_setconf:884: Note: rf_chain 0 configuration; en:1 freq:915500000
    lgw_rxrf_setconf:884: Note: rf_chain 1 configuration; en:1 freq:915500000
    Library version information: Version: 2.0.0; Options: ftdi sx1301 sx1257 us915 ref_1301_868 private;
    Radio A frequency: 915.500000 MHz
    Radio B frequency: 916.500000 MHz
    Number of calibration iterations: 5
    Calibration command: brd: 0, chip: 1257, dac: 3
    
    Note: success connecting the concentrator
    setup_sx125x:676: Note: SX125x #0 version register returned 0x07
    setup_sx125x:684: Note: SX125x #0 clock output disabled
    setup_sx125x:724: Note: SX125x #0 PLL start (attempt 1)
    setup_sx125x:676: Note: SX125x #1 version register returned 0x1f
    setup_sx125x:681: Note: SX125x #1 clock output enabled
    setup_sx125x:724: Note: SX125x #1 PLL start (attempt 1)
    ERROR: Version of calibration firmware not expected, actual:0 expected:2
    
Viewing 1 post (of 1 total)