Re: Programming Flash AM29F200B
marcin.parchomiuk_at_neostrada.pl
Date: 03/22/05
- Next message: marcin.parchomiuk_at_neostrada.pl: "Re: Programming Flash AM29F200B"
- Previous message: Ska: "Re: CAN bus reply problems"
- In reply to: David: "Re: Programming Flash AM29F200B"
- Next in thread: David: "Re: Programming Flash AM29F200B"
- Reply: David: "Re: Programming Flash AM29F200B"
- Reply: Tauno Voipio: "Re: Programming Flash AM29F200B"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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...
- Next message: marcin.parchomiuk_at_neostrada.pl: "Re: Programming Flash AM29F200B"
- Previous message: Ska: "Re: CAN bus reply problems"
- In reply to: David: "Re: Programming Flash AM29F200B"
- Next in thread: David: "Re: Programming Flash AM29F200B"
- Reply: David: "Re: Programming Flash AM29F200B"
- Reply: Tauno Voipio: "Re: Programming Flash AM29F200B"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|