Flashing Custom nRF52833 Using nRF52832 DK (PCA10040)

Hello,

    We have implemented and tested the scanner code for the nRF52832. Now, we want to migrate the same code to the nRF52833.
The project has already been configured for the nRF52833, including updates to preprocessor definitions, flash and RAM settings, target device selection, SoftDevice (S140), and startup files.

  We are using a custom nRF52833 board and would like to flash it using the nRF52832 Development Kit (PCA10040).

Hardware connections are as follows:

nRF52832 DK (PCA10040) nRF52833 Custom Board
VDD + VTG VDD
SWDIO SWDIO
SWDCLK SWDCLK
GND GND

   However, when attempting to flash the custom nRF52833 using the PCA10040, we are encountering the following error:

 

  Could you please help us resolve this issue?

Parents
  • Hi, 

    You can use the Programmer app to check whether the SD and app images overlap. 

    What S140 version are you using?

    The application start address for nRF5 devices using the S140 SoftDevice depends on the specific version of the SoftDevice. This means your application should be linked to start at the corresponding address for the S140 version you are using. Setting the correct start address is essential for proper operation, as the SoftDevice expects the application to begin at this location. You can find these values summarized in the table from the Nordic guide on RAM and FLASH adjustment Adjustment of RAM and Flash memory:
    According to the  Adjustment of RAM and Flash memory, here are some relevant start addresses:
    • For S140 v6.0.0, v6.1.0, and v6.1.1, the application FLASH start address is 0x26000.
    • For S140 v7.0.0 and v7.2.0, the application FLASH start address is 0x27000.
    Regards,
    Amanda H.
  •    Thanks for your response.

       We are using the S140 v7.2.0. I referred to the documentation link for adjusting the FLASH and RAM settings.

       We have now successfully flashed and debugged the code after configuring the correct FLASH and RAM addresses.

Reply Children
No Data
Related