I buy ADuCM320iQSPZ Eva board, I used the J-link OB emulator to upgrade example Firmware to the Eva board, it works good.
But after I download my firmware, which I used UART pin(P1.0 and P1.1), the J-link OB emulator does not work any more, I guess I used these two IO which is used by J-link OB emulator lead to this issue, But I do not know how to erase the Flash and reload the Fw, please kindly help to fix this issue, thanks.
I think it maybe related to the BM(P2.3), I config it to be output pin, How can I fixed this issue and upgrade the firmware, thanks.
You are correct that the one causing issue is the BM pin configured as output. There are alot of workarounds that you can do to erase the program in the part but it requires some external modules to do it. Below is one of the step that you can do to mass erase the part.
Segger - Jlink
In the installer, there's segger software that you can install in which you can able to access such register addresses. If you are able to read the MMRs in J-Link then you can use the "erase" command in it. See photo below. First, you should try to reset the part first before doing the steps below just to make sure that the core can be identified. Once mass erase have push through, it will erase the program in the part and you can already load another FW in it.
Hope this helps Joylu. Thanks!
Thanks for your kindly reply, it works, thank you so much.