I made an identical working PCB (with ATMEga128L) but replaced the ATMEga128L with ATmega128. THe ISP serial Programming was designed using the the same connections between MCU and AVR MKII as in previous PCB.
Unlike in my prev working PCB, the TXD RXD and CLk are always low and RSt is always High..On clicking AVR studio Programming settings..
1) target voltage is 4,9V
2) The AVRSTUDIO v6 shows fails to enter programming mode error on clicking Read device ID
3) The external resonator i am using shows 1.94 MHz freq and is connected to XTAL1 of the MCU
4)while clicking REad device ID RESET goes from hight to LOW..
I am totally confused where the real error is,,
1)The new PCb is with brand new ATMEGA128...Is the MCU now damaged...??
2) Is it something to do with bootlaoder...As i dont thing there are any bootlaoder in this new microcontroller chip??
3)Why is it not entering the Programming mode when all other settings are identical as my previous working PCB??
4) Is the failure due to switchover from ATMEGA128L to ATMEGA128??
Thank you for your reply. Actually in my previous design the atmega128L was getting a supply of 4,9v which i did not change because the basic design remained the same. I rechecked my present design and the power suply to Microcontroller is 4.9v which i think is in valid range..morever my operating freq is 1.83 MHz so this is also not an issue..
I can see that even the AVR MKII to ATMEGA128 interface is also connected correctly so the only possible problem can be a short circuit in the PCB...Do you think the same??
Actually the RXD and TXD and CLk remains low all the time, but goes to high and returns to low. when read signature is clicked.
I read somewhere on forum that mosi and miso should be high all the time but go from high to low to high.
Does it mean the microcontroller is damaged if the the miso and mosi( or rxd & txd) is always low..
LT oscillator is actually quite adjustable and precise for the project i need:
..It is wierd That the MKII is reading device ID if the supply vooltage to microocntrtoller is below 4v. Above 4 V it shows an error..the operating voltage for ATMEGA128 MCU is 4.5v t0 5.5v..i have no idea what to conclude from it. Please assist.