If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Just for fun I have ordered a ATMEGA8-16PU and some 8 meg xtals
they will take a few days to arrive, then will try and burn the chip
and see what happens
Hey 6666 your a star, go on beat me to it, I can take it like a man
Hi
How strange ordered one of those from china on monday only £2.42 incl p/p didnt think for a min it would work, can I ask what windows your using?
Since last posting here ive butchered a old printer lead just need to solder serial plug on other end and going to try using a old laptop because ive niggling feeling its something to do with my pc.
I got one of those to, but never used it
as i found 4 resistors and a couple of bits of wire worked for the ATtiny project
just not right
could be worth a try for the AT8.
Haha be honest only ordered it for a giggle the plugs alone cost more than that device cost and its got atmega8 built in it, proberly take a month to get here so cant wait that long.
The last entry circuit programmer i put on here has on light and data transfer light so at least im not in the dark as to whats going on if you take the pun so to speak.
By the way if anyone wants pcb layout files i made for those printed on here there welcome, i did them in sprint lay.
Haha be honest only ordered it for a giggle the plugs alone cost more than that device cost and its got atmega8 built in it, proberly take a month to get here so cant wait that long.
The last entry circuit programmer i put on here has on light and data transfer light so at least im not in the dark as to whats going on if you take the pun so to speak.
By the way if anyone wants pcb layout files i made for those printed on here there welcome, i did them in sprint lay.
Hello again,Iam using win7 64bit, I succsesfully reflashed the firmware on an atmega64 (that is the 'brains' in my RC model aircraft transmitter ).
Did'nt need to power up the device,the usb programmer powered the chip in circuit.I had to solder the relavent points on the Atmeg chip to the programming cable.(that does'nt come with my cheap programmer).
Hope that helps
Regards
John
Hello again,Iam using win7 64bit, I succsesfully reflashed the firmware on an atmega64 (that is the 'brains' in my RC model aircraft transmitter ).
Did'nt need to power up the device,the usb programmer powered the chip in circuit.I had to solder the relavent points on the Atmeg chip to the programming cable.(that does'nt come with my cheap programmer).
Hope that helps
Regards
John
I've not used the Atmega devices either, but it appears here that you're using a USB programmer, whereas satdaveuk is using the RS232 port.
My suspicion is that the problem lies with incorrect wiring in the RS232 plug. The PC most likely requires CTS (Clear To Send) and RTS (Request To Send) linked together. Also, the USB port can supply power to the programmer, whereas RS232 does not provide this capability.
I've not used the Atmega devices either, but it appears here that you're using a USB programmer, whereas satdaveuk is using the RS232 port.
My suspicion is that the problem lies with incorrect wiring in the RS232 plug. The PC most likely requires CTS (Clear To Send) and RTS (Request To Send) linked together. Also, the USB port can supply power to the programmer, whereas RS232 does not provide this capability.
Hello the USB programmer is actually a serial programmer,it is also called an ISP (in system programming).I dont know of an rs232 comms programmer.I use this usb device with a free program called burnomat its a gui for avrdude.
Avrdude is a command line structure,but if you use an interface like burnomat,it is much easier for dummies like me!
Hope that helps
Cheers
John
Hello the USB programmer is actually a serial programmer,it is also called an ISP (in system programming).I dont know of an rs232 comms programmer.I use this usb device with a free program called burnomat its a gui for avrdude.
Avrdude is a command line structure,but if you use an interface like burnomat,it is much easier for dummies like me!
Hope that helps
Cheers
John
According to Dave's post below (and the attached diagram), it is clear that he is using an RS232 connection for the In-Circuit Programming (ICSP), and not USB.
What I'm suggesting is that the PC may need to have CTS and RTS linked together, and the programming board will require a separate power supply.
Hi
Built this programmer to flash hex atmega 8 via ICSP on the minipulse 3 and my computer says theres drive missing.
Using pony 2000
Connected 5v via usb, lcd screen light comes on but thats it
Have I done something wrong ?
Tell you now im a novis far as programmers and programming
I notice that the RS232 connection already has pins 6 and 7 joined together, which are Data Set Ready (DSR) and Request To Send (RTS). These signals also go to the ICSP connector, as does the Clear To Send (CTS) and Data Terminal Ready (DTR) signals. So presumably this means that a handshaking procedure is required programming. I assume this must be correct, since the Receive Data (RD) pin 2 is not used. If the programmer is not supplying the required handshaking, the PC will simply wait forever for a response, and no data will be transmitted. It looks to me like the System Clock (SCK) is generated by the PC using the RTS and DSR lines, and then it expects the programmer to latch in the data from RD and reply using either CTS or DTR. This appears to be the handshaking sequence. You should be able to check this with an oscilloscope.
Also, it looks like the programming board is expecting the +5V supply to be supplied externally, as the 10k resistor is a pull-up to the BC549 transistor.
Looks a nice easy format program, even I can understand some of it, be interesting to know how you get on.
Still had no luck even with the setup a few of the lads used with the pulse3 even on laptop using xp on lpt port, so ive sourced another atmega 8 from different supplier narrowed it down to the 2 chips, the power led comes on and the r/w light flashes for a couple of seconds but nothing is transfered, wont even read, the plus side to this is ive learned alot and ive 4 different avr programers.
What type of error ponyprog reports? It is “device missing or unknown device (-24) “ or something else? Note that if you are particularly unlucky to set configuration bits very wrong, you can actually lock down the chip and be unable to access, reprogram or even erase it using this programmer. I used this on XP, not tried onW7, works fine.
For DIY USB programmer, i can recommend this, nice good working project:
What type of error ponyprog reports? It is “device missing or unknown device (-24) “ or something else? Note that if you are particularly unlucky to set configuration bits very wrong, you can actually lock down the chip and be unable to access, reprogram or even erase it using this programmer. I used this on XP, not tried onW7, works fine.
For DIY USB programmer, i can recommend this, nice good working project:
Only you need some other programmer to program PIC first.
yes it is -24, it says cant comunicate, i did the settings as off the designers minipulse3 web page, ive even made a second standalone circuit around the atmega8 as the circuit in the minipulse 3.most of the programing i tryed was as your instructions, or someone with the same name.
I do think now i may have buggered these chips myself because found a trace between to pins on the main pcb directly in line with the atmega 8 that shouldnt of been there, oviously a error when I was making the pcb.
To be honest im starting to get fed up with it, ive spent longer on the programming of this stupid ic than building the whole thing from scratch, its just shouting to be programmed lol so i may take time out from it for a while and do something else like get out and find a hoard, wether is lovely at the moment.
I will say its by far the hardest project far as metal detectors ive built, you got to really follow the circuits every step of the way because theres were lots of part versions out there so you need to really do your homework on it, unlike ivonics TGSL which although quite complex we had allot of good engineers involved in it.
This project most people abandoned halfway through because threads start and die within months spanning from around 2007, but there are a few out there whos followed the project through and had very good results.
Thats why i chose it, because its a change from the easy stuff and by hook or crook this machine will be up and running fully operational by the end of the year and then start more mods and improvements and so on and hopefully more engineers will get involved.
ive looked at that programmer project and seems the lad who designed it has done his homework, maybe onday will build it but at the moment im not in the mood to build anymore programmers because ive lost the interest.
The only bought programmer i have is the FEZ877 JDM which covers the smaller basic PIC family, couple of transistors 6 diodes and to universal sockets,not even a light on it but works fine, but those chips are not rocket science and basic programmers do the trick.
Can i ask though why is it that people have put these circuits that ive posted here actually stateing that they will program the atmega 8 if in fact they dont, soon as i get another chip through the post will try on each one and let you all know results then if they do or dont work will post here under tools so in the fucture no one will be messed about as I have.
Comment