I'm trying to program a PSoC4 CYBLE module. I am able to connect to the target and can see that it is halted. However, while it shows up as halted, the error "target : psoc4.cpu wait running fails (-4) unknown" keeps appearing. If I try to run "program file.hex", it claims "Error: ** Unable to reset target **" and if I try to enable (or disable) psoc4 autoerase, it Fails to read the registers when it's trying to determine the device. I'm using the raspberrypi2 native interface for programming. Is there some configuration I need to do that I'm just missing?
Open source ARM Debugger
2 posts • Page 1 of 1
I was able to solve my issue and am posting what I did here to help anyone else who may have this issue. As of now, openocd has a server that hosts patches that have not been merged into the master yet. One if these is called 'psoc4: update for 4x00BLE, L, M, S and PRoC BLE devices' which greatly improves its cypress capabilities. Applying the patch made it work for 128k PSoC/PRoC Devices. However, the 256k devices will crash out.