|
在TI給出的例程中,在DSP5402最小系統(一般外擴SST39VF800A)中debug是跑不通的.
因為中斷向量地址被安排在0xff80處,故應該將其移至0x0080處.
這樣即可在RAM中調試,最終寫入SST39VF800A中.
改寫如下(DSP/BIOS在DSP5402最小系統硬件環境下運行良好):
/* MODULE MEM */
-stack 0x100
MEMORY {
PAGE 1: USERREGS: origin = 0x60, len = 0x1a
PAGE 1: BIOSREGS: origin = 0x7c, len = 0x4
PAGE 1: CSLREGS: origin = 0x7a, len = 0x2
PAGE 0: VECT: origin = 0x80, len = 0x80
PAGE 1: IDATA: origin = 0x100, len = 0x1700
PAGE 0: IPROG: origin = 0x1800, len = 0x2800
}
總之,VECT+IDATA+IPROG應該在0x0080~0x3fff之間.
菜農HotPower@126.com 2008.5.22 0:58 于雁塔菜地 |
|