mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] sterlinghughes opened a new issue #876: UART logging caused an exception for nrf51 board
Date Tue, 06 Mar 2018 19:53:51 GMT
sterlinghughes opened a new issue #876: UART logging caused an exception for nrf51 board
   Blinking code work well, but when started to play with nimble BLE stack I got an issue.
So problem is - even with bare minimum BLE code from tutorial section my board (ble400) does
not work - I got only TX led blinking. 
   So expecting some debug output on UART plugged in USB->UART moduel to it and get this
in terminal
   000000 Assert @ 0xa8cb??
   000000 Unhandled interrupt (2), exception sp 0x20001168??
   000000 r0:0x00000000 r1:0x00000000 r2:0x80000000 r3:0xe000ed00??
   000000 r4:0x0000a8cb r5:0x00000002 r6:0xffffffff r7:0x000091a5??
   000000 r8:0xffffffff r9:0xffffffff r10:0xffffffff r11:0xffffffff??
   000000 r12:0x00000001 lr:0x0000925f pc:0x000081cc psr:0x81000000??
   000000 ICSR:0x00421002??
   This block repeating. 
   Finally I got the reason caused it
   If specify in pkg.yml
     - "@apache-mynewt-core/sys/log/full" 
     - "@apache-mynewt-core/sys/stats/full"
   then this issue appear. If replace full to stub - everything work well. 
   So obviously something is wrong with those 2 packages when running on nrf51 MCU. And really
logging to UART is working - just causing some exception and corresponding application crash
after data transmitted.  
   BTW as I discovered interrupt 2 is an UART interrupt for nrf51 SDK. 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message