[an error occurred while processing this directive]
|
Вместо копирования в стартапе:
void copy_irq_vector(void)
{
U32 *D = (U32*)0x40000000;
U32 *S = (U32*)0x1000;
for(U32 i = 0; i<= 0x40; i+=4)
{
*D++ = *S++;
}
MEMMAP = 2;
}int main(void)
{
copy_irq_vector();
..................
все работает.