Re: Programming Flash AM29F200B

marcin.parchomiuk_at_neostrada.pl
Date: 03/22/05


Date: Tue, 22 Mar 2005 11:35:01 +0100


Uzytkownik "David" <david.nospam@westcontrol.removethis.com> napisal w
wiadomosci news:pan.2005.03.22.10.12.50.821000@westcontrol.removethis.com...
> On Tue, 22 Mar 2005 10:48:12 +0100, marcin.parchomiuk wrote:
>
>>
>> Uzytkownik "David" <david.nospam@westcontrol.removethis.com> napisal w
>> wiadomosci
>> news:pan.2005.03.22.07.37.41.886000@westcontrol.removethis.com...
>>> On Tue, 22 Mar 2005 00:02:27 +0100, marcin.parchomiuk wrote:
>>>
>>>> It cooperates excellent with programmer but i am trying to write data
>>>> using
>>>> microcontroller. Flash requires 4 cycles to write a bite/word:
>>>> addr/data = 555/AA , 2AA/55, 555/A0, PA/PD
>>>> I do above commands and each cycle i apply #WE-LOW,#WE-HIGH, holding
>>>> #CE
>>>> and
>>>> #OE-HIGH. The rwsult is fail to program, what is wrong? Without a
>>>> problem
>>>> i
>>>> can read previously programmed data by programmer but i fail to program
>>>> it
>>>> by my microcontroller. Should i do sth else before initialising
>>>> writing.
>>>> I
>>>> also fail to erase this flash. thanks for any help...
>>>>
>>>
>>> If you have the flash connected as 16-bit rather than 8-bit, remember
>>> you
>>> have to double the unlock address to AAA/AA, 554/55, AAA/A0, PA/PD.
>>>
>> Maybe u r right, but where did u get this combination for word
>> programming
>> AAA/AA...
>> I've downloaded manual to this flash from AMD site and there is written
>> Program: word 555/AA 2AA/55 555/A0 PA/PD
>> byte AAA/AA 555/55 AAA/A0 PA/PD
>> And i am using 16bit-word mode so is it wrong combination? Y have
>> different
>> combination, and what is more i've just noticed that they double
>> addresses
>> in byte mode? Please help me to figure this out, thanks in advance...
>
> I don't know about byte mode (I assume you have the byte/word select pin
> set correctly?), but when you are using a 16-bit databus, you have your
> processor's A1 pin connected to the flash A0 pin, the processor's A2 pin
> connected to the flash A1 pin, and so on. So an address of 0xaaa in the
> processor's memory map (which will always be a "byte" address) corresponds
> to a 16-bit word address of 0x555, as seen by the flash. Thus you write
> your first 0xaa unlock byte to address 0xaaa so that the flash sees it as
> word address 0x555.
>
> Check that your address and databus connections are correct, and let us
> know what they are (along with the processor/microcontroller type).
>
> And drop the "SMS" abbreviations - if you don't have time to write "you"
> in full, don't expect people to have the time to help you.
>
Great thanks for helping me.
For word mode i keep pin #BYTE- high, and I am 100% sure that I've connected
it properly because i was checking signals during debugging it, so they
were appearing on the right pins.
I have a question: Are you sure addresses should be doubled in word mode in
respect to byte mode? In my manual it is opposite. thanks for help...



Relevant Pages

  • Re: Programming Flash AM29F200B
    ... > I've downloaded manual to this flash from AMD site and there is written ... I don't know about byte mode (I assume you have the byte/word select pin ... Check that your address and databus connections are correct, ...
    (comp.arch.embedded)
  • Re: X-Mega AVRs are here!
    ... Flash /SRAM/EEPROM ... The pinout allows a design to use 44,64 and 100 pin concentric pads ... all I/O ports, Larger devices will have extra ports, not different ... making R24:R25 a forth pointer register would be a big help. ...
    (comp.arch.embedded)
  • Did the power of youth fix my Flash?
    ... I've been having issues with my Willams Flash pin for a while now. ... bad switch affecting the 2x and 3x bonus and my 5 bank drop targets ... Okay more work to do...including tracking down that bonus ...
    (rec.games.pinball)
  • Re: Microcontroller selection
    ... memory interfacing) and reduced pin count ... Microcontrollers with glueless memory interfaces are often quite simple, but external memory certainly adds to the pin count and board size. ... You might find support in other systems, such as freertos, or using separate stacks like lwip. ... if you accept external flash and the USB 2.0 is a device and not a host. ...
    (comp.arch.embedded)
  • Re: Bally -35 mystery 7th flash fault
    ... The last flash waits for an external input on U10 pin 18 from the zero ... crossing detector circuit, which occurs 120 times a second (as the AC ...
    (rec.games.pinball)