Category: Blog Posts

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...

OpenAI, ChatGPT, Etc.

I have casually followed Artificial Intelligence (AI) since the 1980’s. However, back then, they called it Neural Nets (NN). One of the earliest uses of AI was to do OCR (Optical Character Recognition). This OCR technology was used in scanning the amounts that are hand written on checks, for...

Economic Contractions.

Why do we go through “Economic Contractions?” (EC’s) They used to be called “recessions” (which is now a forbidden word in the USA). In worst case they are called “depressions” (which is more forbidden). The reason for EC’s is merchandising. Merchandising Explained (Simplified) Merchandising is the act of transferring...