From: Joerg H. <jo...@sd...> - 2002-11-25 13:39:02
|
Hi, Dan Griffiths wrote: > Hello all, > I have finished building the device but much to my dismay I can't get it to > talk with my computer. > > I've checked it over with an oscilloscope and it all looks OK. The analogue > boards are sending lovely and clear signals all the way to the AT90S4433. > After that it is hard to know what to measure. IC103, 104 and the max232 are > all receiving power ok. > > The chip flashed fine. I have tried firmware v0.4 and v0.5. Below is a copy of > the output: > > SP12 version 1.0.3 performing init... > rcPath: _sp12rc > Running in SP12 cable/dongle compatible mode. > Enable AVR serial reading/programming > The device code bytes 0,1,2: 0x1e, 0x92, 0x3 were read > from parallel port 0x378 and indicate the following: > You have connected an AT90(l)S4433 > The device was made by Atmel > > Performing chip erase... > Writing content of ./modeeg.rom into program area. > ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo > ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo > ./modeeg.rom written and verified. Looks OK. > write retries: 0, byteWrite: 25 percent of default > ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo > Checksum program area: 4893 > Reset was left high. > > I have checked the cables and they are OK (tx=pin 3, rx=4, gnd=5, no shorts > all the way to the max232). > > I have set the com port to 8 data bits,1stop bit, no parity, 57600 baud. That looks OK. Disconnect the programming cable (Reset might be held low so that the firmware does not run). With the oscilloscope try AT90S4433 pin 15 (PB1): If the firmware runs correctly, you should get the 14 Hz calibration square wave with TTL levels. Other checkpoints: At90S4433 PIN 1 (/reset) : must be high (ca. 5V) pin 7 (Vcc) : ca. 5V pin 20 (AVCC) : ca. 5V pin 21 (AREF) : exactly 4.0V pin 8 (GND) : 0V pin 22(AGND) : 0V pin 9, 10 : 7.3Mhz TTL, use 1:10 probe If you get the above signals and voltages but not the 14Hz signal at AT90S4433 pin 15 (PB1), try resetting the At90S4433: Short pin 1 to pin 8 for a second. Test for 14Hz at pin 15 again. If that works, look for the outgoing datastream at pin 3 (TxD). > Electric Guru shows no output at all. I hacked up a perl script to read from > the port and I got nothing there either. I've tried two different computers > to ensure it's not a faulty com port. > > Any ideas what I can try next? I really need some. > Can anyone volunteer the set up steps for use with electric guru? version 0.0.39 start ElecGuru.exe Menu: Preferences->Machine: select Type of machine=RS232EEG Menu: Preferences->Serial port: select comport for openEEG Menu: Preferences->Trace(waveform): Y-axis minimum=0, Y-axis maximum=1023 On the left side icon bar click the topmost icon (a green traffic light) to start. Now you should see two traces with the data on channel 1 and 2. Regards, Joerg |