Some quick notes (mostly to myself) on how to migrate nextcloud to another server, while changing to a docker-based system, and also updating across multiple major versions. In my case, I had a server running version 19, and the current stable version at time of update was 21. Direct migration across multiple major steps is not supported, so I first ported to 19, and then upgraded first to 20, and then to 21. This took a while to figure out from multiple sources, so here a brief summary of the main steps.
Continue reading “Notes on migrating Nextcloud to docker with version mismatch”AVR32 watchdog peculiarities
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.
The solution:
Continue reading “AVR32 watchdog peculiarities”Notes on migrating Odoo from 11 to 12
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.
Overall process
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”DIY wire bending machine
In a quick one day build, I made a 3D printed wire bending machine. I need a bunch of copper wire bridges with a specific shape, and this machine really makes fast work of it! And it can bend other shapes too…
The STEP and STL files are here:
OptiMill MB4 CNC conversion (part 2)
(continued from part 1)
Time to make some drawings! I took some rough measurements and built a CAD model, to be able to plan out the parts for the conversion:
GCC – Linking order affects binary size?
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?”Planetary gears in FreeCAD (Pt 1)
In this post, we will write a python script for FreeCAD that generates planetary gear assemblies.
Memory usage on microcontroller programs
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:
ER collet tray
Quick one-day build: I had too many ER collets rolling around in the drawer, time for a little bit of cleaning up. I designed a simple collet tray in ViaCAD and printed it on the delta printer:
CAD files : er_trays.zip
OptiMill MB4 CNC conversion (part 1)
Bigger, better, faster milling machine
After years of pushing my little X2 Mini-Mill to the limits, and trying to cut aluminium on my large router table, it became clear that I need a bigger machine, that can handle metal with decent precision. And of course it has to be CNC, and it should be a capable beast. Fast, precise, versatile.