Author |
Topic |
|
circuit
Lithuania
21 Posts |
Posted - 02/28/2009 : 12:14:50
|
I have connected "GQ-3X" programmer (via ISP header) to my prototyping board with ATmega324P in it. This microcontroller was flashed previously using PonyProg2000 and simple LPT programmer. Program is working fine, no glitches, etc. The problem is, that "GQ-3X" programmer downloads the program with errors. Original program flashed to microcontroller: h**p://tinyurl.com/c47qop Downloaded with "GQ-3X": h**p://tinyurl.com/bktxfn
Downloaded file is always the same (does not differ from earlier ones), with errors.
Also, "GQ-3X" does not detect ID correctly: h**p://img22.imageshack.us/img22/1046/2009025.png Settings as follows: h**p://img22.imageshack.us/img22/4408/2009024.png
Software version: Re. 4.00 Beta 5 (windows XP Pro x64)
I also had problems with M27C256B - when I selected "double write", it did not pass verification - errors in same addresses. And one more thing: quite often when starting "USBprog" software it immediately crashes and windows says that it "stopped working".
What can I do about these problems? |
circuit.lt / e-motion.lt |
|
Reply #1
ZLM
2945 Posts |
Posted - 02/28/2009 : 23:53:58
|
Your chip is not the Atmega32, it is ATmega324P. This chip is not in the supported list yet. But you can add this chip in by add following line:
Name="ATmega324P*ISP",ID="1E9508",Class="AVRISP",Category="MCU",MFG="Atmel",CodeSize="32768",EepromSize="1024",ChipMode="AVRISP",FuseLabel="OCDEN JTAGEN SPIEN CKOPT EESAVE BOOTSZ1 BOOTSZ0 BOOTRST CKDIV8 CKOUT SUT1 SUT0 CKSEL3 CKSEL2 CKSEL1 CKSEL0 - - - - - BODLEVEL2 BODLEVEL1 BODLEVEL0 -",Adapter="AVRISP connection.",Message="Power on target device is required.";
What is your address error on 27C256B? Does it happen on other 27C256 (not the 27C256B)?
|
|
|
Reply #2
circuit
Lithuania
21 Posts |
Posted - 03/01/2009 : 04:07:30
|
I have added this line to devices list and now it does recognize my device correctly: h**p://tinyurl.com/beafb5 But, unfortunately, it still is unable to read it correctly. It seems like I will have to wait a while until ATmega324P is fully supported.
About that EPROM.. It actually is M27C256B, made by ST. Here is original program: h**p://tinyurl.com/bu3q9j Downloaded program: h**p://tinyurl.com/ av73d2 This write error occurred when "double write" option was selected. The chip was new (blank), ID check passed before write. Right after this unsuccessful write "double write" option was unchecked and another chip was programmed without errors.
Unfortunately I do not have other chips to test.
|
circuit.lt / e-motion.lt |
Edited by - circuit on 03/01/2009 04:14:53 |
|
|
Reply #3
ZLM
2945 Posts |
Posted - 03/02/2009 : 22:44:43
|
How do you know the ATmega324P reading is not correct? My think the reading should be fine since you can get ID correctly. Can you try to erase, blank check and then write the new data? |
|
|
Reply #4
circuit
Lithuania
21 Posts |
Posted - 03/04/2009 : 12:53:31
|
I am sorry, it turns out it is my mistake with ATmega324P, because i used long ISP cable - everything is working fine now. Thank you for update with chip support.
Unfortunately problem with M27C256B is still there. I have not tested a lot of these as I do not have UV lamp to erase them, but two of them were programmed correctly when "double write" option was not checked. I have tested this function with another chip: h**p://tinyurl.com/dmavyl The error occurred during second write. |
circuit.lt / e-motion.lt |
|
|
Reply #5
ZLM
2945 Posts |
|
|
Topic |
|
|
|