- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I can't connect my chip by DAP_Acquire command after I set the fully protect for some flash row
Commands like this:
OpenPort MiniProg3/123456789ABC .
SetAcquireMode "Reset"
SetProtocol 8
SetProtocolClock 16
SetProtocolConnector 0
SetPowerVoltage 3.3
DAP_Acquire
PSoC4_WriteProtection 2 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 0 0 0 0
DAP_ReleaseChip
ClosePort
After that, I try to reconnect with Chip but got some error message:
OpenPort MiniProg3/123456789ABC .
SetAcquireMode "Reset"
SetProtocol 8
SetProtocolClock 16
SetProtocolConnector 0
SetPowerVoltage 3.3
DAP_Acquire
E
PSoC device is not acquired! Check connection of the chip to the programmer
DAP_Acquire returned 80004005
80004005 OK
But after I replugging the MiniProg3 then DAP_Acquire will succeed.
Is it possible to let me no need to replugging the MiniProg3 after open fully protect?
Thank you!
Best Regards,
Chihao.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I already sovle my problem...
I entered one less command in above commands: HEX_ReadFile "fw.hex"
Just removed it, the second connected with chip will be success!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, my chip model is CY8C4147AZI-S445.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I already sovle my problem...
I entered one less command in above commands: HEX_ReadFile "fw.hex"
Just removed it, the second connected with chip will be success!