PSOC5 JLINK & KitProg Debugging

After experimenting with the USB port and debugging, I have uncovered some details not in the literature. JLINK Without Reset Line You can get the attention of an ARM processor’s Debug hardware using SCLK and SDIO without resetting the processor. That lets you “attach” to the processor and see...

VMWare, VirtualBox (updated)

VMWare’s 13.5.2 update dropped the support for (updated) Monterey in the VMWare Tools, based on my experience. (Probably also previous versions of OSX.) VMWare Tools reports “wrong processor type.” I suspect that was a mistake, but since Broadcom nuked all of my VMWare accounts, I am not reporting it...

USB Debug, JLink, KitProg3

tldr; Use KitProg3 with PSOC Creator from Windows to connect. Starts ARM Debug On USB pins, regardless of current USB port usage. USB Debug Fail — OPENOCD, JLINK If the USB port is used, or those pins are used for other purposes, then neither OPEN OCD nor JLINK can...

PSOC5LP USB Program / Debug Using KitProg3, VSCode, Mac & Linux

You can program and debug the PSOC5LP over the USB port with OpenOCD and VSCode — with some crutches. The short of it is you have to get the PSOC5’s attention with the PSOC Creator menu “Select Debug Target.” Frustrations I experimented with programming the PSOC using a KitProg....

VMWare is Dead. Long Live Virtualbox (updated)

Updated for audio choice and snapshot recommendation. I use VMWare for virtual machines on my Mac to do the things only PSOC Creator can do. Modus Toolbox does not support schematic design of internals for PSOC processors. To get that functionality on the Mac, you need to use PSOC...

PSOC5 Analog Gotchas, Interesting Trick

In previous posts, I showed how to create a voltage 1/2 of your VDDA using analog pins with pull up/down resistors. Manipulating these pins through writing values to them provides you with the ability to output +5v (VDDA), (approx) 2.5v (~1/2 VDDA), and 0V in code, without using external...

Android Studio: Fast(er) Emulator

Eventually, I’ll let you know why Android on the SOCMAKER blog. Hint: USB OTG and PSOC5. Android Studio Program (ASP) is a mess. The IntelliJ IDE may be good, but Google has burdened it so badly it can barely function on a 3.6ghz 8 core I9 with 40gb of...

PSOC5 Some Analog Tips

If you are like me, the OpAmp in the PSOC5 is occasionally used. I use it for driving signals out from the 8 bit Voltage DAC. (The voltage DAC is the Current DAC feeding into a resistor, so it has a high signal impedance. It can’t drive any resistance...

Android Studio & Old Projects

Before I give you the gritty (dirty) details, you need to understand some things about the ABC company and the Fruit Company. They don’t care. You are dirt under their shoes. The only reason the ABC company lets you play in their store is because the Fruit company does....

PSOC5: Pulse Detection and PGA (Programmable Gain Amplifier)

Going back 10 years to just before I discovered the PSOC5, picking pulses off of a line would require OpAmps, Voltage References, Multiple Power Supplies, bypass capacitors, resistors, and a lot of board space. This time it is different, even though I use the same parts. The difference is...