在TI网站上下载的库文件中,
void InitPieVectTable(void) {
int16 i;
Uint32 *Source = (void *) &PieVectTableInit;
Uint32 *Dest = (void *) &PieVectTable;
// Do not write over first 3 32-bit locations (these locations are // initialized by Boot ROM with boot variables)
Source = Source + 3;
Dest = Dest + 3;
EALLOW;
for(i=0; i < 125; i++)
*Dest++ = *Source++;
EDIS; // Enable the PIE Vector Table PieCtrlRegs.PIECTRL.bit.ENPIE = 1; }
Do not write over first 3 32-bit locations —–这前面三个地址是指哪三个?
是指0X0000 00D0 ~0X0000 00D3 ?
Forrest:
0x0D00~0x0D06这在28035的Boot ROM Reference Guide中有详述
在TI网站上下载的库文件中,
void InitPieVectTable(void) {
int16 i;
Uint32 *Source = (void *) &PieVectTableInit;
Uint32 *Dest = (void *) &PieVectTable;
// Do not write over first 3 32-bit locations (these locations are // initialized by Boot ROM with boot variables)
Source = Source + 3;
Dest = Dest + 3;
EALLOW;
for(i=0; i < 125; i++)
*Dest++ = *Source++;
EDIS; // Enable the PIE Vector Table PieCtrlRegs.PIECTRL.bit.ENPIE = 1; }
Do not write over first 3 32-bit locations —–这前面三个地址是指哪三个?
是指0X0000 00D0 ~0X0000 00D3 ?
wellsking:
回复 Forrest:
Boot ROM Reference Guide 还没有看。
在TMS320F2803x Piccolo System Control and Interrupts 中,有 如下表述
0X0000 0D00 Reset is always fetched from location 1 -0x003F FFC0 in Boot ROM
0X0000 0D02 Not used. See PIE Group 1
0X0000 0D04 Not used. See PIE Group 2
0X0000 0D06 Not used. See PIE Group 3
0X0000 0D08 Not used. See PIE Group 4
。
。
。
0X0000 0D18 Not used. See PIE Group 12
这时写到 0X0000 0D02 0X0000 0D04 Not used,是不是Boot ROM Reference Guide 中的对应 0D00 ~ 0D04 ?
0X0000 0D06 ~0X0000 0D18 是真的Not used?还是在其它PDF有介绍
在TI网站上下载的库文件中,
void InitPieVectTable(void) {
int16 i;
Uint32 *Source = (void *) &PieVectTableInit;
Uint32 *Dest = (void *) &PieVectTable;
// Do not write over first 3 32-bit locations (these locations are // initialized by Boot ROM with boot variables)
Source = Source + 3;
Dest = Dest + 3;
EALLOW;
for(i=0; i < 125; i++)
*Dest++ = *Source++;
EDIS; // Enable the PIE Vector Table PieCtrlRegs.PIECTRL.bit.ENPIE = 1; }
Do not write over first 3 32-bit locations —–这前面三个地址是指哪三个?
是指0X0000 00D0 ~0X0000 00D3 ?
wellsking:
回复 Forrest:
Boot ROM Reference Guide 还没有看。
在TMS320F2803x Piccolo System Control and Interrupts 中,有 如下表述
0X0000 0D00 Reset is always fetched from location 1 -0x003F FFC0 in Boot ROM
0X0000 0D02 Not used. See PIE Group 1
0X0000 0D04 Not used. See PIE Group 2
0X0000 0D06 Not used. See PIE Group 3
0X0000 0D08 Not used. See PIE Group 4
。
。
。
0X0000 0D18 Not used. See PIE Group 12
这时写到 0X0000 0D02 0X0000 0D04 Not used,是不是Boot ROM Reference Guide 中的对应 0D00 ~ 0D04 ?
0X0000 0D06 ~0X0000 0D18 是真的Not used?还是在其它PDF有介绍
在TI网站上下载的库文件中,
void InitPieVectTable(void) {
int16 i;
Uint32 *Source = (void *) &PieVectTableInit;
Uint32 *Dest = (void *) &PieVectTable;
// Do not write over first 3 32-bit locations (these locations are // initialized by Boot ROM with boot variables)
Source = Source + 3;
Dest = Dest + 3;
EALLOW;
for(i=0; i < 125; i++)
*Dest++ = *Source++;
EDIS; // Enable the PIE Vector Table PieCtrlRegs.PIECTRL.bit.ENPIE = 1; }
Do not write over first 3 32-bit locations —–这前面三个地址是指哪三个?
是指0X0000 00D0 ~0X0000 00D3 ?
qu qp: