This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error while erasing BMD 350 via recovery tool and jlink command line utility

Hello guys,

Please help me on this.

I want to erase BMD 350 chip using BMD 300 erase and recovery software tool. But I can not do it.Error comes as per the attachment 1.

Also try to use Jlink command line using below script. But when command for speed of target interface [khz] there is no response from BMD 350 chip as shown in attachment 2. Please assist on this.

//Clear App Protect and Erase All
SWDSelect //Selects the SWD Interface
SWDWriteDP 1 0x50000000 //Enables power
SWDWriteDP 2 0x01000000 //Selects the 0x01XXXXXX Access Port and 0xXXXX00XX Register bank in the access port
SWDWriteAP 1 0x00000001 //CTRL-AP Bank 0, register offset 1 (ERASEALL 0x004): Erase all command
sleep 1000 
SWDReadAP 2 //CTRL-AP Bank 0, register offset 2 (ERASEALL 0x008): Erase all command status
SWDReadAP 2 //Second read returns the value
SWDWriteAP 0 0x00000001 
SWDWriteAP 0 0x00000000 
SWDWriteAP 1 0x00000000 
SWDReadAP 3 //CTRL-AP Bank 0, register offset 3 (APPROTECTSTATUS 0x00C): Access port protection status
SWDReadAP 3 //Second read returns the value: 0: enabled 1: not enabled

Regards, Harshitattchment-1.PNGattchment-2.PNG

Related