DIY编程器网

标题: A Scenix (and PIC) Programmer [打印本页]

作者: liyf    时间: 2011-11-24 20:59
标题: A Scenix (and PIC) Programmer
"Fluffy" - A Scenix (and PIC) Programmer



I was trying to think of a suitable name for this project, and after literally seconds of careful deliberation, I gave up and decided to call it Fluffy. Sorry.

Anyway, Fluffy is a SX programmer for people who have already experimented with PIC chips, and want to try out the Scenix SX family. I built Fluffy because I wanted to experiment with the SX's, but didn't want to spend $300 or so bucks on the official development system. To build it, you will need a PIC16F84 (a 16C84 will probably also work, but I don't have any to test!). Note that this implies you should already have a working PIC programmer. If you don't, you might want to check out COM84, or any of the multitude of free, cheap PIC programmers available on the web.

As usual, the standard disclaimers apply. I accept absolutely no responsibility for any damage caused by the use of this system. It seems to work just fine for me, but if it happens to blow up your chips, melt your computer or exterminate your family and friends, etc... etc... then don't come crying to me. Fluffy is completely free - please go ahead and use/distribute as you wish, provided that it's used only for noncommercial purposes, and the above disclaimer is also distributed with it.

21st May 2001

Steven Willis has been working on a new version of Fluffy, with improved serial port speed, and a number of bug fixes. Since I'm no longer actively maintaining this project, you may want to head over to
his page and get the latest code from there. Thanks also to Bonny Gijzen for adding Fluffy support to his excellent IC-Prog PC software.


Version Information

fluffy is currently undergoing a few changes, mainly brought about by Scenix's recent silicon revision. Therefore, there are currently a few different version available...

0928fluf.zip - Sept 28th 1999
This is the latest code, which uses a completely rewritten fluffy.exe. The firmware code has also been upgraded to support the 16C6X class of PICs. The main things to be aware of with this version are that the -test option has been removed, as has the support for the fluffy.ini config file. Everything is now on the command line, and some of the command-line options have changed. The code has been changed in such a way as to make adding more chips easier. At present, support for SX (old and new revs), 16F84, 16C84, and 16C64 is included. In theory a much larger range of PICs should be supported, simply by adding the relevant lines in the chips[] array, but I just haven't had time.
STOP PRESSI just received some samples of the new revision SX18/28's from Scenix. The really quick test that I just did suggests that the code is working. I've just added simplel.sxh to the ZIP file, which is the equivalent of simple.sxh, but for the new revision.

[size=+2]DOH! It seems some of you are experiencing problems with the new code, when using the parallel port interface. I've just tried to track down the problem, but my programmer doesn't seem to work with my new PC! (I haven't touched SX chips for quite a while). If you do experience this problem, can you please first try the older version of the code, and then let me know what works, and what doesn't. Thanks!

0216fluf.zip - Feb 16th 1999
This is the original, much older code. It has a very different interface, and only supports the older SX revision. It does, however, have a semi-useful -test command-line option, which runs through some simple diagnostics, enabling you to hopefully verify that your programmer is built correctly.

I apologise for the somewhat disorganised nature of these releases, but I am unfeasibly busy at the moment, and thus unable to spend the time I'd like to on this...

The ZIPs contain the following files:

fluffy.exeMain programmer software.
fluffy.cSource for FLUFFY.EXE
fluffy.txtBrief description of how to use fluffy
sxprog.hexPIC16F84 hex file
sxprog.asmSource for SXPROG.HEX
simple.sxhA simple test SX program that counts upwards on PORTB really fast.


Anyway, here's the schematic - I hope I've drawn everything right. Basically A0 and A1 control the SX OSC1 voltage level - both low implies 0V, A0 high (and A1 low) implies 5V, and A1 high (and A0 low) gives 12.5Vish. If you want to implement your own power supply circuit, it shouldn't be too hard.






欢迎光临 DIY编程器网 (http://diybcq.com./) Powered by Discuz! X3.2