* [U-Boot-Users] Booting with attached BDI but not alone
@ 2007-09-10 15:53 DI BACCO ANTONIO - technolabs
2007-09-10 20:17 ` David Hawkins
` (3 more replies)
0 siblings, 4 replies; 16+ messages in thread
From: DI BACCO ANTONIO - technolabs @ 2007-09-10 15:53 UTC (permalink / raw)
To: u-boot
Hi,
I downloaded an u-boot.bin (1.1.4) on to my flash (a board with MPC875).
If I connect BDI and type go I see output on my serial console. If I
start the board without the attached BDI nothing appears.
Any hint?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070910/fcbc5cc4/attachment.htm
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] Booting with attached BDI but not alone
2007-09-10 15:53 [U-Boot-Users] Booting with attached BDI but not alone DI BACCO ANTONIO - technolabs
@ 2007-09-10 20:17 ` David Hawkins
2007-09-10 20:19 ` Ben Warren
` (2 subsequent siblings)
3 siblings, 0 replies; 16+ messages in thread
From: David Hawkins @ 2007-09-10 20:17 UTC (permalink / raw)
To: u-boot
> I downloaded an u-boot.bin (1.1.4) on to my flash (a board with MPC875).
> If I connect BDI and type go I see output on my serial console. If I
> start the board without the attached BDI nothing appears.
>
> Any hint?
Probably the BDI is configuring something correctly that
your startup code is not.
Compare the register settings in the BDI configuration
file to what is in the startup code.
Dave
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] Booting with attached BDI but not alone
2007-09-10 15:53 [U-Boot-Users] Booting with attached BDI but not alone DI BACCO ANTONIO - technolabs
2007-09-10 20:17 ` David Hawkins
@ 2007-09-10 20:19 ` Ben Warren
2007-09-10 20:22 ` Wolfgang Denk
2007-09-11 8:33 ` w.wegner at astro-kom.de
3 siblings, 0 replies; 16+ messages in thread
From: Ben Warren @ 2007-09-10 20:19 UTC (permalink / raw)
To: u-boot
DI BACCO ANTONIO - technolabs wrote:
> Hi,
>
> I downloaded an u-boot.bin (1.1.4) on to my flash (a board with
> MPC875). If I connect BDI and type go I see output on my serial
> console. If I start the board without the attached BDI nothing appears.
>
> Any hint?
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
Maybe your BDI config file initializes something that U-boot doesn't.
If you take everything out of the [INIT] section, do you get the same
behavior?
regards,
Ben
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] Booting with attached BDI but not alone
2007-09-10 15:53 [U-Boot-Users] Booting with attached BDI but not alone DI BACCO ANTONIO - technolabs
2007-09-10 20:17 ` David Hawkins
2007-09-10 20:19 ` Ben Warren
@ 2007-09-10 20:22 ` Wolfgang Denk
2007-09-11 8:33 ` w.wegner at astro-kom.de
3 siblings, 0 replies; 16+ messages in thread
From: Wolfgang Denk @ 2007-09-10 20:22 UTC (permalink / raw)
To: u-boot
In message <F1F6EC0C8B75034F9E3A79FC85122E8EA640E6@aquib01a> you wrote:
>
> I downloaded an u-boot.bin (1.1.4) on to my flash (a board with MPC875).
> If I connect BDI and type go I see output on my serial console. If I
> start the board without the attached BDI nothing appears.
>
> Any hint?
Fix your board init code, i. e. check what the BDI init sequence is
doing and what of this is missing in your initialization parts.
Maybe yous till include - against all our recommendations - include
some setup of the memory controller in your BDI config file, and this
is missing / broken in your code.
> ------_=_NextPart_001_01C7F3C2.C92E52CE
> Content-Type: text/html;
> charset="us-ascii"
And don't post HTML here, please.
Best regards,
Wolfgang Denk
--
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
Backed up the system lately?
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] Booting with attached BDI but not alone
2007-09-10 15:53 [U-Boot-Users] Booting with attached BDI but not alone DI BACCO ANTONIO - technolabs
` (2 preceding siblings ...)
2007-09-10 20:22 ` Wolfgang Denk
@ 2007-09-11 8:33 ` w.wegner at astro-kom.de
2007-09-11 16:01 ` [U-Boot-Users] Booting with attached BDI but not alone (only ICTRL remained in BDI cfg) DI BACCO ANTONIO - technolabs
3 siblings, 1 reply; 16+ messages in thread
From: w.wegner at astro-kom.de @ 2007-09-11 8:33 UTC (permalink / raw)
To: u-boot
Hi,
On 10 Sep 2007 at 17:53, DI BACCO ANTONIO - technolabs wrote:
>
> Hi,
>
> I downloaded an u-boot.bin (1.1.4)on to my flash (a board with MPC875). If I connect BDI and type go I see output on my serial console. If I start the board without the
> attached BDI nothing appears.
just a stupid idea:
did you connect a pull-up resistor to BKPT on your board?
I heard rumours there are people who forgot this on their
own MCF5373L board... ;-)
Regards,
Wolfgang
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] Booting with attached BDI but not alone (only ICTRL remained in BDI cfg)
2007-09-11 8:33 ` w.wegner at astro-kom.de
@ 2007-09-11 16:01 ` DI BACCO ANTONIO - technolabs
2007-09-11 16:16 ` [U-Boot-Users] Booting with attached BDI but not alone (onlyICTRL " DI BACCO ANTONIO - technolabs
2007-09-12 10:47 ` DI BACCO ANTONIO - technolabs
0 siblings, 2 replies; 16+ messages in thread
From: DI BACCO ANTONIO - technolabs @ 2007-09-11 16:01 UTC (permalink / raw)
To: u-boot
> just a stupid idea:
>did you connect a pull-up resistor to BKPT on your board?
My Board is an evaluation board and it worked till few months ago.
Now I removed any initialization from cgf file of BDI. Only special
register 158 is set to 0x00000007 and I cannot remove this, otherwise
BDI complains about halting the target.
Anyway the board continues to boot only using BDI not alone.
Now I don't understand what could be the problem. Should I set SPR 158
from within u-boot to 0x00000007?
Bye,
Antonio.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] Booting with attached BDI but not alone (onlyICTRL remained in BDI cfg)
2007-09-11 16:01 ` [U-Boot-Users] Booting with attached BDI but not alone (only ICTRL remained in BDI cfg) DI BACCO ANTONIO - technolabs
@ 2007-09-11 16:16 ` DI BACCO ANTONIO - technolabs
2007-09-12 10:47 ` DI BACCO ANTONIO - technolabs
1 sibling, 0 replies; 16+ messages in thread
From: DI BACCO ANTONIO - technolabs @ 2007-09-11 16:16 UTC (permalink / raw)
To: u-boot
> Now I don't understand what could be the problem. Should I set SPR 158
> from within u-boot to 0x00000007?
I saw that ICTRL is set in cpu/mpc8xx/start.S
Then I suppose BDI is doing other settings. But what?
This is my BDI cfg file (I removed all stuff except ICTRL):
; bdi configuration file for Adder/875
; ----------------------------------------------
;
[INIT]
; init core register
WSPR 158 0x00000007 ;ICTRL: not serialized, no show
cycles
[TARGET]
BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT)
BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware
breakpoints
[HOST]
PROMPT adder875>
IP 10.10.0.101
FILE u-boot.bin
FORMAT BIN
LOAD MANUAL
[FLASH]
CHIPTYPE AM29BX16 ; Flash type (AM29F | AM29BX8 | AM29BX16 |
I28BX8 | I28BX16)
CHIPSIZE 0x800000 ; 8 Meg The size of one flash chip in bytes
(e.g. AM29F010 = 0x20000)
BUSWIDTH 16 ; The width of the flash memory bus in bits (8
| 16 | 32
ERASE 0xF8000000 ; FLASH sector #0
ERASE 0xF8010000 ; FLASH sector #1
ERASE 0xF8020000 ; FLASH sector #2
ERASE 0xF8030000 ; FLASH sector #3
FILE u-boot.bin
FORMAT BIN
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] Booting with attached BDI but not alone (onlyICTRL remained in BDI cfg)
2007-09-11 16:01 ` [U-Boot-Users] Booting with attached BDI but not alone (only ICTRL remained in BDI cfg) DI BACCO ANTONIO - technolabs
2007-09-11 16:16 ` [U-Boot-Users] Booting with attached BDI but not alone (onlyICTRL " DI BACCO ANTONIO - technolabs
@ 2007-09-12 10:47 ` DI BACCO ANTONIO - technolabs
2007-09-12 19:59 ` [U-Boot-Users] R: " DI BACCO ANTONIO - technolabs
1 sibling, 1 reply; 16+ messages in thread
From: DI BACCO ANTONIO - technolabs @ 2007-09-12 10:47 UTC (permalink / raw)
To: u-boot
> My Board is an evaluation board and it worked till few months ago.
> Now I removed any initialization from cgf file of BDI. Only special
> register 158 is set to 0x00000007 and I cannot remove this, otherwise
> BDI complains about halting the target.
> Anyway the board continues to boot only using BDI not alone.
> Now I don't understand what could be the problem. Should I set SPR 158
> from within u-boot to 0x00000007?
Is there any chance that the board is broken? I think I connected a
wiggler to the BDM port in the wrong position for only a while. But why
should it boot with attached BDI if is it broken?
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] R: Booting with attached BDI but not alone (onlyICTRL remained in BDI cfg)
2007-09-12 10:47 ` DI BACCO ANTONIO - technolabs
@ 2007-09-12 19:59 ` DI BACCO ANTONIO - technolabs
2007-09-12 20:09 ` David Hawkins
0 siblings, 1 reply; 16+ messages in thread
From: DI BACCO ANTONIO - technolabs @ 2007-09-12 19:59 UTC (permalink / raw)
To: u-boot
> Is there any chance that the board is broken? I think I connected a wiggler to the BDM port in the > wrong position for only a while. But why should it boot with attached BDI if is it broken?
I discovered that when the board is powered on, if I try to connect BDI connector trying to touch only pin 1 and 2 (vfls0 and sreset) the board starts. I suspect that bdi pulls up the sreset in some way.
Bye.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070912/8c300dba/attachment.htm
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] R: Booting with attached BDI but not alone (onlyICTRL remained in BDI cfg)
2007-09-12 19:59 ` [U-Boot-Users] R: " DI BACCO ANTONIO - technolabs
@ 2007-09-12 20:09 ` David Hawkins
2007-09-13 10:57 ` DI BACCO ANTONIO - technolabs
0 siblings, 1 reply; 16+ messages in thread
From: David Hawkins @ 2007-09-12 20:09 UTC (permalink / raw)
To: u-boot
DI BACCO ANTONIO - technolabs wrote:
> > Is there any chance that the board is broken? I think I connected a
> wiggler to the BDM port in the > wrong position for only a while. But
> why should it boot with attached BDI if is it broken?
>
> I discovered that when the board is powered on, if I try to connect BDI
> connector trying to touch only pin 1 and 2 (vfls0 and sreset) the board
> starts. I suspect that bdi pulls up the sreset in some way.
The JTAG/COP header *should* have the appropriate
pull-ups for HRESET#, and SRESET# *on the board*.
These are open-drain signals.
However, there could be a mistake on your board,
and perhaps the BDI2000 has weak pull-ups on the
BDI 'just in case' the pull-ups are missing on
the target.
Check your board schematic.
Dave
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] R: Booting with attached BDI but not alone (onlyICTRL remained in BDI cfg)
2007-09-12 20:09 ` David Hawkins
@ 2007-09-13 10:57 ` DI BACCO ANTONIO - technolabs
2007-09-13 13:12 ` Andreas Schweigstill
0 siblings, 1 reply; 16+ messages in thread
From: DI BACCO ANTONIO - technolabs @ 2007-09-13 10:57 UTC (permalink / raw)
To: u-boot
> However, there could be a mistake on your board,
> and perhaps the BDI2000 has weak pull-ups on the
> BDI 'just in case' the pull-ups are missing on
> the target.
I verified that SRESET on the BDM connector is pulled up (on the
schematic). I tried to pull up it with a wire but it doesn't work. It
only works if I connect a 10 cm wire to SRESET pin on the BDM connector
without connecting the other side of the wire (Probably it gets some
electromagnetic noise). The board starts and remains working if I remove
the wire, tehn, if I give a reset on the u-boot, the board hangs again.
Strange behaviour!!
Bye,
Antonio.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] R: Booting with attached BDI but not alone (onlyICTRL remained in BDI cfg)
2007-09-13 10:57 ` DI BACCO ANTONIO - technolabs
@ 2007-09-13 13:12 ` Andreas Schweigstill
2007-09-13 13:23 ` [U-Boot-Users] R: Booting with attached BDI butnot " DI BACCO ANTONIO - technolabs
0 siblings, 1 reply; 16+ messages in thread
From: Andreas Schweigstill @ 2007-09-13 13:12 UTC (permalink / raw)
To: u-boot
Hello!
DI BACCO ANTONIO - technolabs schrieb:
> I verified that SRESET on the BDM connector is pulled up (on the
> schematic). I tried to pull up it with a wire but it doesn't work.
Have you used a voltage meter or oscilloscope to check the voltage
level? Have you measured the resistance between SRESET and GND and
between SRESET and supply? Have you checked if your processor pin
is connected? Probably either the pull-up resistor isn't mounted or
your PCB is defective.
With best regards
Andreas Schweigstill
--
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstra?e 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] R: Booting with attached BDI butnot alone (onlyICTRL remained in BDI cfg)
2007-09-13 13:12 ` Andreas Schweigstill
@ 2007-09-13 13:23 ` DI BACCO ANTONIO - technolabs
2007-09-13 14:14 ` Andreas Schweigstill
0 siblings, 1 reply; 16+ messages in thread
From: DI BACCO ANTONIO - technolabs @ 2007-09-13 13:23 UTC (permalink / raw)
To: u-boot
>Have you used a voltage meter or oscilloscope to check the voltage
>level? Have you measured the resistance between SRESET and GND and
>between SRESET and supply? Have you checked if your processor pin
>is connected? Probably either the pull-up resistor isn't mounted or
>your PCB is defective.
Thank you for your suggestions but my board is an evaluation board named
adder875. It worked and after connecting a wiggler with the connector
upside down exibihts this strange behaviour. Anyway I
will measure the voltage of the pins you suggested.
Bye,
Antonio.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] R: Booting with attached BDI butnot alone (onlyICTRL remained in BDI cfg)
2007-09-13 13:23 ` [U-Boot-Users] R: Booting with attached BDI butnot " DI BACCO ANTONIO - technolabs
@ 2007-09-13 14:14 ` Andreas Schweigstill
2007-09-13 14:24 ` Jerry Van Baren
0 siblings, 1 reply; 16+ messages in thread
From: Andreas Schweigstill @ 2007-09-13 14:14 UTC (permalink / raw)
To: u-boot
Hello!
DI BACCO ANTONIO - technolabs schrieb:
> Thank you for your suggestions but my board is an evaluation board named
> adder875.
Many development boards do not have a quality which would be
acceptable for industrial or even consumer products... Forgotten
pull-up and series resistors or capacitors are quite common.
Keep in mind that many of those boards have been designed before
the processor chip has been available. And marketing/sales departments
force development to release such a board to customers long before it
has been tested.
I have never seen a development board from a semiconductor manufacturer
which doesn't contains any bugs.
With best regards
Andreas Schweigstill
--
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstra?e 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] R: Booting with attached BDI butnot alone (onlyICTRL remained in BDI cfg)
2007-09-13 14:14 ` Andreas Schweigstill
@ 2007-09-13 14:24 ` Jerry Van Baren
2007-09-13 15:15 ` Andreas Schweigstill
0 siblings, 1 reply; 16+ messages in thread
From: Jerry Van Baren @ 2007-09-13 14:24 UTC (permalink / raw)
To: u-boot
Andreas Schweigstill wrote:
> Hello!
>
> DI BACCO ANTONIO - technolabs schrieb:
>> Thank you for your suggestions but my board is an evaluation board named
>> adder875.
>
> Many development boards do not have a quality which would be
> acceptable for industrial or even consumer products... Forgotten
> pull-up and series resistors or capacitors are quite common.
>
> Keep in mind that many of those boards have been designed before
> the processor chip has been available. And marketing/sales departments
> force development to release such a board to customers long before it
> has been tested.
>
> I have never seen a development board from a semiconductor manufacturer
> which doesn't contains any bugs.
>
> With best regards
> Andreas Schweigstill
You trimmed the critical sentence "It worked and ***after connecting a
wiggler with the connector upside down*** exibihts this strange behaviour."
Sounds like his board was damaged by operator error (improperly
connecting to the BDI connector). My guess is that the pullup resistor
lost its smoke.
gvb
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] R: Booting with attached BDI butnot alone (onlyICTRL remained in BDI cfg)
2007-09-13 14:24 ` Jerry Van Baren
@ 2007-09-13 15:15 ` Andreas Schweigstill
0 siblings, 0 replies; 16+ messages in thread
From: Andreas Schweigstill @ 2007-09-13 15:15 UTC (permalink / raw)
To: u-boot
Hello!
Jerry Van Baren schrieb:
> Sounds like his board was damaged by operator error (improperly
> connecting to the BDI connector). My guess is that the pullup resistor
> lost its smoke.
I agree that the board may have been damaged by the operator. But
the pull-up resistor won't be damaged except from very high voltage.
Attaching a debug interface in the wrong direction probably may
destroy it if it gets its power supply from the target. If it has
its own supply (or gets it via USB from a PC) it can be possibly
that either negative voltages (target GND connected to debugger VCC)
or high voltages (target VCC connected to debugger GND) may be
applied to the JTAG/BDM signals on the target. Such voltages may
cause small defects to the silicon which show strange behaviour
afterwards.
Regards
Andreas Schweigstill
--
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstra?e 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2007-09-13 15:15 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-10 15:53 [U-Boot-Users] Booting with attached BDI but not alone DI BACCO ANTONIO - technolabs
2007-09-10 20:17 ` David Hawkins
2007-09-10 20:19 ` Ben Warren
2007-09-10 20:22 ` Wolfgang Denk
2007-09-11 8:33 ` w.wegner at astro-kom.de
2007-09-11 16:01 ` [U-Boot-Users] Booting with attached BDI but not alone (only ICTRL remained in BDI cfg) DI BACCO ANTONIO - technolabs
2007-09-11 16:16 ` [U-Boot-Users] Booting with attached BDI but not alone (onlyICTRL " DI BACCO ANTONIO - technolabs
2007-09-12 10:47 ` DI BACCO ANTONIO - technolabs
2007-09-12 19:59 ` [U-Boot-Users] R: " DI BACCO ANTONIO - technolabs
2007-09-12 20:09 ` David Hawkins
2007-09-13 10:57 ` DI BACCO ANTONIO - technolabs
2007-09-13 13:12 ` Andreas Schweigstill
2007-09-13 13:23 ` [U-Boot-Users] R: Booting with attached BDI butnot " DI BACCO ANTONIO - technolabs
2007-09-13 14:14 ` Andreas Schweigstill
2007-09-13 14:24 ` Jerry Van Baren
2007-09-13 15:15 ` Andreas Schweigstill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox