This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

mqtt sample error. USAGE FAULT and Hardware exception

Build and flash mqtt sample.  Use board nRF9160. Ubuntu 16.04. Firstly flash secure boot, just after that flash mqtt sample.
Have this in terminal:

The MQTT simple sample started


LTE Link Connecting ...


LTE Link Connected!


***** USAGE FAULT *****


  Unaligned memory access


***** Hardware exception *****


Current thread ID = 0x20020244


Faulting instruction address = 0x539fa


Fatal fault in essential thread! Spinning...

As I understand correctly it falls in function static void broker_init(void):

in this line :

getaddrinfo(CONFIG_MQTT_BROKER_HOSTNAME, NULL, &hints, &result);

Parents Reply Children
No Data
Related