ROMTABLE Addresses

I’ve been mentioning the ROMTABLE in a previous post. So, what is going on with the ROMTABLE? At first I looked at the ARM Debug Interface Architecture Specifications, where it stated in the MEM-AP, the BASE register contains a pointer to the ROMTABLE. As this is only available to the debugger and not from within..

Lees verder

32F103 Comparison (part 3)

Hello there. This is a follow up on the comparison for the *32F103 parts. We’ve got the STM32F103C8T6, GD32F103C8T6, CS32F103C8T6 and APM32F103C8T6. As seen in part 2, there are some differences in how they identify themselves to the debugger. Now I’ll have a look at the ROMTABLE. I can query this information from within my..

Lees verder

DMA driver for WS2812-compatible LEDs

A few years ago I discussed WS2812-compatible (ws2812, sk6812, pd9823, …) LEDs https://andre.blaatschaap.be/2017/03/led-there-be-light-part-1/ https://andre.blaatschaap.be/2017/07/led-there-be-light-part-2/ https://andre.blaatschaap.be/2017/07/led-there-be-light-part-3/ https://andre.blaatschaap.be/2017/07/led-there-be-light-part-4/ Back in the days, I’ve discussed a few code snippets, but I’ve never came around on releasing the firmware I’ve wrote back in the days. Now I’ve uploaded the old code from back in those days to https://github.com/BlaatSchaapArchive/LEDcontroller. This..

Lees verder

32F103 Comparison (part 2)

Welcome back to my 32F103 Comparison. Let’s recap. The STM32F103C8T6 is a popular microcontroller by STMicroelectronics. Various Chinese manufacturers are producing parts in the same naming scheme, eg. APM32F103C8T6, BLM32F103C8T6, CS32F103C8T6, GD32F103C8T6 and MM32F103C8T6. What does this mean? There are parts, such as the famous 555 timer, you can get from many manufacturers and you..

Lees verder

32F103 Comparison (part 1)

A few years ago, several blogs posted about the Gigadevice GD32F103. A drop-in replacement for the STM32F103 from China. GigaDevice is still around, and their parts are available at LCSC, a Chinese distributor, as well as some European distributors like TME. In an earlier posts I’ve mentioned the STM32F103 and the GD32F103, and how I..

Lees verder

PSoC4, SCB and TCPWM

Continuing on the PSoC4. I’ve written the previously discussed register-poking-code into some functions for the library. This code talks nicely over the UART, as it did before. So, now the code is in the library for the 4100/4200 family, let’s have a look at the 4100M/4200M family. As far as I can tell, the only..

Lees verder

About designing PCBs

A few years ago, I decided to make a project: A temperature logger, that logs the temperature of a number of DS18B20 sensors and stores them to an SD card. The project consisted of an ATMEL AVR (ATMEGA328P) microcontroller, an RTC, an SD card holder, and of course some temperature sensors. Back then, I didn’t..

Lees verder

Some thoughts about embedded development

Some thoughts about embedded development. In specific, about source code licenses. And the reason why I started this PSoC4 support for libopencm3 project. The first reason to start the project is, right now, the only way to develop for the PSoC4 is through PSoC Creator, which only runs on Microsoft Windows. As I don’t use..

Lees verder