_ _ ( ) ( ) | | | | | | | | | \_/ | `\___/'
_ _ ( ) ( ) | |_| | | _ | | | | | (_) (_)
_____ ( _ ) | (_) | | _ | | | | | (_) (_)
## ## ## ## ## ## ## ## ######
##### ## ## ## ## ##
IMPORTANT: enter the case-INsensitive alphabetic (no numbers) code AND WRITE SOME SHORT summary of changes (below) if you are saving changes. (not required for previewing changes). Wiki-spamming is not tolerated, will be removed, so it does NOT even show up in history. Spammers go away now. Visit Preferences to set your user name Summary of change: -- I NEED HELP PLEASE (updated 11 december 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.bat'''in 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 http://www.bambulan.com/images/megaloader2.jpg *** just because you only have one com port does not mean it is named "com1". I have only one comm port on my laptop, but it is named "com5". Have you tried all other comm port names (1...8)? **** I tried com1...com4 i think. there is a scan function in bray terminal and it doesn't find something else than com1 and com2. Megaloader is unable to open com port from com3 to com8 ** 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. http://www.bambulan.com/images/megaloader.jpg * Is there another solution to flash the device? **Yes, the ISPI port can do it. You will need to make a different cable and hook up to a parallel port. I'm currently fighting similar problems. I have links for the cable I built and what else I did on MembersPage/EzDi. This method should work as long as your avr has power, and the wiring to the pins on the avr are complete (ie, not missing a resistor for say the pullup on rst). *** '''could someone give me a detailled picture of the v3.1 board to check if resistors are not missing? I would really appreciate this.''' * Is it normal that I'm not able to see avr, could it be dead? **What I did was checked all the voltages with a meter (especially the AVR power supply and the MAX232), then checked my serial cable so many times I destroyed it. I eventually built a cable to program via the ISPI and re-installed the boot-loader, but I still don't have a fully functional genboard. I link to another guy's page whose wiki describes how to check the max232 chip if you need to do that. *** '''I followed instruction on this page (MembersPage/MattiasSandgren/NickesBMW/AvrBootCode), built the cable (the same bsd version), It's not working. I checked voltage between pin1 pin2 on AVR, is there another one to check to see if AVR is dead?''' *** Ok thanks I'll try, as I read on your member page that it is working now. I will keep in touch with you... 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 * 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. http://www.bambulan.com/images/IMG_6536%20(Medium).JPG -------------------------------------------------- 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 * MembersPage/NicolasGobet/ConnectPower -- 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 Optional: Add document to category: Wiki formatting: * is Bullet list ** Bullet list subentry ... '''Bold''', ---- is horizontal ruler, <code> preformatted text... </code> See wiki editing HELP for tables and other formatting tips and tricks.