MembersPage/NicolasGobet (2015-01-01 07:00:00)

I'm not yet able to communicate with the processor using serial cable.

What I know:

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.
megaloader.jpg

AVR Reflashing

The ISPI port can do it. You need to make a cable, such as the popular (STK200 cable) and hook up to a parallel port.

There is nothing vems-specific about this. It is documented in avrdude. Check the

Try dumping part of the flash, like

<code>

avrdude -c stk200 -p m128 -t

dump flash 0 512

<code>

If the ISP-comm test does not work, than the AVR has most likely been fried and little can be done about it.



Misc ISP and RS232 hints

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.
  • I read somewhere that R6 is sometimes missing on v3.1, where is it located?


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/

Thanks for help

Nicolas



Old stuff since here (solved problems)


I'm not yet able to communicate with the processor using serial cable.

My com port are working fine - tested with dos:

http://www.uktsupport.co.uk/reference/debug.htm

My serial cable is ok



-- 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