Getting Error

I am developing a custom application that was started from 1 of the bluetooth examples for a customer and though I have been using the same custom PCB for 7 months, I am now, for the past few weeks, getting this error any time I run in debug mode. My application will run for a varying amount of time sometimes a second sometimes a minute then it throws the error. 

<error> app: ERROR 3735928559 [Unknown error code] at C:/nRF5_SDK_17.1.0_ddde560/modules/nrfx/hal/nrf_gpio.h:492
PC at: 0x00038B67
<error> app: End of error report

I was told to check out my call stack for further information and perhaps a clue as to which pin is causing this issue but the hex for the pin is changing every instance, I am attaching 2 screen captures as examples.

Any help is greatly appreciated.

Thank you

Matt

Parents
  • Hello Matt,

    The first impression I get after looking at the call stacks is that it looks like a stack or buffer overrun. The pin variable passed to nrf_gpio_pin_toggle() is clearly corrupted, at least.

    I found the project you shared with me in an earlier ticket, and it shows the pin number being retrieved from a global array. Can you check what the array index is when the assert is raised, and/or if the array contains the expected pin numbers?

    Best regards,

    Vidar

Reply
  • Hello Matt,

    The first impression I get after looking at the call stacks is that it looks like a stack or buffer overrun. The pin variable passed to nrf_gpio_pin_toggle() is clearly corrupted, at least.

    I found the project you shared with me in an earlier ticket, and it shows the pin number being retrieved from a global array. Can you check what the array index is when the assert is raised, and/or if the array contains the expected pin numbers?

    Best regards,

    Vidar

Children
Related