A few short notes, after spending several days trying to figure this out:
I had some strange problems with the WDT (watchdog timer) on the AT32UC3C2512. I was able to set all options in the WDT.ctrl register, except for the enable bit (0).
The watchdog (WDT) on the AVR32 AT32UC3 can’t be enabled, if you issued a watchdog reset with zero timeout.
Continue reading “AVR32 watchdog peculiarities”
These are mostly notes to myself, as it’s a somewhat involved process, and the documentation is not very useful. I had to puzzle-piece it together from dozens of form posts and questions, so I hope that this overview will be helpful to others.
Odoo does not have an automatic database update when changing between major versions (however, it seems when updating within the same version, the database is adapted and won’t work with older versions).
To update major versions, two parts have to be updated:
Continue reading “Notes on migrating Odoo from 11 to 12”
While compiling my bootloader that I wrote for AVR32, I noticed that the binary size varied between two different computers, using the same version and project.
Continue reading “GCC – Linking order affects binary size?”
In this post, we will write a python script for FreeCAD that generates planetary gear assemblies.
Continue reading “Planetary gears in FreeCAD (Pt 1)”
This is only a short post, mostly to remind myself. When writing code for microcontrollers, memory usage is often a concern – both for flash and for RAM. Currently I am using an AVR32 processor with 512kb flash and 64kb RAM, which is plenty for a lot of applications, but in some cases particularly the RAM can become thin. Fortunately there are multiple ways to monitor memory usage, and figure out where the memory is used:
Continue reading “Memory usage on microcontroller programs”