Skip to contentSkip to conversation

Problem booting on custom board (85xx)

U-Boot Alden 4 participants 5 messages Feb 25, 2011

lore
Share & tools
lore

Alden

#0 lore raw

I have a USB TAP. I have had a lot of problems with the code warrior software so I sort of gave up on it and tried to use uboot. I wish freescale support was better :)

If no one has any suggestions for doing this in the uboot code I guess I will have to go back to fighting with codewarrior.

#1 lore raw

Dear Kevin,

Quoted 7 lines · In message <[email protected]> you wrote:

I have a USB TAP. I have had a lot of problems with the code warrior soft- ware so I sort of gave up on it and tried to use uboot. I wish freescale support was better :)

If no one has any suggestions for doing this in the uboot code I guess I will have to go back to fighting with codewarrior.

The USB tap can be used most efficiently as a door stop (but it's not even perfect in this function). Do yourself a favour and get some real tool, like a BDI3000.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The one charm of marriage is that it makes a  life  of  deception  a
neccessity."                                            - Oscar Wilde
#2 lore raw
In reply to Alden

Dear Kevin:

I prefer BDI also, but I recently used a TAP with a Freescale P2020 (Dual core 85xx) and once the config file is setup in codewarrior, one can then use its memory test routines. I did find that email to support at freescale.comwas moderately helpful. Sometimes you get someone knowledgable, some times
not so.

But, ... the TAP can be used to initialize memory and run memory tests, although as Wolfgang says, the BDI is better.

Charles

Quoted 14 lines · Kevin

I have a USB TAP. I have had a lot of problems with the code warrior software so I sort of gave up on it and tried to use uboot. I wish freescale support was better :)

If no one has any suggestions for doing this in the uboot code I guess I will have to go back to fighting with codewarrior.

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 1 line
Charles Krinke
#3 lore raw
In reply to Alden

Dear Kevin:

There should be a config file that came with the CodeWarrior for the USB TAP for the 85xx reference board from Freescale. Here are the steps to get the RAM functional.

1. Study the config file for the reference board and the related schematic.
2. Study the reference manual for the chip with particular attention to DDR register initialization and the reference board config file for the TAP.
3. Correlate differences between the 85xx reference board schematic and your custom board schematic for DDR RAM and adjust the config file DDR register settings.
4. Startup your board with the code tap. A connect should allow you to read/write register on the 85xx chip.
5. Startup your board with the code tap but do not do a connect. Pull down the drop down menu for RAM tests and run the simplest tests, that is read/write one address or a small range of addresses.
6. Adjust your DDR RAM config file init parameters until the RAM passes the CW TAP memories tests.

Until you have *some* semblance of RAM that can be read/written, you will not be able to know the DDR RAM initialization settings that U-boot will need in its startup file that does a similar thing that the JTAG does.

Charles

Quoted 14 lines · Kevin

I have a USB TAP. I have had a lot of problems with the code warrior software so I sort of gave up on it and tried to use uboot. I wish freescale support was better :)

If no one has any suggestions for doing this in the uboot code I guess I will have to go back to fighting with codewarrior.

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 1 line
Charles Krinke
#4 lore raw
In reply to Alden

Hi Kevin,

I have a simple DDR memory test tied to the testdram function that
disables cache before testing. I can send you the functions directly
if you'd like to give it a try.

Jared

-----Original Message-----
From: [email protected] [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Alden, Kevin
Sent: Friday, February 25, 2011 3:35 AM
To: u-boot at lists.denx.de
Subject: Re: [U-Boot] Problem booting on custom board (85xx)

I have a USB TAP. I have had a lot of problems with the code warrior software so I sort of gave up on it and tried to use uboot. I wish freescale support was better :)

If no one has any suggestions for doing this in the uboot code I guess I will have to go back to fighting with codewarrior.