GDB Cannot access memory when debugging an STM32

September 30, 2020

While attempting to implement SPI in zig on an STM32G4 I got the error "Cannot access memory at address 0x40013000".

Read more

V-Carving text with DeclaraCAD

August 23, 2020

My wife wanted me to make a sign on the engraver... so I got "v-carve" toolpaths working in DeclaraCAD.

Read more

Attaching to a python app deployed using Dokku with gdb

August 07, 2020

Some notes on how to debug a python app deployed to a (development) server using dokku.

Read more

How to get code coverage using zig and kcov

May 15, 2020

Here's a short post on how to get code coverage with zig using codecov on travis CI.

Read more

Using zig and the STM32H7 to drive stepper motors

May 09, 2020

Finally got stepper motors working with the STM32H7 and DRV8825 using ziglang!

Read more

Find where C/C++ headers are in Linux

April 17, 2020

Here's a tip on how to find the correct path for setting the include directory.

Read more

Testing a Zig project with Travis-CI

April 01, 2020

It's really easy to test a Zig project with travis-ci.

Read more

Fix Virtualbox Guru Meditation Error

March 31, 2020

I was recently getting "Guru Meditation" errors with Virtualbox errors when attempting to start a VM...

Read more

Conda interfering with system libraries

January 29, 2020

Every now and then I get very strange errors saying libraries are not found when they are when attempting to build a project.

Read more

Attaching to STM32 with OpenOCD during sleep

January 10, 2020

mbed-os uses sleep to save power. This is nice except when the debugger won't attach. So here's how to force it.

Read more