New FDxBOOT 1.0.RC - 476 bytes - 4770 B/s @1Mpbs - Bootloader self-program - AVR109/AVR911/butterfly

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



Duration: 2:20
13 views
0


FDxBOOT 1.0.RC Bootloader @1Mpbs
Compiled size: 476 bytes
4770 B/s Write
7929 B/s Read

Original AVR109 Bootloader @1Mpbs
Compiled size: 1288 bytes
4441 B/s Write
7772 B/s Read

Much smaller, slightly faster, and it's expected because speed optimization has not been done yet. To increase the upload speed, one page of data should be serially-shifted-in while the flash is being written (AKA. Doing 2 things at a time). A lot of responses that can be ignored are omitted, but unfortunately this dumb protocol requires a 7-character ID, and this can't be omitted and so getting down to 256 bytes is almost not possible, so this is a 512 bytes bootloader. It will not work with AVROSP, but is fine with AVRdude. It's working now, and is officially called the FDxBOOT, but further optimizations are required.

Further tasks:
1, pipeline the serial and flash routine to improve upload speed. (6kB/s is the goal for write)
2, add clean up the code and add better comment/documentation.
3, reduce the size further (This semi-C-ASM code has not been deeply analysed)
4, add a routine to switch between App and Boot section not requiring the use of a jumper or a switch
5, can be more than a bootloader. It's only part of the Advanced AVR-3.0.




Other Videos By Flyandance


2023-04-08Knife Skill: Cut half onion by hand w/o a cutting board 2
2023-04-08Infinity Ops Online FPS Gameplay 3 maps in a row: A-Z Screen capture test 1080p
2023-04-08Package Thief Defender: Draft 2 - MCU Trap
2023-04-07Infinity Ops Online FPS Gameplay: az recorder test 3 720p
2023-04-07Package Thief Defender: Draft 1 - MCU Trap
2023-04-04AutoHotKey Script: auto delete in windows Photo Viewer
2023-04-03NFS-Most-Wanted Gameplay (no sound): Screen az recorder test 2
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