Close

firmware coding has been completed.

A project log for FASTUSBasp programmer for AVR with usb-to-serial

This is the fast ISP programmer for AVRs based on cheap stm32f103c8t6 board.

amitesh-singhAmitesh Singh 04/15/2017 at 10:291 Comment

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

Amitesh Singh wrote 04/15/2017 at 11:35 point

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