Skip to main content
Visitor II
February 1, 2022
Question

X-CUBE-CELLULAR on B-U585-IOT02A Hard faults when executing AT+CGMR handler. The SID_CTXT.device_info pointer is NULL when memcpy is called to copy the response into the struct. On L4, the pointer is NULL also but the code continues.

  • February 1, 2022
  • 0 replies
  • 589 views

at_modem_signalling.c fRspAnalyze_CGMR() line 1583. In L4 the compiler is v5, on U5 the compiler is v6. It seems the main issue is that the device_info pointer is not initialized before this code executes. CS_get_device_info() is called later after CS_power_on().

    This topic has been closed for replies.