You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • So i wasn't even able to program it without the battery using my raspberry pi pico board. Don't know why? pico should be able to produce up to 300mA?

    But it doesn't really matter anyway because when reattached the battery and try and program it i get "Device has AP lock engaged". So i'll have to use a real segger programmer anyway and completely erase the chip.

    Will i be able to recharge the battery if i attach VDD?

  • Device has AP lock engaged". So i'll have to use a real segger programmer anyway

    No need for segger for that, Pico with CMSIS-DAP and OpenOCD could do it too, newer OpenOCD versions even print helpful message how to do that.

    nRF52 device has AP lock engaged (see UICR APPROTECT register).
    Debug access is denied.
    Use 'nrf52_recover' to erase and unlock the device.
    

    So just use 'nrf52_recover' command.

    And BTW you could also unlock it from the device via software by erasing and rewriting UICR from javascript.

About

Avatar for fanoush @fanoush started