After your point of me missing to flash the softdevice i tried the below steps and now the device is being detected over bluetooth. I was able to connect to the device over bluetooth, from mobile using the webide on chrome.
> halt
> nrf5 mass_erase
Mass erase completed.
> program s132_nrf52_3.1.0_softdevice.hex verify
[nrf52.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
** Programming Started **
Padding image section 0 at 0x00000964 with 1692 bytes
Adding extra erase range, 0x0001ebf0 .. 0x0001efff
** Programming Finished **
** Verify Started **
** Verified OK **
> program espruino_bt_nbl.hex verify
[nrf52.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x000008e4 msp: 0x20000400
** Programming Started **
Adding extra erase range, 0x00062d60 .. 0x00062fff
** Programming Finished **
** Verify Started **
** Verified OK **
> reset run
jtag status contains invalid mode value - communication failure
Polling target nrf52.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 100ms
Previous state query failed, trying to reconnect
Polling target nrf52.cpu failed, trying to reexamine
[nrf52.cpu] Cortex-M4 r0p1 processor detected
[nrf52.cpu] target has 6 breakpoints, 4 watchpoints
>
The message after "reset run" being the device power cycle.
Thanks for the help.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
After your point of me missing to flash the softdevice i tried the below steps and now the device is being detected over bluetooth. I was able to connect to the device over bluetooth, from mobile using the webide on chrome.
The message after "reset run" being the device power cycle.
Thanks for the help.