From: <bar...@ya...> - 2001-07-07 04:02:45
|
Thanks, Doug. /RDY was pulled up by an FPGA pin. After adding a pulled down resister, the cpu now reads from the Flash and executing the sh-ipl now (well not quite, still need to set up the SDRAM). Thanks again. Mark --- Doug Martens <mar...@sy...> wrote: > Barkuson, > > The /RDY line should be idled low and actively > driven high when the user wishes to add extra wait > states beyond what is required through the bus state > controller(BSC). The BSC acts differently then > expected. First it waits the required number of > cycles programmed within the BSC in WCR2(wait > control register 2) then it samples /RDY waiting for > that line to be asserted. After that line is > asserted it will end that cycle successfully. The > default mode, which is what you will observe at > reset time, is 15 cycles inserted and then wait for > /RDY assertion. > > Change your hardware to idle /RDY low during at > least CS0 accesses. Hopefully this helps. > > Doug Martens > Senior Design Engineer > mar...@sy... > 1000 Waverley St. > Winnipeg, MB, Canada > R3T 0P3 > Symbol Technologies, Winnipeg > Ph: (204) 478-8046 > www.symbol.com > > > >>> Barkuson <bar...@ya...> 07/04/01 12:58PM > >>> > Hi Doug: > > Thanks for your help, you are a life saver. > I went through the following pins and tried > different > settings. Unfortunately, the address line still does > not advance from reset address 0x00000000. > > >First a couple of questions; > > 1. What is the state of /RDY? > This pin is pulled high, and sits on high. > > > 2. What is the state of /MRESET? > This pin is also pulled high and sits on high. > > > 3. What is the state of /TRST? > This pin is pulled low. If this pin is pulled high, > the CPU stays in reset status. > > > 4. During power up reset and operation what was > >the mode pin settings, and was the correct timing > >observed? > The mod pins are as followed: > MOD0 high > MOD1 low > MOD2 high (for 6:3:3/2 clock setting) > > MOD3 high > MOD4 low (8 bit for Area 0 - 8 bit Flash memory) > > MOD5 high little endian > MOD6 high normal memory > MOD7 high master > MOD8 high crystal resonator > > Orignally, the 1.95 is brought up around 200ms after > 3.3V, the reset line becomes high at the same time > as > the 1.95V. > The reset circuit was modified, now, the reset line > comes up 150ms after 1.95V is up. > > > 5. What type of memory and in what > configuration > >is the memory configured? > Area 0 1MB FLASH memory 10MHz (8bit data bus) > Area 3 8MB SDRAM 100MHz (32bit data bus) > Area 4 512kB SRAM 100MHz (32bit data bus) > > >Getting the board to read the reset vector is the > >first hurdle. The second hurdle with the SH4 is > the > >proper start timing configuration for DRAM/SDRAM! > > Is there anything else I should look out for??? I > suppose that this can only be a hardware problem > (pin > settings). Since that bus should read at least 2 > 8-bit > data from the Flash memory before the first > instruction is fetched for execution. Is this true?? > > Thanks again, > > Mark > > > > --- Doug Martens <mar...@sy...> wrote: > > First > a couple of questions; > > 1. What is the state of /RDY? > > 2. What is the state of /MRESET? > > 3. What is the state of /TRST? > > 4. During power up reset and operation what > was > > the mode pin settings, and was the correct timing > > observed? > > 5. What type of memory and in what > configuration > > is the memory configured? > > > > Getting the board to read the reset vector is the > > first hurdle. The second hurdle with the SH4 is > the > > proper start timing configuration for DRAM/SDRAM! > > > > Doug Martens > > Senior Design Engineer > > mar...@sy... > > 1000 Waverley St. > > Winnipeg, MB, Canada > > R3T 0P3 > > Symbol Technologies, Winnipeg > > Ph: (204) 478-8046 > > www.symbol.com > > > > > > >>> Barkuson <bar...@ya...> 07/04/01 08:42AM > > >>> > > > > Hi, > > > > Firstly, my apologies for sending this mail if > this > > is > > not relevent to the mailing list. However, this is > > quite urgent, sorry. Could any hardware people > help > > me > > out please? > > > > I have a custom Sh4 (SH7750) board which has not > > been > > able to run :(. Everything looks alright except > that > > the board boots up and sits at address 0x00000000 > > (the > > data at this address in the flash memory is on the > > data bus). The CPU seems to halt at this point > with > > the following board status, > > > > - both main crystal and rtc crystal running > > - both status pin at low level > > - all NMI and IRL pins pulled up > > - BREQ pulled up > > - address sits at 0x00000000 and does not > increments > > - CS0 low > > - RD low > > - all WE high > > > > Is there anything else that I should check?? or > any > > setting that I could be missing?? > > > > Can anyone direct me to a right place?? > > > > All helps are greatly appreciated. > > > > Mark > > > > > > > _____________________________________________________________________________ > > http://messenger.yahoo.com.au - Yahoo! Messenger > > - Voice chat, mail alerts, stock quotes and > > favourite news and lots more! > > > > _____________________________________________________________________________ > http://messenger.yahoo.com.au - Yahoo! Messenger > - Voice chat, mail alerts, stock quotes and > favourite news and lots more! > _____________________________________________________________________________ http://messenger.yahoo.com.au - Yahoo! Messenger - Voice chat, mail alerts, stock quotes and favourite news and lots more! |