Hi guys,

I'm working to create an image of CE to be downloadable (and debuggable) by
means of a serial port. The target platform is an Intel PXA270 microprocessor.
The bootloader I'm using is eboot (the one integrated in platform builder).
Can anybody suggest how I can modify the bootloader to download (and debug)
the image by the serial port FF of the microprocessor?

Re: Download and debug CE image by serial port by voidcoder

voidcoder
Wed Sep 27 15:33:39 CDT 2006


Just an advice, don't do that. Use Ethernet,
USB (it is built in as well), hardware debugger
or whatever but not serial. Keep in mind, the mid
size design with quite small number of features
will produce somewhat ~10-15MB image in debug build.
It is around 15min at 115200 just to upload the image
to RAM and to boot it from there. Are you ready to
spend so much every time you want to start debugging?


On Wed, 27 Sep 2006 19:39:02 +0200, Dwarf <Dwarf@discussions.microsoft.com> wrote:

> Hi guys,
>
> I'm working to create an image of CE to be downloadable (and debuggable) by
> means of a serial port. The target platform is an Intel PXA270 microprocessor.
> The bootloader I'm using is eboot (the one integrated in platform builder).
> Can anybody suggest how I can modify the bootloader to download (and debug)
> the image by the serial port FF of the microprocessor?
>
>
>
>


Re: Download and debug CE image by serial port by Dwarf

Dwarf
Thu Sep 28 05:31:02 CDT 2006

Yes, I know that download will be very long, but, in this phase of my
developing, I can access only serial port.
So, if you can advice something it is appreciated.

Thanks

"voidcoder" wrote:

>
> Just an advice, don't do that. Use Ethernet,
> USB (it is built in as well), hardware debugger
> or whatever but not serial. Keep in mind, the mid
> size design with quite small number of features
> will produce somewhat ~10-15MB image in debug build.
> It is around 15min at 115200 just to upload the image
> to RAM and to boot it from there. Are you ready to
> spend so much every time you want to start debugging?
>
>
> On Wed, 27 Sep 2006 19:39:02 +0200, Dwarf <Dwarf@discussions.microsoft.com> wrote:
>
> > Hi guys,
> >
> > I'm working to create an image of CE to be downloadable (and debuggable) by
> > means of a serial port. The target platform is an Intel PXA270 microprocessor.
> > The bootloader I'm using is eboot (the one integrated in platform builder).
> > Can anybody suggest how I can modify the bootloader to download (and debug)
> > the image by the serial port FF of the microprocessor?
> >
> >
> >
> >
>
>

Re: Download and debug CE image by serial port by voidcoder

voidcoder
Thu Sep 28 05:58:52 CDT 2006


Have a look through the SBOOT loader sources
to understand what has to be implemented in
your bootloader.

To support it in the OS, you will need to
initialize the KITL connection in your OEMInit()
handler. Just setup correctly the KITLTRANSPORT
structure and pass it down to OALKitlInit().
Note that you have to use OAL_KITL_TYPE_SERIAL
KITL device type. Of course, you have to implement
also all the required OAL_KITL_SERIAL_DRIVER callbacks
in your OAL.


On Thu, 28 Sep 2006 12:31:02 +0200, Dwarf <Dwarf@discussions.microsoft.com> wrote:

> Yes, I know that download will be very long, but, in this phase of my
> developing, I can access only serial port.
> So, if you can advice something it is appreciated.
>
> Thanks
>
> "voidcoder" wrote:
>
>>
>> Just an advice, don't do that. Use Ethernet,
>> USB (it is built in as well), hardware debugger
>> or whatever but not serial. Keep in mind, the mid
>> size design with quite small number of features
>> will produce somewhat ~10-15MB image in debug build.
>> It is around 15min at 115200 just to upload the image
>> to RAM and to boot it fro