Forums

FW: Bootloader for 56364

Started by Corey, Rick March 8, 2005
(forwarded)

-----Original Message-----
From: wygonski [mailto:]
Sent: Tuesday, March 08, 2005 1:13 PM
To:
Subject: Re: Bootloader for 56364

If you are using the Tasking C/C++ Tools, they have an example for you
to use as a starting point. The sample shows how to use the bootstrap
loader in ROM to load a secondary and ternary bootloader to boot your
program from flash memory. You will need to modify it further if you
are booting from, say, the SCI port. You can find it in your Tasking
installation under {InstallFolder}\examples\bootrom.

On a related note, I'm wondering if anyone has any info on reading the
IEEE 695 format file output from the Tasking tools. When I developed
a flash loader a few years back, I had to use Tasking's utilities
(byte_sel and order) to create a hex file. It would have been more
convenient to operate on the .abs file directly, I think. Anyone
done this before? --- In , dbaudiopro <dbaudiopro@y...> wrote:
> Jose,
>
> The 56364 has 4 built-in bootsrtap modes (5 if you count the useless
> boot from PROM that contains no code). If you're looking to create a
> secondary bootloader at a higher core speed you can simply use the
> bootstrap ROM to load your secondary bootloader, program the PLL or do
> whatever else you want, then jump back to the bootstrap ROM code to
> finish loading the code. If you need to load to XRAM or YRAM you can
> simply copy what's in the bootstrap ROM and change the memory area it's
> moving to...
>
> --
> dB
>
> --- Jose Fuentes <josecarlosfuentes@y...> wrote:
> > Have any of you tried to implement a bootloader for
> > 56364 or any similar DSP? Serial host interface of
> > 56364 only supports SPI and I2C.
> >
> > Regards
> >
> > Jose
> >
> >
> >
> >
> >
> >
> > ___________________________________________________________
> > 250MB gratis, Antivirus y Antispam
> > Correo Yahoo!, el mejor correo web del mundo
> > http://correo.yahoo.com.ar
> >
>
> __________________________________
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
> http://birthday.yahoo.com/netrospective/


<forwarded>

I am using asm56300.exe to compile. So I have the .cld
file (COFF format).
I want to save the program in a i2c serial eeprom in
order to make the DSP's bootstrap program to load it.
How do I go about creating the memory image? It would
be easy if I had the program in s-record format, is
there a way to convert the .cld file to s-record
format? I've heard about the srec.exe program for
doing that but I couldn't find it.

Below is the link to a program to create a memory
image from a s-record file:

http://www.freescale.com/files/archives/software_tools/code_translation/M680
00BFP.txt Regards

Jose --- "Corey, Rick" <> wrote:
>
> (forwarded)
>
> -----Original Message-----
> From: wygonski [mailto:]
> Sent: Tuesday, March 08, 2005 1:13 PM
> To:
> Subject: Re: Bootloader for 56364 >
>
> If you are using the Tasking C/C++ Tools, they have
> an example for you
> to use as a starting point. The sample shows how to
> use the bootstrap
> loader in ROM to load a secondary and ternary
> bootloader to boot your
> program from flash memory. You will need to modify
> it further if you
> are booting from, say, the SCI port. You can find
> it in your Tasking
> installation under {InstallFolder}\examples\bootrom.
>
> On a related note, I'm wondering if anyone has any
> info on reading the
> IEEE 695 format file output from the Tasking tools.
> When I developed
> a flash loader a few years back, I had to use
> Tasking's utilities
> (byte_sel and order) to create a hex file. It would
> have been more
> convenient to operate on the .abs file directly, I
> think. Anyone
> done this before? > --- In , dbaudiopro
> <dbaudiopro@y...> wrote:
> > Jose,
> >
> > The 56364 has 4 built-in bootsrtap modes (5 if you
> count the useless
> > boot from PROM that contains no code). If you're
> looking to create a
> > secondary bootloader at a higher core speed you
> can simply use the
> > bootstrap ROM to load your secondary bootloader,
> program the PLL or do
> > whatever else you want, then jump back to the
> bootstrap ROM code to
> > finish loading the code. If you need to load to
> XRAM or YRAM you can
> > simply copy what's in the bootstrap ROM and change
> the memory area it's
> > moving to...
> >
> > --
> > dB
> >
> > --- Jose Fuentes <josecarlosfuentes@y...> wrote:
> > > Have any of you tried to implement a bootloader
> for
> > > 56364 or any similar DSP? Serial host interface
> of
> > > 56364 only supports SPI and I2C.
> > >
> > > Regards
> > >
> > > Jose
> > >
> > >
> > >
> > >
> > >
> > >
> > >
>
___________________________________________________________
>
> > > 250MB gratis, Antivirus y Antispam
> > > Correo Yahoo!, el mejor correo web del mundo
> > > http://correo.yahoo.com.ar
> > >
> >
> >
> >
> >
> > __________________________________
> > Celebrate Yahoo!'s 10th Birthday!
> > Yahoo! Netrospective: 100 Moments of the Web
> > http://birthday.yahoo.com/netrospective/ >
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> What would our lives be like without music, dance,
> and theater?
> Donate or volunteer in the arts today at Network for
> Good!
>
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/PNArlB/TM
>
--------------------------------~->