nrf52 hal_os_tick prevents starting of a debugging session

running command$ newt debug bleprph -n
[/Users/pkircher/dev/puck/repos/apache-mynewt-core/hw/bsp/nrf52dk/nrf52dk_debug.sh
 /Users/pkircher/dev/puck/repos/apache-mynewt-core/hw/bsp/nrf52dk 
/Users/pkircher/dev/puck/bin/targets/bleprph/app/apps/bleprph/bleprph]
/Users/pkircher/dev/puck/repos/apache-mynewt-core/hw/scripts/common.sh: line 
38: [: =: unary operator expected
SEGGER J-Link GDB Server V6.14c Command Line Version

JLinkARM.dll V6.14c (DLL compiled Mar 31 2017 17:42:10)

-----GDB Server start settings-----
GDBInit file:                  none
GDB Server Listening port:     3333
SWO raw output listening port: 2332
Terminal I/O port:             2333
Accept remote connection:      yes
Generate logfile:              off
Verify download:               off
Init regs on start:            off
Silent mode:                   off
Single run mode:               on
Target connection timeout:     0 ms
------J-Link related settings------
J-Link Host interface:         USB
J-Link script:                 none
J-Link settings file:          none
------Target related settings------
Target device:                 nRF52
Target interface:              SWD
Target interface speed:        4000kHz
Target endian:                 little

Connecting to J-Link...
J-Link is connected.
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
Hardware: V8.00
S/N: 261282027
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB
Checking target voltage...
Target voltage: 2.90 V
Listening on TCP/IP port 3333
Connecting to target...Connected to target
Waiting for GDB connection...Connected to 127.0.0.1
Reading all registers
Read 4 bytes @ address 0x0001C6FA (Data = 0xE8BDB11C)
Reading 64 bytes @ address 0x20002F40
Read 4 bytes @ address 0x000089DE (Data = 0xF0014638)
Read 2 bytes @ address 0x00008410 (Data = 0x2100)
Read 2 bytes @ address 0x00008482 (Data = 0x9003)
Reading 64 bytes @ address 0x20002F80
Read 4 bytes @ address 0x00000000 (Data = 0x20010000)
Read 4 bytes @ address 0x00000000 (Data = 0x20010000)
Setting breakpoint @ address 0x00008482, Size = 2, BPHandle = 0x0001
Starting target CPU…


the breakpoint points on main.c 129 > apps/bleprph/src

Reading symbols from 
/Users/pkircher/dev/puck/bin/targets/bleprph/app/apps/bleprph/bleprph.elf...
done.
os_tick_idle (ticks=595) at 
repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_os_tick.c:200
200         if (ticks > 0) {
Not implemented stop reason (assuming exception): undefined

never hits that breakpoint - is that a known issue ?

and yes im aware im asking a lot questions .. but im more then willing to 
contribute back once i got the hang of it

thanks once again
pierre


Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to