Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Ads

Discussion Groups

Discussion Groups | TMS320C55x | 5509 SPI Bootloader and hex55 Problem

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

5509 SPI Bootloader and hex55 Problem - gabr...@iis.fraunhofer.de - Mar 8 7:18:05 2007



Hi,

I have a problem concerning the c5509 bootloader.
I try to boot from a 24bit addressed SPI Flash
and I´ve already written a programm that writes the data
to be run into the flash.
When i have a look at the SPI-Signals after the DSP comes
out of reset i can see that the data, the dsp reads, is correct.

My question now is, how to compile the rigth data for booting.
I took the .out file, Code Composer built, und converted it
by using hex55

hex55.exe -boot -v5510:2 -serial8 -reg_config 0x1c00,0x2180 -delay 0x100 -a -o fileout.io
filein.out

Is that rigth oder did i understand something wrong?

Thanks for your help,

Christoph



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: 5509 SPI Bootloader and hex55 Problem - Jeff Brower - Mar 8 9:39:33 2007

Christoph-

> I have a problem concerning the c5509 bootloader.
> I try to boot from a 24bit addressed SPI Flash
> and I´ve already written a programm that writes the data
> to be run into the flash.
> When i have a look at the SPI-Signals after the DSP comes
> out of reset i can see that the data, the dsp reads, is correct.
>
> My question now is, how to compile the rigth data for booting.
> I took the .out file, Code Composer built, und converted it
> by using hex55
>
> hex55.exe -boot -v5510:2 -serial8 -reg_config 0x1c00,0x2180 -delay 0x100 -a -o fileout.io
filein.out
>
> Is that rigth oder did i understand something wrong?

It seems like it could be Ok, but I don't see the "entry point" parameter.  Where do
you want the bootloader to jump
to after code is loaded?  The bootloader doesn't have access to symbol information, so it
doesn't know where _c_int00
(or other) address is located in your code.

-Jeff



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: 5509 SPI Bootloader and hex55 Problem - liwe...@gmail.com - Jul 24 9:07:38 2007

On page 13-30 spru280u, it states "execution starts at the default entry point
specified by the linker and contained in the COFF file". I might want to think -e isn't
necessary if you boot from _c_int00.

I don't see the format option such as -m2 in your hex55 command. I think that's important.

Hi,
>
>I have a problem concerning the c5509 bootloader.
>I try to boot from a 24bit addressed SPI Flash
>and I�ve already written a programm that writes the data
>to be run into the flash.
>When i have a look at the SPI-Signals after the DSP comes
>out of reset i can see that the data, the dsp reads, is correct.
>
>My question now is, how to compile the rigth data for booting.
>I took the .out file, Code Composer built, und converted it
>by using hex55
>
>hex55.exe -boot -v5510:2 -serial8 -reg_config 0x1c00,0x2180 -delay 0x100 -a -o fileout.io
filein.out
>
>Is that rigth oder did i understand something wrong?
>
>Thanks for your help,
>
>Christoph



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Re: 5509 SPI Bootloader and hex55 Problem - Jeff Brower - Jul 26 16:57:18 2007

Li Wei-

> On page 13-30 spru280u, it states "execution starts at the default entry
> point specified by the linker and contained in the COFF file". I might want
> to think -e isn't necessary if you boot from _c_int00.

Probably that's Ok.

> I don't see the format option such as -m2 in your hex55 command. I think
> that's important.

-x (Tektronix format) is the default.  One advantage to Tektronix format is that it
handles extended addressing.  TI-tagged format is limited to 16-bit.  I'm not sure
what bit-width the Motorola formats (including -m2) handle for addressing.

My suggestion would be to stick with -x (or default, no entry).

-Jeff

> >I have a problem concerning the c5509 bootloader.
> >I try to boot from a 24bit addressed SPI Flash
> >and I�ve already written a programm that writes the data
> >to be run into the flash.
> >When i have a look at the SPI-Signals after the DSP comes
> >out of reset i can see that the data, the dsp reads, is correct.
> >
> >My question now is, how to compile the rigth data for booting.
> >I took the .out file, Code Composer built, und converted it
> >by using hex55
> >
> >hex55.exe -boot -v5510:2 -serial8 -reg_config 0x1c00,0x2180 -delay 0x100 -a -o
fileout.io filein.out
> >
> >Is that rigth oder did i understand something wrong?
> >
> >Thanks for your help,
> >
> >Christoph



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )