I used the ble_app_uart for pca10040e successfully on the DK52, now I'm trying to port that project onto actual nRF52810 chip.
This is my build configuration on SES (Segger Embedded Studio 4.22).
Under Build:
Memory Segments: FLASH RX 0x0 0x30000;RAM RWX 0x20000000 0x6000 (which is inherited from common configuration)
Under Runtime Memory Area:
Heap Size: 2048 bytes (inherited from common configuration)
Main Stack Size: 2048 bytes (inherited from common configuration)
Process Stack Size: 0 bytes (inherited from common configuration)
Under Debugger:
Target Device: nRF52810_xxAA (inherited from common configuration)
Under Preprocessor:
"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=6;S112;SOFTDEVICE_PRESENT;SWI_DISABLE0;" from project in Common configuration
The code compiles and I can flash without a problem, the app starts and i can talk to it via nRF Connect and the Nordic UART app.
However, every time after about 3-4 minutes, it crashes with Fatal Error. The app consistently crashes after 3-4 minutes after reset.
Using the RTT viewer I can see the following error message:
<00> info> app: Debug logging for UART over RTT started. 00>
<00> error> app: ERROR 8198 [Unknown error code] at :0 00>
00> PC at: 0x00000000 00>
<00> error> app: End of error report 00>
I looked at the infocenter resources to do this:
https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/nrf52810_user_guide.html
but no luck so far. Ultimately I won't be using the hardware UART module, so I commented out the following from main.c
//#include "app_uart.h"
commented out the entire functions:
void uart_event_handle(app_uart_evt_t * p_event)
static void uart_init(void)
Thank you for the support!