Well, i am done with writing firmware coding. The results are quite good.
The latest code can be always find out here.
https://github.com/amitesh-singh/FASTUSBasp
Next target is to develop an adapter board so that you just plug and place blue-pill board on it and start flashing AVRs.
$ sudo avrdude -c usbasp-clone -p m16 -U flash:w:ST7735.hex
[sudo] password for ami:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9403 (probably m16)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "ST7735.hex"
avrdude: input file ST7735.hex auto detected as Intel Hex
avrdude: writing flash (4200 bytes):
Writing | ################################################## | 100% 0.28s
avrdude: 4200 bytes of flash written
avrdude: verifying flash memory against ST7735.hex:
avrdude: load data flash data from input file ST7735.hex:
avrdude: input file ST7735.hex auto detected as Intel Hex
avrdude: input file ST7735.hex contains 4200 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.08s
avrdude: verifying ...
avrdude: 4200 bytes of flash verified
avrdude: safemode: Fuses OK (E:FF, H:D8, L:CF)
avrdude done. Thank you.
Write speed:>>> 4200/0.28 = 15KBps
Read Speed:
>>> 4200/0.08 = 52.5 KBps
This is quite nice!
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
there was a bug in sleep library. After fixing this
Write speed is 15KBps
and Read speed is 52.5 KBps
Are you sure? yes | no