|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
The Using watch dog in mcf52211Dear all Can some body help me to use watchdog in mcf52211. The
register map in mcf5221x_reg.h does not include Backup watch dog registers. Please send me the function for the same Regards Sanjay Morab |
|
|
DDR ram issue using MCF54450 @240MhzWe have a MCF54450 running at a CPU CLK of 240Mhz. we are
using U-Boot 1.2.0 our design is using 1 16 bit Flash a PC28F256P33B85
BGA64. We are executing code in Flash and have written a DDR-ram test walking
ones and walking zeros and address and address this will run for days at a time
billions and billions of writes and reads. When we move this to DDR-ram which is a MICRON
MT47H64M8CF-3:F which we use two of on SD-16 through SD-31with SD_A0-SD_A13 and SD_CS SD_DM2 SD_DQS2 SD_DM3 SD_DMQS3 We cannot run code we are using the same settings as the
Reference design the same chips. I have layed out the board with mentor and
have put restraints in all of the lines to keep them within .4 inches in
length. The symptoms are it either gets an exception out in space
or locks up before it gets to NET: functions Anyone have any thoughts about the issue. Gregg |
|
|
RE: DDR ram issue using MCF54450 @240MhzHi all More to report my actual problem appears to be cache I have
disabled icache and u-boot seems to be working as expected. If I type (icache
on) the system locks up. Anyone know if this symptom is telling me something I need
to look at such a layout other variables ect. Gregg Gregg GRANVILLE Hardware Engineering Manager ------------------------------------------------------- Tel 1 603.622.0212 / Fax 1 603.623.5623 ggranville@... / www.metronics.com ----------------------------------------------------------------------------------------- METRONICS /// 30 Harvey Road // Bedford,
NH 03110-6818 / US From:
coldfire-bounce@... [mailto:coldfire-bounce@...] On Behalf
Of Granville Gregg We have a MCF54450 running at a CPU CLK of 240Mhz. we are
using U-Boot 1.2.0 our design is using 1 16 bit Flash a PC28F256P33B85
BGA64. We are executing code in Flash and have written a DDR-ram test walking
ones and walking zeros and address and address this will run for days at a time
billions and billions of writes and reads. When we move this to DDR-ram which is a MICRON
MT47H64M8CF-3:F which we use two of on SD-16 through SD-31with SD_A0-SD_A13 and SD_CS SD_DM2 SD_DQS2 SD_DM3 SD_DMQS3 We cannot run code we are using the same settings as the
Reference design the same chips. I have layed out the board with mentor and
have put restraints in all of the lines to keep them within .4 inches in
length. The symptoms are it either gets an exception out in space
or locks up before it gets to NET: functions Anyone have any thoughts about the issue. Gregg coldfire@... Send a post to the list.
coldfire-join@... Join the list. coldfire-digest@... Join the
list in digest mode. coldfire-leave@... Leave the list. |
|
|
Re: RE: DDR ram issue using MCF54450 @240MhzGregg,
I think turning on the cache allows burst accesses so if there is a problem with those then it only shows up when the cache is enabled. Regards, Chris 2008/12/17 Granville Gregg <ggranville@...>
coldfire@... Send a post to the list. coldfire-join@... Join the list. coldfire-digest@... Join the list in digest mode. coldfire-leave@... Leave the list. |
|
|
|
|
|
RE: DDR ram issue using MCF54450 @240MhzHi Gerry This how we have them connected the only difference from our
board and the reference design is that we have two less chips. We removed the
chips that were connected to the SD_CS1 our burst mode is set at both ends to 8
I have tried 4 as well but then the SDRAM will not even function. Maybe you
could pass this along to someone else if you need to if you need the code as
well let me know what file or files. Our basic problem is we cannot turn cache on and execute code
with cache disabled everything works fine.
There seems to be an issue with polarity with the FB_TS line when
using 16 bit as well. Looks to be the same issue that was on the original
MCF5475 part. In our design we use the FB_TS line to latch the data into a
LVCH162373 the problem arises at start up the TS line starts at reset as a high.
This will not work because the address will not be latched until a low going
signal. We could change the part to a LVCH162374 and it may work we chose to
invert the signal. Very, very early MCF5475 had this problem and a lot of early
reference design boards had this problem and were exchanged to have the
processors replaced the applications notes were wrong as well. Basically one deficiency
of the MCF54450 documentation is that no where do you show how to use a 16 bit
muxed data bus part only 8 Bit. Regards Gregg Gregg GRANVILLE Hardware Engineering Manager ------------------------------------------------------- Tel 1 603.622.0212 / Fax 1 603.623.5623 ggranville@... / www.metronics.com ----------------------------------------------------------------------------------------- METRONICS /// 30 Harvey Road // Bedford,
NH 03110-6818 / US From:
coldfire-bounce@... [mailto:coldfire-bounce@...] On Behalf
Of Vahe Gerald Hey Greg, (ע좕ڢq稙'uhۨ˜W_)←ǜbh{azXʥuyؠz˰Wkǜbh{azX)݊jyʥuzW좕ڢq稘롺X |
|
|
Re: RE: DDR ram issue using MCF54450 @240MhzX-SpamDetect-Info: ------------- Start ASpam results ---------------
X-SpamDetect-Info: This message may be spam. This message BODY has been altered to show you the spam information X-SpamDetect: ****: 4.000000 GreyPassed=1.0, DodgySource=2.0, SPF Default Fail=1.0 X-SpamDetect-Info: ------------- End ASpam results ----------------- Granville Gregg wrote: > Hi Gerry > > > > This how we have them connected the only difference from our board and > the reference design is that we have two less chips. We removed the > chips that were connected to the SD_CS1 our burst mode is set at both > ends to 8 I have tried 4 as well but then the SDRAM will not even > function. Maybe you could pass this along to someone else if you need to > if you need the code as well let me know what file or files. > > > > Our basic problem is we cannot turn cache on and execute code with cache > disabled everything works fine. > > I don't know if this is of any help at all, but I had similar symptoms with a MCF5235 and SDRAM - with the icache disabled, everything worked fine, but enabling it caused crashes. It turned out to be an incorrect setting in the CBM field of the DACR register (I presume the DDR registers have similar names). I don't know quite why, but this caused burst reads to fail for all addresses with A17 high (IIRC - it may have been a different address line) - the first two reads in the burst were correct but the others were always read as copies of the second word of the burst read. What made this especially fun was that my test code fitted within the first working block - it was the customer's code that was large enough to be caught out. I'd recommend double checking your DDR connections, the ColdFire register setup, and the initialisation sequence. Then put all your notes away and figure out the settings again from scratch. mvh., David --- coldfire@... Send a post to the list. coldfire-join@... Join the list. coldfire-digest@... Join the list in digest mode. coldfire-leave@... Leave the list. |
|
|
RE: RE: DDR ram issue using MCF54450 @240MhzI Just posted this on the Freescale support site as well anyone
have any thoughts. DDR2 Questions for the MCF54450VM240 I have separated my schematic to show 4 figures. My basic
problem is that I am unable to run the cache I am only using two chips they are
what’s available from Micron today the evaluation board is using
MT47H64M8CB-5E:B which are not availably any longer, on our board we are using
MT47H64M8CF-3:F. We have written a DDR2 ram test this passes every time we then
turn on cache and the system locks up. We are using uboot1.2 that came with the
Development kit. Below is what our setting are for the EVB board. Several people have responded to my questions on wildrice
e-mail group that they thought the issue was burst mode and that I may have
some lines wrong that is why I have included the Figures in the e-mail. As you can see we have tried to recalculate the
appropriate values for the registers with no luck. #ifdef CL_3 #define CFG_SDRAM_CFG1 0x65311610
//rlb was 0x65311610 //IF CL==5 should be 0x67511610 #define
CFG_SDRAM_CFG2 0x59670000 //rlb was 0x59670000
//if CL==5 should be 0x5B670000 #define CFG_SDRAM_MODE 0x00010033
//rlb was 0x00010033 //if CL==5 should be 0x00010053 #else //CL_5 #define CFG_SDRAM_CFG1
0x67511610 //rlb was 0x65311610 //IF CL==5 should be 0x67511610 #define CFG_SDRAM_CFG2
0x5B670000 //rlb was 0x59670000 //if CL==5 should be 0x5B670000 #define CFG_SDRAM_MODE 0x00010053 //rlb
was 0x00010033 //if CL==5 should be 0x00010053 #endif //CL_3 There are 4 modifications to move the cas latency from 3
to 5. RD_LAT in SDCFG1 changes from 3 to 5 SWT2RWP in SDCFG1 changes from 3 to 5 BWP2RWP in SDCFG2 changes from 9 to B CL in DDR2 MODE REGISTER (SDMR) changes from 3 to 5 Could I get someone to help with getting these setting right
for this DDR2 ram?
FIG
1
FIG 2
FIG
3
FIG 4 Gregg GRANVILLE Hardware Engineering Manager ------------------------------------- Tel 1 603.622.0212 / Fax 1 603.623.5623 ggranville@... / www.metronics.com -------------------------------------------------------- METRONICS /// 30 Harvey Road // Bedford, NH 03110-6818 /
US |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |