Recent Updates
Bearweb Memory Optimization
PHP optimization on the Bearweb CMS to reduce memory usage and chance of OOM.
Bearweb, PHP, Memory usage, Memory optimization, File size, OOM, Out of memory, Output buffer, RAM, stream
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.
AVR-GCC, AVR-AS, AVR-LD, C language, Assembly language, linker, disassembly, compiler, ABI, AVR, ISA, Application Binary Interface, Instruction Set Architecture, Bare metal, object file, embedded
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.
AVR-GCC, C language, disassembly, compiler, ABI, AVR, ISA, Application Binary Interface, Instruction Set Architecture, Stack, Memory layout, Static variable, local variable, object file, optimization, embedded
Tiling PDF
Divide large PDF into tiles on multiple page to allow print on small-size paper, suit for map and civil drawing
Tiling, PDF, Enlarge, Divide large file, Web app
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.
Paspberry Pi Pico, RP2040, Flash, uf2, Linker script, ARM, Assembly, Baremetal, Bootloader, MCU, XIP
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.
WS2812, LED, LED stripe, AVR, ATtiny, Assembly, Segment design, Parallel signal
Keywords
AVR (14), Bearweb (5), 汇编 (5), Assembly (5), ATtiny (5), AVR-GCC (4), ABI (4), ISA (4), PDF (4), MCU (4), PCB (4), UART (3), Embedded system (3), MSC-51 (3), avr-asm (3), Website (3), 网站 (3), Framework (3), 架构 (3), Database-driver (3), 数据库驱动 (3), Web dev (3), 网站开发 (3), PHP (2), OOM (2), AVR-AS (2), AVR-LD (2), C语言 (2), 编译器 (2), 程序二进制接口 (2), 指令集架构 (2), 嵌入式 (2), C language (2), disassembly (2), compiler (2), Application Binary Interface (2), Instruction Set Architecture (2), object file (2), embedded (2), Stack (2), 栈 (2), 内存结构 (2), Web app (2), ARM (2), WS2812 (2), LED (2), CH340 (2), CH340E (2), USB (2), Interface IC (2), 串口 (2), ATtiny25 (2), ATtiny24 (2), ATtiny441 (2), ATtiny261 (2), ATtiny2313 (2), ATtiny48 (2), 嵌入式系统 (2), 单片机 (2), a51 (2), GCC (2), SP (2), FP (2), 68hc11 (2), 6800 (2), ASCII (2), printf (2), C (2), ISR (2), ISR_NAKED (2), CNC (2), KiCad (2), FlatCAM (2), Gerber (2), 2N7002 (2), LL4148 (2), MODBUS (2), MODBUS RTU (2), PLC (2), CRC (2), 89C52 (2), Memory usage (1), Memory optimization (1), File size (1), Out of memory (1), Output buffer (1), RAM (1), stream (1), 内存占用 (1), 内存优化 (1), 文件大小 (1), 内存不足 (1), 输出缓冲 (1), 内存 (1), 流 (1), 链接器 (1), 反汇编 (1), 裸金属 (1), Assembly language (1), linker (1), Bare metal (1), Memory layout (1), Static variable (1), local variable (1), optimization (1), 反编译 (1), 静态变量 (1), 局部变量 (1), 优化 (1), 目标文件 (1), 嵌入式编程 (1), 切割 (1), 放大 (1), 切割大尺寸文件 (1), Web应用 (1), Tiling (1), Enlarge (1), Divide large file (1), Paspberry Pi Pico (1), RP2040 (1), Flash (1), uf2 (1), Linker script (1), Baremetal (1), Bootloader (1), XIP (1), LED stripe (1), Segment design (1), Parallel signal (1), LED灯条 (1), LED灯带 (1), 分区设计 (1), 并行数据 (1), 超声波 (1), 测距 (1), Function frame (1), Stack pointer (1), Frame pointer (1), 调用框架 (1), 栈指针 (1), 框架指针 (1), 工程图 (1), 标题栏 (1), 浏览器程序 (1), Engineering drawing (1), titleblock (1), 字符串 (1), microprocessor (1), string (1), memory structure (1), interrupt service routine (1), 中断 (1), PCB prototyping (1), PCB打样 (1), 电平转换器 (1), 电压 (1), N沟道场效应管 (1), 二极管 (1), 电路设计 (1), PCB走线 (1), Level shifter (1), voltage (1), NMOS (1), diode (1), circuit design (1), PCB layout (1), serial (1), industry control (1), 工业控制 (1), opengl (1), opengl es (1), gl (1), gles (1), glsl (1), dev (1), bug (1), Software (1), Communication (1), avr (1), fuse (1), atmega328 (1), arduino (1), calibrated RC clock (1), SoC (1), FPGA (1), AXI (1), DE-10 (1), Cyclone V (1), Arduino (1), ATmega328 (1), bootloader (1), ultrasonic sensor (1), distance measure (1), assembly (1), 51单片机 (1), MCS-51 (1), 辉光管 (1), 电子管 (1), 时钟 (1), Micro controller (1), Nixie tube (1), Clock (1),