Embedded

Embedded system: Circuit, MCU, and PCB

Computer

Computer project: High-level programming

Bearweb Memory Optimization

PHP optimization on the Bearweb CMS to reduce memory usage and chance of OOM.

AVR Linker - Manual Link, Bare Metal and Mixed Source Code

This article discusses how to write assembly code using the GNU avr-as assembler for AVR microprocessor and how to link the object files into AVR executables. Furthermore, it shows how to write a bare metal C program with manual link, and how to write a program with mixed C and assembly code for AVR.

Machine Code Generated by AVR-GCC

In this article, a number of experiments are used to examine the output machine code generated by AVR-GCC. Description is given for possible reasons AVR-GCC generates machine code in this way.

Tiling PDF

Divide large PDF into tiles on multiple page to allow print on small-size paper, suit for map and civil drawing

Raspberry Pi Pico (RP2040) SRAM and Flash Programming

Program the Pico (RP2040) from the perspective of an 8-bit MCU developer’s view, focus on details in SRAM and flash memory programming. Analysis the SDK 2nd stage bootloader.

ATtiny based WS2812 Light Bar Controller

This article shows how to use AVR MCU (ATtiny) to efficiently drive WS2812 LEDs, that is, using parallel signals to drive segmented LED stripe.

Recent Updates

Bearweb Memory Optimization

PHP optimization on the Bearweb CMS to reduce memory usage and chance of OOM.

AVR Linker - Manual Link, Bare Metal and Mixed Source Code

This article discusses how to write assembly code using the GNU avr-as assembler for AVR microprocessor and how to link the object files into AVR executables. Furthermore, it shows how to write a bare metal C program with manual link, and how to write a program with mixed C and assembly code for AVR.

Machine Code Generated by AVR-GCC

In this article, a number of experiments are used to examine the output machine code generated by AVR-GCC. Description is given for possible reasons AVR-GCC generates machine code in this way.

Tiling PDF

Divide large PDF into tiles on multiple page to allow print on small-size paper, suit for map and civil drawing

Raspberry Pi Pico (RP2040) SRAM and Flash Programming

Program the Pico (RP2040) from the perspective of an 8-bit MCU developer’s view, focus on details in SRAM and flash memory programming. Analysis the SDK 2nd stage bootloader.

ATtiny based WS2812 Light Bar Controller

This article shows how to use AVR MCU (ATtiny) to efficiently drive WS2812 LEDs, that is, using parallel signals to drive segmented LED stripe.

Keywords