CFI ident problems with AMD chips.
Hi,
I've now started using AMD chips. I have a chip which I believe to be a 4MiB part with TOP boot blocks. Should be 63*64KiB erase regions followed by 8*8KiB erase regions.
However, the CFI "Erase Block Region" information reports them in the wrong order - the 8*8KiB blocks _before_ the 63*64KiB.
Is there some way to tell the top-boot parts apart from the bottom-boot parts?
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to [email protected]
They surely have differnet Device ID's which can be found in a datasheet and compared with the reported ones.
Nick
Quoted 9 lines · David Woodhouse
Hi,
I've now started using AMD chips. I have a chip which I believe to be a 4MiB part with TOP boot blocks. Should be 63*64KiB erase regions followed by 8*8KiB erase regions.
However, the CFI "Erase Block Region" information reports them in the wrong order - the 8*8KiB blocks _before_ the 63*64KiB.
Quoted 7 lines
Is there some way to tell the top-boot parts apart from the bottom-boot parts?
--
dwmw2To unsubscribe, send "unsubscribe mtd" to [email protected]
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 2 lines · Nick Ivanter
They surely have differnet Device ID's which can be found in a datasheet and compared with the reported ones.
My code to report JEDEC ID for them was returning {0,0}. I'll poke at that again when I go back to work next week.
Signature · 6 lines
dwmw2 To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 9 lines · David Woodhouse
Hi,
I've now started using AMD chips. I have a chip which I believe to be a 4MiB part with TOP boot blocks. Should be 63*64KiB erase regions followed by 8*8KiB erase regions.
However, the CFI "Erase Block Region" information reports them in the wrong order - the 8*8KiB blocks _before_ the 63*64KiB.
Quoted 7 lines
Is there some way to tell the top-boot parts apart from the bottom-boot parts?
--
dwmw2To unsubscribe, send "unsubscribe mtd" to [email protected]
In the Am29DL322D/323D/324D spec, there's a Top/Bottom Boot Sector Flag at the end of the Primary Vendor-Specific Extended Query at address 4F (word mode)
where 02 = bottom, 03 = top. I haven't tried it yet.
Alice
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 7 lines · Alice Hennessy
Quoted 2 lines
Is there some way to tell the top-boot parts apart from the bottom-boot parts?
In the Am29DL322D/323D/324D spec, there's a Top/Bottom Boot Sector Flag at the end of the Primary Vendor-Specific Extended Query at address 4F (word mode)
where 02 = bottom, 03 = top. I haven't tried it yet.
Ah - hadn't found that bit, thanks. I'll poke at it in the morning.
So, are the chips violating the CFI spec by recording the blocks in a strange order, or does the CFI spec not actually guarantee an _ordering_ on the erase regions? It's not clear which is the case - either way, _someone_ seems to be on crack here.
Signature · 6 lines
dwmw2 To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 12 lines · David Woodhouse
Quoted 7 lines · Alice Hennessy
Quoted 2 lines
Is there some way to tell the top-boot parts apart from the bottom-boot parts?
In the Am29DL322D/323D/324D spec, there's a Top/Bottom Boot Sector Flag at the end of the Primary Vendor-Specific Extended Query at address 4F (word mode)
where 02 = bottom, 03 = top. I haven't tried it yet.
Ah - hadn't found that bit, thanks. I'll poke at it in the morning.
Quoted 7 lines
So, are the chips violating the CFI spec by recording the blocks in a strange order, or does the CFI spec not actually guarantee an _ordering_ on the erase regions? It's not clear which is the case - either way, _someone_ seems to be on crack here.
--
dwmw2
I don't see any specific language that states that the regions have to be in order (too obvious to mention).
BTW, I tried it and it gives the correct value for my top boot device.
Alice
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 2 lines · Alice Hennessy
I don't see any specific language that states that the regions have to be in order (too obvious to mention).
Heh, yeah - I was coming to that conclusion too. Fun. How stupid of me to assume a modicum of common sense.
Signature · 6 lines
dwmw2 To unsubscribe, send "unsubscribe mtd" to [email protected]