DSPRelated.com
Forums

dsk5402 bootloader

Started by alex_l_parrado July 11, 2003
I'm coming back,

Hi guys, I have another question, now is about the dsk5402 reset and
subsequent boot loading.

My DSK has the MP/MC# pin grounded, and i'm loading the .out file
using the parallel port.

Reading the spra618 i find that the booloader sets the OVLY bit.

under this condition my questions are:

* at reset the PC is loaded with 0xff80.
* when the c5402 bootloader (at 0xf800) is ejecuted?
* in the .cmd file, this memory map corresponds to how is loaded by
the computer the sections, or, how the bootloader will copy them ?

* If the DSP first jumps to 0xff80 (actually internal ROM), where is
the Interrupt table vector?.

Below there is the command file i used.
MEMORY
{
PAGE 0: EPROG: origin = 0x1400, len = 0x7c00
VECT: origin = 0xff80, len = 0x80

PAGE 1: USERREGS: origin = 0x60, len = 0x1c
BIOSREGS: origin = 0x7c, len = 0x4
IDATA: origin = 0x80, len = 0x1380
EDATA: origin = 0x1400, len = 0x8000
EDATA1: origin = 0x9400, len = 0x4c00
}

SECTIONS
{
.vectors: {} > VECT PAGE 0
.sysregs: {} > BIOSREGS PAGE 1
.trcinit: {} > EPROG PAGE 0
.gblinit: {} > EPROG PAGE 0
.bios: {} > EPROG PAGE 0
frt: {} > EPROG PAGE 0
.text: {} > EPROG PAGE 0
.cinit: {} > EPROG PAGE 0
.pinit: {} > EPROG PAGE 0
.sysinit: {} > EPROG PAGE 0
.bss: {} > IDATA PAGE 1
.far: {} > IDATA PAGE 1
.const: {} > IDATA PAGE 1
.switch: {} > IDATA PAGE 1
.sysmem: {} > IDATA PAGE 1
.cio: {} > IDATA PAGE 1
.MEM$obj: {} > IDATA PAGE 1
.sysheap: {} > IDATA PAGE 1
} Sincerelly, i don't understand of all this file (this is the
hello.cmd included in the CCS tutorial).

really, I need some help with this.

Thanks,

Alex Parrado