SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By micromaster

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?

By micromaster
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.
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]