I have a custom board designed which implements a Arduino Micro (ATmega32U4) and an nRF8001 chip based upon Richard Clarks' nRF8001 breakout. The Arduino FW uses a slightly enhanced version of RedBear's nRF8001 library which in turn calls lib_aci() Nordic function. Both were pulled from GIT last week.
I've gotten the code written to a point were I can send/recv data either via USB or via BLE using the nRF8001. The problem is that I can't seem to make the nRF8001 libraries continue to function if the USB UART (Serial) connected.
What's the trick? AFAIK; debug messages are disabled in the routines as I'm initing the nRF libs with: lib_aci_init(&aci_state, false);
I can use USB to initiate a connection over BLE; but as soon as I disconnect the usb serial monitor (teraterm); the BLE device disappears.
...now as I formulated this question; It occurs to me that perhaps the disconnection of the serial port is causing a glitch of power since I have no external DC power supply. Going to wire one up now to see if it's that.