Skip to content

.pio\libdeps\disco_lrwan1\mcci lorawan lmic library\src\lmic\oslmic.c:53 #63

@DarioSlez

Description

@DarioSlez

Hello,
I have built a LoRa-WAN end-node with a b-l072z-lrwan1 board and the LMIC library. On my desktop PC I can flash the board with the code without any problems and everything works as desired. However, on two different laptops I cannot flash the board with the same project and I get the above error.
Through an internet search I have found possible solutions that have a problem with the pinmap as the cause. However, since I use the same pinmap in both situations, I rule this out. I'll show it again to be on the safe side.

 *                Leds                GPIO 
 *                ----                ----
 *                LED   <――――――――――>  PA5  / 32  (LED_BUILTIN) Useless because PA5 is used for DIO4
 *                RED   <――――――――――>  PB7  /  5  (LED_RED, LED_LD4)
 *                GREEN <――――――――――>  PB5  /  4  (LED_GREEN, LED_LD1) Also used for SS1
 *                BLUE  <――――――――――>  PB6  / 10  (LED_BLUE, LED3)     Also used for SS
 * 
 *                I2C [display]       GPIO
 *                ---                 ----
 *                SDA   <――――――――――>  PB9  / 14  (SDA)
 *                SCL   <――――――――――>  PB8  / 15  (SCL)
 * 
 *                SPI                 GPIO
 *                ---                 ---- 
 *                MOSI  <――――――――――>  PB15 / 11  (MOSI)
 *                MISO  <――――――――――>  PB14 / 12  (MISO)
 *                SCK   <――――――――――>  PB13 / 13  (SCK)
 *                SS    <――――――――――>  PB6  / 10  (SS)
 *                SS1   <――――――――――>  PB5  /  4  (SS1)
 *                SS2   <――――――――――>  PA8  /  7  (SS2)
 *                SS3   <――――――――――>  PA9  /  8  (SS3)
 * 
 *                LoRa                GPIO
 *                ----                ----
 *                MOSI  <――――――――――>  PA7  / 34  (RADIO_MOSI_PORT)
 *                MISO  <――――――――――>  PA6  / 35  (RADIO_MISO_PORT)
 *                SCK   <――――――――――>  PB3  / 36  (RADIO_SCLK_PORT)
 *                NSS   <――――――――――>  PA15 / 37  (RADIO_NSS_PORT)
 *                RST   <――――――――――>  PC0  / 33  (RADIO_RESET_PORT)
 *                RXTX  <――――――――――>  PA1  / 21
 *                DIO0  <――――――――――>  PB4  / 38  (RADIO_DIO_0_PORT)
 *                DIO1  <――――――――――>  PB1  / 39  (RADIO_DIO_1_PORT)
 *                DIO2  <――――――――――>  PB0  / 40  (RADIO_DIO_2_PORT)
 *                DIO3  <――――――――――>  PC13 / 41  (RADIO_DIO_3_PORT)
 *                DIO4  <――――――――――>  PA5  / 32  (RADIO_DIO_4_PORT)
 *                DIO5  <――――――――――>  PA4  / 28  (RADIO_DIO_5_PORT)
 * 
 *                Serial              GPIO
 *                ------              ----
 *                RX    <――――――――――>  PA3  /  0  (PIN_SERIAL_RX)  ST-Link RX
 *                TX    <――――――――――>  PA2  /  1  (PIN_SERIAL_TX)  ST-Link TX
 * 
 *                Button switch       GPIO
 *                ------              ----
 *                USER  <――――――――――>  PB2  /  6  (USER_BTN)

I have also tried downloading LMIC as a new unmodified repository and flashing the b-l072z-lrwan1, but with the same result. If anyone has had problems with this I would appreciate a short message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions