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

Unable to run UART BLE app example without debugger

Greetings. Finally ordered some NRF52832 board from HOLY IOT and spend few weeks trying to handle with them.

So, all about setup:

SDK: 15 (15.0.0_a53641a) @ Windows 7 x64

IDE: Segger (Embedded Studio)

SD: 132 (s132_nrf52_3.1.0)

HW: custom board from HOLY IOT (YJ-16048 NRF52832) Seems schematic is fully identical to DK 10040.

The trouble is - when i am programming example from SDK (path\nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_uart\hex\ble_app_uart_pca10040_s132.hex) it is working without any problems with or without connected debugger. When I am programming thru J-link compilled version (without any changes in project, only open-build-run) - it is working only while debug session is running. After reseting power device going to hight current consumption (about 7 mA) and stuck - no advertising or UART communication. 

I spent a while here, and tried following:

- disable semihosting (in linker options i could not find anything like it);

- switch to internal RC (no result);

- disable RTT (one post said it could be blocking);

- disable\enable DCDC;

- reset RESETREAS register on start (as adviced in errata).

Any thought?
Thanks!

Related