Bootloader self-program - AVR109 speed test avrdude - Advanced AVR 3.0 Core - 1Mbps with 8MHz CPU

Channel:
Subscribers:
580
Published on ● Video Link: https://www.youtube.com/watch?v=O6D6VDN0ca4



Duration: 2:20
12 views
0


1Mbps with 8MHz CPU
4441 bytes/second write
7772 bytes/second Read

Tested with original code; 4.4kb/s is not bad considering the USBasp tested at 1.3kb/s, but this can be improved, so 4.4kb/s is the base line to improve upon.

Technically, maximum transfer speed with UART running at 1Mbps is 1000000/(8+2)=100000 bytes per second or 100kb/s; but maximum time to write to one page of flash is about 3.7ms + 3.7ms, or 64/(0.0037+0.0037)=8648 bytes per second, and this maximize speed can't not be increased, since the flash is using a 128kHz fixed watchdog timer, so able to get 80% of the maximum write speed of 8648*0.8=6918 bytes/second is good enough. Since the maximize flash time could be 4.5ms or 64/(0.0045+0.0045)=7111; so 7kb/s is the objective, and it can should be easily achievable.

The read time on the other hand, is extremely slow because reading doesn't have a hardware limitation, so technically read speed can be very fast or at least 80kb/s;




Other Videos By Flyandance


2023-04-02Final Fantasy Tactics Gameplay: AzScreenRecorder screen capture test
2023-04-01Full kit Assembly Video Uncut (no sound): Juno Binary retro 2.0 - soldering SMT SMD
2023-03-31Mr.F's Straight Razor Hair Hanging Test HHT - FD Honing Service
2023-03-26New FDxBOOT 1.0.RC - 476 bytes - 4770 B/s @1Mpbs - Bootloader self-program - AVR109/AVR911/butterfly
2023-03-25Spoofing AVR109/AVR911/butterfly - Fixing its retarded protocol and Bootloader AVRdude AVROSP
2023-03-24Bootloader self-program - Juno AVR109 Beta/draft Part 2 - Advanced AVR 3.0 Core
2023-03-23AVR109 Deeper look
2023-03-22Cutting board is over-rated: Cut half onion by hand w/o one
2023-03-21Bare Minimal 2 | .init0 | naked | .ctors | signal | -nostartfiles - Advanced AVR 3.0 Core
2023-03-20Bootloader self-program - Juno AVR109 Rewrite Part 1 - Advanced AVR 3.0 Core
2023-03-19Bootloader self-program - AVR109 speed test avrdude - Advanced AVR 3.0 Core - 1Mbps with 8MHz CPU
2023-03-18Bootloader self-program - AVR109 w/ AVROSP and avrdude - Advanced AVR 3.0 Core
2023-03-17SPM 3.0 writes to self - Advanced AVR 3.0 Core Bootloader
2023-03-16SPM 2.0 writes to self - Advanced AVR 3.0 Core Bootloader
2023-03-14You jump, ijmp - Inline asm Indirect Jump - Advanced AVR 3.0 Core Bootloader
2023-03-05yt-dlp - A ultimate guide (The result of 2 weeks of hard work)
2023-03-03True bare Minimal code - Advanced AVR 3.0 Core Bootloader Pro Part 4 Size does matters getting naked
2023-02-28Bootloader-less Pro - Advanced AVR 3.0 Core - Part 3 - SPM - App Writes to App section - programmer
2023-02-27Bootloader-less Pro - Advanced AVR 3.0 Core - Part 2 - SPM erase self destruction code
2023-02-26Inline ASM - Advanced AVR 3.0 Core - LMP read from flash Load Program Memory
2023-02-25Inline ASM - Advanced AVR 3.0 Core - Finalizing