Error code generated with nrf_gpio.h after programming

SDK Version: SDK_17.1.0_ddd560

Chip: nrf52820

Board: PAN1781 Evaluation Board

IDE: Segger Embedded Studio for ARM v_5.62

Softdevice: S140

Windows 10

Hello,

I'm currently attempting to test the ble_app_blinky_c program and have it connect to ble_app_blinky. I have reconfigured both programs as per this guide so the RAM and FLASH values matched with my board.

At this stage I have successfully downloaded ble_app_blinky and ble_app_blinky_c to two boards and both compile successfully. However when viewing the activity on the J-LINK RTT viewer it generates the following output (relevant params have been set to debug):

00> <info> app_timer: RTC: initialized.
00>
00> <error> app: ERROR 3735928559 [Unknown error code] at ../../../../../../modules/nrfx/hal/nrf_gpio.h:492
00>
00> PC at: 0x00029935
00>
00> <error> app: End of error report
00>

After searching online I'm at a loss as to what to do about this error as I haven't encountered it before, and it doesn't seem too well discussed. Any help would be appreciated.

Note: I've also attached the full project as a zip file. The pca10100e folder is the new migrated version

Parents
  • This check has failed in causing a manual assert

    __STATIC_INLINE NRF_GPIO_Type * nrf_gpio_pin_port_decode(uint32_t * p_pin)
    {
        NRFX_ASSERT(nrf_gpio_pin_present_check(*p_pin));
    What pin number have you supplied here and what is your chip full version (laser markings)?
  • Hi there, thanks for the reply and apologies for only getting back today.

    The chip full version is ENW89857A1KF. I have checked for the value p_pin and it doesn't seem to have one (though i may not be able to find this purely due to my current knowledge of SES).

    I tried going to definition, which returned me to the same place in nrf_gpio.h. I also tried going to declaration with the same result. Finally I attached a watch and ran debug, but it still comes up as "p_pin symbol found". I have to assume it doesn't have a declared value anywhere in the code but I am willing to be wrong.

    Any help appreciated

Reply
  • Hi there, thanks for the reply and apologies for only getting back today.

    The chip full version is ENW89857A1KF. I have checked for the value p_pin and it doesn't seem to have one (though i may not be able to find this purely due to my current knowledge of SES).

    I tried going to definition, which returned me to the same place in nrf_gpio.h. I also tried going to declaration with the same result. Finally I attached a watch and ran debug, but it still comes up as "p_pin symbol found". I have to assume it doesn't have a declared value anywhere in the code but I am willing to be wrong.

    Any help appreciated

Children
Related