- Tue Nov 13, 2007 7:59 am
#37968
Hi, I've built a board with an AT90S2313 uC but due to space constraints have left off the ISP socket. I wanted to program the device before I plug it into the socket on my board but I'm starting to this this was a bad idea.
I have plugged my programmer into a breadboard and wired up the GND, VCC, MISO, MOSI, SCK and RESET lines to the uC. I've also hooked up my power supply to the VCC and GND lines. I was hoping this would be suficient to program the device but I'm having problems. I've checked all the wiring and tested it with a multimeter so I know that's ok.
I'm using PonyProg and a simple buffered parallel programmer. PonyProg is set to Parallel Avr ISP I/O and clicking Probe tests OK. When I try to program the first error I get is "Device missing or unknown device (-24)". The if I click Ignore it says Writing.... but then says "Write error (-21)".
Is there something I'm missing? I thought maybe it needs the crystal so I tried adding an 8MHz one and the 22pF caps but no difference. The power supply is set to 5v, maybe this is not correct?
Any help would be greatly appreciated...
I have plugged my programmer into a breadboard and wired up the GND, VCC, MISO, MOSI, SCK and RESET lines to the uC. I've also hooked up my power supply to the VCC and GND lines. I was hoping this would be suficient to program the device but I'm having problems. I've checked all the wiring and tested it with a multimeter so I know that's ok.
I'm using PonyProg and a simple buffered parallel programmer. PonyProg is set to Parallel Avr ISP I/O and clicking Probe tests OK. When I try to program the first error I get is "Device missing or unknown device (-24)". The if I click Ignore it says Writing.... but then says "Write error (-21)".
Is there something I'm missing? I thought maybe it needs the crystal so I tried adding an 8MHz one and the 22pF caps but no difference. The power supply is set to 5v, maybe this is not correct?
Any help would be greatly appreciated...