2003-11-05 02:03 AM
BIOS flash write doesn't seem to work on Elite eval board
2003-11-04 10:43 PM
I'm having trouble writing to the BIOS flash on the development board.
I use mio m8 ffff0000 0 but don't see any write strobes on the Bios flash device. Even after using mio dx8 22 51 4 to enable ROM writes, mio m8 ffff0000 0 doesn't result in any write strobes. Reading the bios works fine. This is on the Elite development board, running linux (Redhat 7.1). Have I missed something ? Replying to myself - yes ! I've modified the linuxbios flash_rom program to continuously do the flash ident accesses. This is write, write, write, read, read, write in a loop. MEMWR is busy with no gaps, MEMRD has nothing (except for the refresh cycles). Perhaps it is a shadowing problem ?[ This message was edited by: pjhf on 05-11-2003 12:46 ]2003-11-05 02:03 AM
It's a bug in the freebios code I was using to access the flash.
A missing volatile allowed the C compiler to reorder the flash accesses so that the ident wasn't read properly.