avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] ATMega128 pcb, startup problem...


From: Kitts
Subject: Re: [avr-gcc-list] ATMega128 pcb, startup problem...
Date: Wed, 1 Jun 2005 22:19:26 +0530
User-agent: KMail/1.8

On Wednesday 01 Jun 2005 9:42 pm IST, Torsten Mohr wrote:
> Hi,
>
> i've just made a new PCB for an atmega128 that i'd like to start up
> now.
>
> I use "uisp -dprog=dapa" to connect to the target, but this only
> leads to an error:
>
> address@hidden:~> uisp -dprog=dapa
> An error has occurred during the AVR initialization.
>  * Target status:
>    Vendor Code = 0xff, Part Family = 0xff, Part Number = 0xff
>
>  Check if the programmer is properly connected.
>  The wiring may be incorrect or target might be 'damaged'.
> address@hidden:~>
>
>
> I checked:
>
> Power supply with CRO looks stable
> no oscillation on the external crystal
> GND pins 22, 53, 63 are at GND
> VCC pins 21, 52 , 64 are at +5V
> Reset pin is logically connected to parallel port "INIT"
> MOSI, Pin 12 is logically connected to parallel port "D0"
> MISO, Pin 13 is logically connected to parallel port "Busy" and
> "Sel.In". SCK, Pin 11 is logically connected to parallel port
> "Strobe". PEN, Pin 1 is at GND level.

Here is where the mistake seems to be. On the mega128 the ISP pins do 
not correspond to the SPI pins. In fact the ISP DI and DO pins are 
connected to pins 2 and 3 which are the UART0 pins.

> I connected a 6 MHz crystal and two 22 pF capacitors to the crystal
> circuit.
>
>
> What more can i do to test the ATMega128?
>
> Any more things to check?
>
>
> When looking at the micro in a way that i can read the printing on it
> normally,
> then pin 1 is in the upper left corner, correct?  In that corner
> there is a dot
> in the micros surface.  Another dot is printed (only printed, no
> changed surface)
> in the lower right corner.  Is the micro correctly soldered onto the
> pcb?
>
> What else could be wrong?
>
> Can i give some more information?
>
> Any help is appreciated.
>
>
> Best regards,
> Torsten.
>
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

-- 
Cheers!
Kitts





reply via email to

[Prev in Thread] Current Thread [Next in Thread]