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!

Parents Reply
  • jeremysf,

    Were you able to resolve this problem?  I am seeing exactly the same problem you describe.  I also have a custom hardware and so working with the example application is not easily done without significant reconfiguration.

    This problem did not occur using SDK nRF5_SDK_14.2.0_17b948a, but showed up when I ported the code to use SDK nRF5_SDK_15.1.0_a8c0c4d.

    I'm not sure how to debug the problem other than using shotgun techniques.

    --ken

Children
Related