I have v3.3 new board vith some problems:
the board don't work: no communication with pc, no lcd characters(just 2 lines on lcd).
In BrayTerm i have <0> and the board don't respond to any command.
- Common mistake is forgetting to capitalize Man, wrong com serial port selected or some other program open that is using that serial port (MegaTune, AVR studio4 etc.)
After that i try to update the firmware .i update with psituner and afterthat with perl (perl bin/prog.pl vems.hex :COMn Etwf) 3 diferent files of vems.hex and NOTHING. WHat is my Problem Now? The boot need to be updated?(it is posible to lose some information when i connect and disconnect rapidly the board Please help
- I am definatly lower on the I.Q. rating than most people here and I have had my share of problems that I cant figure out so in my experience, if you give a very detailed list of the steps you are taking, ie.
- opened terminal program, set baud rate to 9600
- typed Man
- typed Manmcbffmcb, changed to 19200baud etc etc
- also, if you havent found it yet, see [this page] for help with uploading firware. I am not computer smart and I easily figured it out with the help of that page.
- I update 1.0.18 firmware and nothing ;the board respond only in boot mode
- you might need to edit the .bat file and remove the "t" option (from Etw or Et) if already (stuck) in bootloader (an earlier unsuccessful upgrade attempt?)
- I recommend complete package with more recent firmware, see bat files for megaloader syntax, you need to remove "t" from the syntax, as you already have it in bootloader in advance. http://media.vems.se/code/VemsMT1.0.36.zip for example
After i upload 1.0.36 file vems.hex with perl command(perl bin/prog.pl vems.hex w) in command window i have:
total serious errors during write: 0
VERIFYING...
error at page 0
255,128,0,0
137,239,205,79error at page256
0,0,0,128
0.63.52.141verified<0 101632>
total serious errors at verify: 2
FAILURE we say E
i edit the .bat file (that runs perl prog.pl , not megaloader in your case, right?) without "t" and Problem at verifying :
Verify flash
Error at page: 0
Error at page: 0
too many errors, bailig out
- NOW it is possible that my atmega128 be burned?
- not likely (read below), unless you tried to apply something directly to the AVR like the standard ALS switch
- but if burnt, programming via ISP is not sure to help (and involves more risk than via bootloader)
'''A: I think its more reasonable that you have a bad serialport/cable, USB adapter? //Emil Larsson
Read all document befor you tke a conclusion; i write the flash with rs232;in terminal the board respond to any command but ONLY IN BOOT MODE (and in boot mode i can enter only loopback the board serial plug)
A bad serial adapter/cable (or broken ground in the cable) often seem to work for a few characters, but than fails in the middle of a bigger block.
If you can enter BOOT mode in 19200,8n1 and get answer for the following commands:
- S => AVREFI1 **ok
- p => S **ok
- v => 20 (IIRC) ** only 20 without {IIRC)
- V => 20 (IIRC) ** only 20 without {IIRC)
Than you are very likely to be able to reflash.**i can reflash but on verifying i get error (see up comment)
I'm thinking of a way to read/verify your bootloader and get verbose results.**i wait