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

S132 Error during program/erase phase

I am trying to compile and run the ble_app_hrs example for an nRF52810 dev board, using Segger Embedded Studio v5.34.  I am using nRF5_SDK_17.0.2_d674dde, with s132.  This is on a Windows 10 platform.

I am able to build, download, and run the blinky example using both s112 and s132, after properly configuring FLOAT_ABI_SOFT and heap and stack size.  I can also build, download, and run the hrs example with s112.  However, after building the hrs example with s132, attempting to download to the device results in the following errors:  "Failed to download application.",  "Error during program/erase phase.",  "Please check J-Link and target connection."

Any help with this issue would be greatly appreciated.

Thanks,

Craig

  • Hello,

    The FW image might contain data outside of the valid memory range for the nRF52810 as the SDK "pca10040" board configurations are configured for the nRF52832 part (has more FLASH and RAM available). This might explain the programming error. It may also be that the application overlap with the Softdevice in Flash. But please note that s132 v7 has not been qualified or tested for the nRF52810 as shown in the compatibility matrix here: SDKs and SoftDevices

    Did you try the "pca10040e" project as well (see Developing for nRF52810 guide)? This configuration will have the correct memory configuration for the 52810.

    Best regards,

    Vidar

Related