Juno FDxICSP 1.0 - AVR910 Read back ISP Programmer - devcode Explanation AVR Hack universal command

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



Duration: 2:19
21 views
0


AVR910 is retarded in many levels, but it's salvageable still. I have 80% confidence to get it working with 90% of the avr MCU.

AVR910 uses this arbitrary devcode to identify target MCU, and so it supports only 127 MCUs with serial mode, 255 with parallel mode, but only few MCU are given a devcode, so there are just panic level confusion. What is the point of this devcode anyway? The host program needs to know what MCU to program, so it can supply the correct commands to program the target MCU, but this would be very slow, issuing long commands to read back one byte for instant is not good. Therefore the ISP programmer program itself should handle the algorithm to write to and read from the target MCU, and it can only do so by knowing what MCU it's programming, so in short, this devcode is just a simplified version of the 3 signature bytes for the programmer to supply the correct algorithm to address the connected targeted MCU. Does that make any sense?

The correct way or non-retarded way to do so would be letting the programmer send back the target MCU's signature bytes to the host, and then after the host decodes the signature bytes, and send back the required algorithm code to the programmer, then normal data exchange can commence. It turns out that, it's very easy to decode the signature bytes that the programmer can do that by itself.

PS. The very slow fuse readback speed is due to a typo, and it has since been fixed. Fuse read back is fast.

################################
Host to Programmer: (read fuse)
53 56 76 70 61 62
SV vp ab

74 54 77 50 73
tT(w) Ps

(New universal command)
2E 50 00 00 00
2E 50 00 00 00
2E 50 00 00 00
2E 58 08 00 00
2E 58 08 00 00
2E 58 08 00 00
2E 50 00 00 00
2E 50 00 00 00
2E 50 00 00 00
2E 50 00 00 00
2E 58 08 00 00
2E 58 08 00 00
2E 58 08 00 00
4C

################################
Programmer to host: (read Fuse)
46 44 78 49 43 53 50 --FDxICSP

31 30 46 44 53 59 59 00 20
10 FD SY Y(k)(k)

77 00 0D 0D
(w)0 (k)(k)

07 90 1E
signature bytes

72 0D
72 0D
72 0D
0D 0D 0D
72 0D
72 0D
72 0D
72 0D
0D 0D 0D 0D

################################




Other Videos By Flyandance


2024-01-23Juno FDxICSP 1 - Universal Self-Programmable Programmer 2024 for AVR MCU loosely based on AVR910
2024-01-22Juno V4 - A Ultimate AVR MCU development board - Communication - Self Programmable - Handcrafted
2024-01-21Juno FDxboot 1.51x - Ultimate 31kB/s Upload speed Atmega128 - RAMPZ bootloader AVR MCU Atmel AVR109
2024-01-20Juno FDxboot 1.51 - 2Mbps transfer rate with CH340G!!! 2000000bps - Bootloader AVR MCU - New Record
2024-01-19Juno FDxICSP 1.1 - Upload Test Atiny13, Atmega88p, atmega328p - New AVR Universal Programmer AVR910
2024-01-18Juno FDxICSP 1.1 - Maximum upload speed - AVR910 Protocol deeper look AVRdude AVR Programmer
2024-01-17Juno FDxICSP 1.0 - Upload speed Test in deep - New AVR Universal Programmer AVR910
2024-01-16Juno FDxICSP 1.0 - New AVR Programmer Test Atmega88p + devcode + bypass -Avrdude AVR910 AVR109 ISP
2024-01-15Paradox: Juno FDxICSP 1.0 Beta - 2024 AVR MCU Self-Programmable Programmer based on AVR910 working
2024-01-15Juno FDxICSP 1.0 - New AVR910 Self-Programmable Programmer Test - Read Write Fuse Lock Calibration
2024-01-14Juno FDxICSP 1.0 - AVR910 Read back ISP Programmer - devcode Explanation AVR Hack universal command
2024-01-13FDxICSP 1.0 - ISP library Test - Flash EEPROM fuse - AVR MCU Self-Programmable Programmer
2024-01-12FDxICSP 1.0 - Writing Fuses to an AVR MCU Self-Programmable Programmer
2024-01-113 Algorithms for Programming AVR MCU memory - low high level decoder encoder - Serial SPI Atmel
2024-01-08Self-Programmable Programmer - Juno DEV FDxboot - Bootloader + Programmer - Serial SPI AVR MCU Atmel
2024-01-06Juno FDxboot 1.5 - Compiling Bootloader Universal for AVR Atmega8 88 168 16 32 Atmega328p MCU Atmel
2024-01-05Juno FDxboot 1.34 - Bootloader robustness Test EDU 1 - Atmega16 - Auto Recovery Upload AVR MCU Atmel
2024-01-04Juno FDxboot 1.33 - Bootloader Test Auto upload AVR MCU Atmel
2024-01-03Juno FDxboot 1.32 - Bootloader Test Atmega328 - New Record: 19 kB/s Upload Speed Auto upload AVR MCU
2024-01-02Juno FDxboot 1.32 - Universal Bootloader Test Atmega88 - Auto upload no reset button AVR MCU Atmel
2024-01-01Pre-Juno V4 - PWM controls LCD contrast - 1602 - Liquid crystal AVR MCU Advanced - 5x8