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

Over consumption just after a flash and no problem after an hardware reset

Hi,

           Recently I have migrated my app of SDK13 to SDK15.2. It's a little bit complicate but it works with patience, thanks for the migration guide !

My problem now is when I flash my app with the new software, the consumption is about ~2.7mA and after a hardware RESET (cut the power) is just few µA. I flash my own board with KEIL MDK 5, with an NRF52832 eval KIT.

         For the migration I have re-create my project with BLE_APP_BLINKY for restart with a proper base. I have tests to make a NVIC_systeme_reset, a watchdog reset and reset with nrfjprog : rfjprg --family NRF52 -r but no manipulation goes to work.

I see this post : https://devzone.nordicsemi.com/f/nordic-q-a/27255/resetting-dif-to-reduce-interface-current-on-nrf52/107583#107583

And if I make the same manip is working but I would understand what can cause the problem in my code.

Before the changing of the SDK, I had made a BASH script to programme few cards directly and I have the same problem now with this new HEX and with the old HEX and now I'm not sure if I have the problem before. I'm sorry if it's a little bit confuse but this debug wash my brain ...

If someone can help, I will be very grateful !

Regards, Romain. 

Build OUTPUT : 


Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
JLink info:
------------
DLL: V6.34g, compiled Sep 26 2018 14:45:08
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
Hardware: V1.00
S/N : 682779794
* JLink Info: Found SW-DP with ID 0x2BA01477
* JLink Info: Found SW-DP with ID 0x2BA01477
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[2]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x24770011)
* JLink Info: AP[1]: JTAG-AP (IDR: 0x02880000)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Core found
* JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000
* JLink Info: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
* JLink Info: Found Cortex-M4 r0p1, Little endian.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ E00FF000
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX