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

Adapting NRF52832 example to custom board with NRF52810

My custom board with NRF52810 is done and I'm now trying to get some examples working. I am adapting blinky_s132 in SES. To do this I edited the project options including disabling the FPU, defining BOARD_CUSTOM, chaning the device definition to NRF52810_XXAA, and some other changes. I've attached the SES project file. I also opened this project file in a text editor and changed  ...

arm_target_device_name="nRF52810_xxAA"

I also created a custom_board.h which I have attached. The program compiles correctly and programs fine but when debugging it seems to get stuck in a trap. I don't think SES has registered that I'm using 52810 instead of 52832 as can be seem by the flash and ram usage . Can you help me resolve this?

By the way, I can't seem to upload more than one file for some reason.

Parents Reply
  • I am using the same custom_board.h in both projects. Here is the preprocessor macros from my blinky project:

    BOARD_CUSTOM
    BSP_DEFINES_ONLY
    CONFIG_GPIO_AS_PINRESET
    FLOAT_ABI_SOFT
    INITIALIZE_USER_SECTIONS
    NO_VTOR_CONFIG
    NRF52810_XXAA
    NRF52_PAN_74

    And is the preprocessor macros for the BLE GATTS example:

    APP_TIMER_V2

    APP_TIMER_V2_RTC1_ENABLED

    BOARD_CUSTOM

    CONFIG_GPIO_AS_PINRESET

    FLOAT_ABI_SOFT

    INITIALIZE_USER_SECTIONS

    NO_VTOR_CONFIG

    NRF52810_XXAA

    NRF52_PAN_74

    NRF_SD_BLE_API_VERSION=7

    S112

    SOFTDEVICE_PRESENT

    The only differences I see are...

    APP_TIMER_V2

    APP_TIMER_V2_RTC1_ENABLED

    BSP_DEFINES_ONLY

    NRF_SD_BLE_API_VERSION=7

    S112

    SOFTDEVICE_PRESENT

    I don't have a serial port on my NRF52810 board. Do you mean an emulated serial port over the debugger or a physical serial port?

Children
Related