You don't have to specify the fuse and fusex words on the command line, they are part of the .hex file. (Those are the correct settings). It is definitely getting into programming mode, it is quite good at checking things. However I noticed that the hard-wired read-only DEVICE word is showing FFF. It should always be FCE, FDE, or FEE. Also, it thinks it's programming FUSEX but it's still just FFF. Did you try the tests on the website (and take out the 100 ohm resistor when you were finished?) I would be especially suspicious of the programming voltage. Also try changing the IRCTRIM bits - right now the oscillator is trimmed to the minimum frequency, maybe that's confusing it. It is used during programming. The PINS bit is set to 18/20 pins, if you have an SX28 you'll need to change it. One last thing: the cable is very important with these programmers, mine is < 6 inches long. Try using the low-speed interface - take out the "-115k", and also do something to the PIC, I forget what... Jinx wrote: > > > Try to use the dos sw: fluffy -com1 -test, and follow the instructions. > > > > I'm tantalisingly close with the command line > > fluffy demo.hex -com1 -115k -fuse 408 -fusex 07c -chip sx1828new > > or > > fluffy demo.hex -com1 -115k -fuse 408 -fusex 07c -chip sx1828old > > ============================== > > using serial uart at 3f8 > resetting target... ok > > chip : SX1828NEW > port : serial [COM1] > > initialising SX chip...ok > reading configuration... > > current device config: > Device : [fff] > Fusex : [fff] > Fuse : [fff] > > erasing... done > writing fusex [07c]...ok > writing fuse [408].....write error > fatal error > > ===================================================== > > It always fails with Fuse - any ideas why ???? > > If my maths is OK I think the Fuse parameter is correct > > __FUSE equ _FUSEBASE ^ (_TURBO | _OPTIONX | _STACKX | _IRC_4MHZ) > > __FUSEX equ _FUSEXBASE ^ (_8BANKS | _1PAGE) > > ; ^ = XOR | = IOR > > ; _FUSEBASE F08 ^ (800 | 200 | 100 | 000) = F08 ^ B00 = 408 > > ; _FUSEXBASE 070 ^ (00C | 000) = 07C > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics