Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Ads

Discussion Groups

Discussion Groups | TMS320C54x | More questions about HPI.

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

More questions about HPI. - nadhje - Aug 11 14:01:00 2004



Hello everyone.

I've decided to build my own HPI bootloader for the C5410 and i found
some problems concerning the addressing.

In order to boot the code I have to write the program in the DSP
memory during the reset. I used the DSK coff extractor of the DSK5402
to format the .out file.

So, i've read the TI docs and i've writen a program analog to the hpi-
boot of the C5402 DPSK.

That is:

RESET THE DSP
WRITE PROGRAM MEMORY
WRITE DATA MEMORY
STOP RESET

The only doubt i have now is how to say to the HPI address register
whether the data i'm going to write goes to the PROGRAM pages or the
DATA pages.

I know that you have to write the address into the HPIA but my
question is: Which address?

Does anybody know how to translate a data/program address into a HPI
address?

David.





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

Re: More questions about HPI. - Les Newell - Aug 11 19:55:00 2004

Hi David,
My experience is with the 5402 but I would have thought they are pretty
similar.

There is an output that has to be connected to an input to boot in HPI
mode. I can't remember the exact pins, the data is at work and I am at home.

Reset the dsp
Release reset on the dsp.
With the two pins connected the DSP now runs a bootloder from it's
internal ROM.

Write to memory - OVLY is 1 at this time so program memory = data memory.

Write the program start address to the boot vector. Th DSP should now boot.

HTH,
Les

nadhje wrote:
> Hello everyone.
>
> I've decided to build my own HPI bootloader for the C5410 and i found
> some problems concerning the addressing.
>
> In order to boot the code I have to write the program in the DSP
> memory during the reset. I used the DSK coff extractor of the DSK5402
> to format the .out file.
>
> So, i've read the TI docs and i've writen a program analog to the hpi-
> boot of the C5402 DPSK.
>
> That is:
>
> RESET THE DSP
> WRITE PROGRAM MEMORY
> WRITE DATA MEMORY
> STOP RESET
>
> The only doubt i have now is how to say to the HPI address register
> whether the data i'm going to write goes to the PROGRAM pages or the
> DATA pages.
>
> I know that you have to write the address into the HPIA but my
> question is: Which address?
>
> Does anybody know how to translate a data/program address into a HPI
> address?
>
> David.




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

Re: More questions about HPI. - ted_buswell - Aug 12 13:35:00 2004

--- In , "nadhje" <nadhje@y...> wrote:
> The only doubt i have now is how to say to the HPI address register
> whether the data i'm going to write goes to the PROGRAM pages or the
> DATA pages.

The HPI presents a flat address space - just ignore program vs. data.
You should find that they don't overlap. If they do overlap,
you've got other problems :)




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