Linux MIPS Architecture development
 help / color / mirror / Atom feed
* boot pb1500 from flash through 16-bit data bus?
@ 2003-11-04  2:13 Wang Zaifang
  2003-11-04  5:41 ` Lyle Bainbridge
  0 siblings, 1 reply; 3+ messages in thread
From: Wang Zaifang @ 2003-11-04  2:13 UTC (permalink / raw)
  To: linux-mips

hi, 
  Does anyone have experience on writing 16-bit booting code for PB1500?
  I'm working on a customized au1500 board that has puzzled us for serveral days, :-( The board is designed to boot from flash using 16-bit data bus, however it seemed that the code we stored in the flash does not run at all. There might be some errors in our design, so we turn to the PB1500 eval-board.
  I wrote a piece of testing code that sends 010101... series to GPIO[0] continuousely after reset. The code runs well when the SRAM data bus is set to 32-bit width, i.e. a square waveform appears on GPIO[0]. Then I burn the code into flash through YAMON, assuring the code only reside in one flash chip of the two. Content of the flash looks like this in YAMON:

YAMON> dump bdc00000

BDC00000: 90 B1 00 00 08 3C 00 00 80 80 00 00 09 34 00 00  .±...<.......4..
BDC00010: 2C 00 00 00 09 AD 00 00 FF FF 00 00 09 34 00 00  ,....-.......4..
BDC00020: 00 01 00 00 09 AD 00 00 00 00 00 00 09 24 00 00  .....-.......$..
...

  Each instruction word is split into two half-words, and put into lower 16-bits of two words. Then I reset the PB1500 board, switch S15 to set the SRAM data bus to 16-bit mode, switch S13 to boot from the specified flash chip. But the code will not run, even after I swap the byte-order and the halfword-order.

  Any advice will be appreciated, :-)

        Wang Zaifang
        yikok9@yahoo.com.cn
          2003-11-04

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-04  5:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-04  2:13 boot pb1500 from flash through 16-bit data bus? Wang Zaifang
2003-11-04  5:41 ` Lyle Bainbridge
2003-11-04  5:41   ` Lyle Bainbridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox