ATMega128 problem

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hy,

I tried to use ATMega128, i connect all power supply requirements, the AVcc too. i tried to recognize the chip with BASCOM-AVR, but I haven't got any answer. The crystal isn1t work, besause the chip hasn't used before, so the internal oscillator should work. I measure, the signals on the pins and they were all OK. Can anybody help me?
Thanks!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

How do you connect to the chip, ISP? Remember the pins are a bit different, you do not use the MOSI and MISO pins for programming. Instead you use two other pins - see the datasheet for the Mega128, the memory programming section, under serial programming.

Regards,

-Colin

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hy,

Thank you very much! This was the problem, so it was my mistake. I use before AT90S8515 and 2313 Mega8, and I thougt the Mega128 is the same in the programing.

Best regards!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I want to interface intel flash memory to atmega128
so want to know about flash memory interfacing

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What does the datasheet for your flash memory say it's interface is then? Are you talking about parallel access NOR flash or some form of serially accessed NAND flash and, if the latter is the interface SPI, TWI (aka I2C) or something else? The AT45 range of "DataFlash" chips from Atmel have an SPI interface and obviously work very well with Atmel processors (and if you buy them as a package from Atmel they can be an almost unbeatable deal!)

Cliff

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for your response.Its parallel (NAND)Intel Strata J3 Flash.We need the data storage.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is this silicon you already have and want to make use of or is the choice of flash still open? Like I say AT45's are VERY cheap and they are REALLY easy to interface to AVRs with just 4 wires. Anything parallel is going to eat a LOT of pins on an AVR.

Cliff