-- I NEED HELP PLEASE (updated 13 november 2006)
BUT, I'm not yet able to communicate with the processor using serial cable.
What I know:
Here come the questions:
- I've looked at this page: http://www.atmel.com/dyn/resources/prod_documents/doc2467.pdf , and on my board pin 1 is at 4,9V(PEN), so I won't be able to upload anything, right? Is there a missing component?
- All genboards are initially loaded with a firmware, and mintested (supplies, RS232, WBO2 pump, etc... the assembled ones get much more test)
- But it's possible that after an interrupted (or failed) firmware upload, board gets stuck in BootLoader
- try 'S' command in TerminalProgram, try 9600,8n1 and 19200,8n1
- if in BootLoader, than in 19200,8n1 replies "AVREFI1"
- if firmware is running, than in 9600,8n1 it replies some "binary junk")
- You can try to to upload new firmware with or without the -t megaloader (or prog.pl) option, TRY BOTH. Make sure the .bat file has the correct COMx port (like COM4 if that's the one you use)
- the -t option doesn't work, it is even used as default in the upload-firmware.batin the "VemsMT1.0.53". after "Translation complete" (which means it interpreted the vems.hex file), the script stays stuck for a few seconds => no success
- so what happens without the -t ?
- I tried this, using com1. I'm sure this is com1 because I have only one prt and doc of my motherboard told me that it is "com1". In fact, I also tried with another computer. Removing option -t didn't give great results. I know for sure that I'm not able to communicate
- to send a new vems.hex without megaloader, perl ...path.../prog.pl vems.hex :COM3 Etw
- but you should find out x for your COMx -port first, and find out if you get answer in either 19200,8n1 or 9600,8n1 for 'S' (capital S, see above). If megaloader does not work, prog.pl will likely not work either (and it needs serialport library).
- I tried to send 'S' command in all the baud rate suggested, but I was unsuccessful. I even tried all other rates.
- Is there another solution to flash the device?
Hans: I don't know what was on the V3.1 board from the shop.. but try and see the 2, 3 and 4'th guides on this page: http://vems.hu/www.vems.co.uk/VEMS/
- I have read the docs on your page
Thanks for help
Nicolas
old stuff since here (solved problems)
BUT, I'm not yet able to communicate with the processor using serial cable.
- As I own a v3.1, it looks like I can't use EC18-pin14, 15, 26. So I did as written in this guide: http://vems.hu/www.vems.co.uk/VEMS/ConnectingToSerial.html
- repeat the connection here, describe where the DSUBpin-X goes (for 2,3,5), and check directions are OK
- this is alright, I double checked and this is correct
- repeat the connection here, describe where the DSUBpin-X goes (for 2,3,5), and check directions are OK
- My cable works, I measured resistance between DSUB9 and board socket
- Here is a picture of my board now. Don't pay attention to "free" wires.
My com port are working fine - tested with dos:
http://www.uktsupport.co.uk/reference/debug.htm
My serial cable is ok
What should I test next? I'm afraid I made a mistake...
-- Work done
-- Presentation
I've just started ooking seriously at Vems for my next engin/projet: a 63 beetle with porsche 915 tranny and type 4 supercharged engin - my next daily.
Pictures of my cars on this website (sorry, everything is in french) http://www.bambulan.com - take a quick look at the gallery