MembersPage/SteinOvePrestmo/MyNotes (2006-03-16 04:43:08)
[Start] [Notes ] [Wiring]

This page contains my notes and questions regarding the assembly of my V3.1 Genboard. My board is nr 81.


A question from MembersPage/DeanPavlekovic

Hi Stein, can you possibly give the part number and the diameter of you crank trigger wheel if the engine is still not assembled?

TIA

PS I can be emailed at dpavlekovic at gmail dot com, or just add to MembersPage/DeanPavlekovic


Questions 19.12.04

If you have a stepper chip, check GenBoard/BuildProcedures/Stepper.


Info from Jörgen:

This is the Elfa part# for the fuseholder: 33-153-48

You find fuses here: http://www.elfa.se/elfa-bin/dyndok.pl?vat=0&dok=2013505.htm


Good news 29.08.04

I got a "Hello" in Bray terminal, finally.

After I tried to use Hyperterm, I got contact with the GenBoard with Bray terminal.

The reason for my initial problems was all down to bad wiring and bad reading of diagrams.

I somehow managed to switch the pins on the PS2 connector. (sendt + to gnd pin...) and forgot to attach the contrast wire on the LCD.

Question: (29.08.04)

Nothing on the list today (yet)

To do list

More to come.


Below are things I have done


Initial Testing

The first thing I did after I recieved the GenBoard. I checked it for visible damage/short circuits, I couldn't see anything special (But are the SMDs assembled by machines? 95% of the top side was automated with picknplace and reflow-soldering. The bottom side was by human for v3.1. For v3.2 both sides will be automated. )

I made a serial cable, LCD display cable and a PS2 cable with connection. My seriell connection cable has been checked against the 1.8m extension cable and should be ok.

My power supply is an old AT PC supply (gives 11.6V). On the 12V power cable I have an 2A fues.

Problems

For the first power up I connected the Genboard with the seriell cable, LCD and PS2 keyboard. 12v was connected with an alligator clip to the right leg of the 1n4007 diode (diode mounted to the bottom side). GND connected to the GND wire loop.

When I turned on the power nothing happend. I couldn't see any signes of life in the LCD or when trying to connect to the Genboard with Bray terminal at 9600baut, 8n,1.

I have also tried to connect to the Genboard with only the serial cable connected without a possitive result

When I tried to hook up the PS2 keyboard again, a couple of seconds after the GenBoard got power, the powersupply fans stopped. I also felt a slight smell of warm electric components :/ I can't see any damage to the board or components. I have feeling somethings wrong with the PS2 wiring/keyboard?


Q:

Can I have damaged the Genboard the first time I powered it up?

Any hints where I can meassure with a DVM ?

A:

I tried powering mine up last night with similar results, mine is however a very early v3.1 (#30) while I guess that yours is one of the last ones.

I verified that my AVR does nothing by measuring 0v on the pre_inj lines. With some luck mine has accidently been delivered without bootloader or firmware. The FET drivers are inverting and to keep the injectors closed the engine management will turn those lines 'high' as soon as it gets power.

VCC is easy to verify by checking that you have 5v on the topmost pin of the PS2 connector. Also check that you have 5v on the forth pin from the left on the top row of JP_ISPI. This is the reset line.

---

Re:

I measured 5V on both pins and on Pre_Inj lines.

My AVR is alive. :D


Q:

I now get "Connected" with Bray terminal, but get no reply when trying the "Man" command.

A: as we don't use RTS, CTS or flow-control, "Connected" means really nothing.


Pin numbers on MAX232 chip

Where are pin1 and pin 16 on the MAX232 chip?

pin1 is close to EC36, pin16 is close to EC18

pin8 close to LM1815, pin9 close to AVR

[Atmel ATMEGA128 Pin-out]


Checklist

'My test results are in Italic''

MAX232 meassurements (only power connected)

Pin1 6.9v

Pin2 8.99v

Pin3 2.4v

Pin4 4.59v

Pin5 -4.4v

Pin6 -8.54v

Pin7 8.59v

Pin8 0v

Pin9 5v

Pin10 0v

Pin11 5v

Pin12 5v

Pin13 0v

Pin14 -8.55v

Pin15 0v

Pin16 5v

The rest is not done as I have to check the com. cable first

This assumes you expect to talk to the test (or real) application (firmware) at 9600,8n1 (not the bootloader):

The above 2 command is meant to determine which direction of the RX,TX has problem. If the indication of action happens (ign259 signal change, or mcd output in terminal) than the other direction has the problem.

If you wiped out your test-application by an unsuccessful bootloader-procedure, you can only talk to bootloader (you can force talking to bootloader by shorting the GenBoards RX,TX while serial cable is disconnected). BootLoader talks 19200,8n1 by default and has no such simple way for testing the directions independently as the firmware has. It emits some very short squarewave at powerup that can be captured on a digital scope with some experience.

please move this to relevant page