Re: Debugger disconnected
- From: "Dean Ramsier" <ramsiernospam@xxxxxxxxxx>
- Date: Wed, 17 Aug 2005 09:54:31 -0400
Most likely scenario (happened to me the same way...)
There are bootme messages coming out of the kernel when kitl initializes.
This causes Platform Builder to attempt to initiate another download, but
the device has already booted and isn't joining the process. So, PB
eventually times out and disconnects without realizing there is already a
kitl connection already happily up and running.
Two solutions
1 - The best solution is to find the offending code sending bootme packets,
and remove it. Why would it potentially be there in the first place? This
is the mechanism that causes the device to show up in the dialog box when
configuring the connection. Normally, the ethernet download process in the
bootloader sends these messages, and that's how you configure PB. If you
have a scenario where the image is being loaded some other way, the
bootloader isn't sending the messages, and it's tempting to put them in the
kernel just to make sure they exist somewhere.
2 - Configure PB to do something other than "Download Always" in the
connection settings. This way, it won't always attempt to download when it
sees the bootme messages, and thus won't time out part way through the debug
cycle.
--
Dean Ramsier - eMVP
"Piet" <pietdesomere@xxxxxxxxx> wrote in message
news:1124283602.635750.107380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> So.
>
> Platform Builder disconnects 45 seconds after OEMInit finishes.
> Debug/retail is same, OS image based on custom device or tiny kernel is
> same, and it doesn't matter if I keep the device in a breakpoint.
> Before disconnection debugging works perfectly, I see nothing out of
> order.
>
> Please shed a little bit of your combined wisdom on this as I have no
> idea what the condition would be for PB to break the connection.
>
> Naturally, I will give whatever extra information would be required,
> but frankly I have no idea where to look at this moment.
>
> Regards,
> Piet
>
.
- Follow-Ups:
- Re: Debugger disconnected
- From: Piet
- Re: Debugger disconnected
- From: Piet
- Re: Debugger disconnected
- References:
- Debugger disconnected
- From: Piet
- Re: Debugger disconnected
- From: Piet
- Debugger disconnected
- Prev by Date: Re: Debugger disconnected
- Next by Date: Re: Debugger disconnected
- Previous by thread: Re: Debugger disconnected
- Next by thread: Re: Debugger disconnected
- Index(es):
Relevant Pages
|