hi
can you explain the solution in detail,
iam also facing the same issue,
First make sure you have installed AMA3B1KK-KBR
package in pyocd tool. You can follow the instructions posted in RAKDAP1 Quick Start Guide.
Then use pyocd to flash RUI3 firmware through a CMSIS-DAP probe (like RAKDAP1) and add the configuration that I mentioned. So you end with something like this:
pyocd flash -t ama3b1kk-kbr RAK11720_latest_final.hex -Oreset_type=sw_emulated
If everything goes fine, you end with a RAK11720 with factory default firmware, so you can program it through serial port again. Just remember to add a startup delay in your code to avoid bootloader lockup.
And that’s it. Honestly, I don’t know why this extra parameter is required. PyOCD has more options for reset_type
and you may want to check them if the one I suggested does not work for you.
Cheers.
A little disclaimer… I tried this method with 3 RAKS that faced similar issues. In two of them this was the solution, but the third one was blocked due to an unsuccessful flash procedure with the serial bootloader rather than a bad firmware design. I couldn’t recover it even with the CMSIS-DAP probe…
thank you edison…i updated for 2 modules…it really works…
thanks for the response