1 year, 9 months ago.

How to build "mbed-os-example-mesh-minimal"thread application for Thunderboard Sense 2 borad?

I tried to build "mbed-os-example-mesh-minimal" thread application for Thunderboard Sense 2 board. It was successful but when I loaded the binary(bin file) on Thunderboard Sense 2 I was not able to see any incoming prompt on the serial terminal.

By pressing and releasing the reset button, the following prompts will be appear on the serial terminal:

++ MbedOS Error Info ++ Error Status: 0x80FF0144 Code: 324 Module: 255 Error Message: Assertion failed: pin != NC Location: 0x29D0D File: /extras/mbed-os.lib/targets/TARGET_Silicon_Labs/TARGET_EFM32/gpio_irq_api.c+91 Error Value: 0x0 Current Thread: main Id: 0x20008338 Entry: 0x2A2C3 StackSize: 0x1000 StackMem: 0x20001A50 SP: 0x20002964 For more info, visit: https://mbed.com/s/error?error=0x80FF0144&tgt=TB_SENSE_12 MbedOS Error Info

Thunderboard Sense 2 part number is EFR32MG12P332F1024GL125. But on error prompt, the target is TARGET_EFM32 so I think there is something wrong in configuration.

How can I solve the issue?

Sincerely,

Mehdi

1 Answer

1 year, 9 months ago.

Hi Mehdi,

It looks like you have some NC pin. Try to add below in your mbed_app.json.

"target_overrides": {
        "TB_SENSE_12": {
            "LED": "LED0",
            "BUTTON": "BTN0"
        }
}

Regards, Desmond

Accepted Answer

Thank you so much Desmond, no error any more.

Sincerely,

Mehdi

posted by Mehdi Bokharaee 23 Aug 2019