M16_24 project updated working project files (links)

Software questions and issues with the FV-1

Moderator: frank

Post Reply
Posts: 3
Joined: Sat Jul 26, 2008 3:47 pm

M16_24 project updated working project files (links)

Post by Merlyn » Mon Mar 12, 2018 9:38 am


Reposting from another forum updated info how to resurrect this project.

After many many hours of digging, reading and experiments I can finally declare SUCCESS!
I'm not going to describe the whole ordeal because it's a novel material but post the solution that finally worked.

1/ Hardware
Get an USBasp programmer for couple of bucks from Ebay or elsewhere. The one I got had the Atmega8A. Some of the revisions however have Atmega48 or 88. I don't
know if the new firmware works on those so maybe it will be a good idea to check with the seller first which Atmega is used in their version of USBasp.
Mine was marked as USBasp V2.0 from LC Technology.
ATTENTION! The stock firmware is not able to program the AT89S series of uCUs! In order to enable it to program the
AT89S8253 chip it needs to be flashed with a custom made firmware. The one from the link posted previosly claims
to be able to do that but in fact it doesn't. The final working solution was found on a german forum here (answer from 23.06.2009 22:16):
https://translate.google.com/translate? ... edit-text=
2/ Flashing the USBasp
Flash the USBasp using the firmware HEX file attached (before that you have to enter programming mode by shorting the JP2 jumper).I did that using
PonyProg and a simple serial programmer I built myself and as described and linked to earlier in the thread. Another way to do it is to buy 2 pcs USBasp that can flash each other.
Make sure you use the recommended fuse settings: Hfuse - c9, Lfuse - 9f. For direct editing of the AVR fuse bits refer to this fuse calculator:
3/ Interfacing USBasp to AT89S8253
To connect USBasp to AT89S8253 I built a simple 10pin connector to PLCC44 socket interface on a perfboard adding to the socket a 100n cap across positive and
negative (ground) rails and also a 6MHz crystal coupled with 2x22pf ceramic caps. The chip was powered from the 10pin connector (set the USBasp JP1 target jumper to 5V).
4/ Software
I used ProgISP v1.72.
Open the program and choose AT89S8253.
In order to define the configbits click here:
Tick them accordingly:
Click on "Command" (on the right vertical window).
To check if the software communicates with the chip click "Read flash".
Load the SpinSemi16_24_AT89S8253.hex flash file.
In the window to the right, click "Write flash":
The chip was tested to work properly in the demo board.

The modified USBasp firmware and AT89S8253 flash file can be found here (will be deleted after 30 days so if anyone can recommend a more permanent solution let meknow):


I'm still working on a PCB that will fit into a 1590B enclosure and I'll post them later when I'm done.

Post Reply