uint32_t chipID __attribute__((at(0X800F000)))= 0x12345678;
printf( "\r\nChip ID: %x\r\n", *(vu32*)(0X800F000));
printf( "\r\nChip ID: %x\r\n", *(vu8*)(0X800F000));
printf( "\r\nChip ID: %x\r\n", *(vu8*)(0X800F001));
printf( "\r\nChip ID: %x\r\n", *(vu8*)(0X800F002));
printf( "\r\nChip ID: %x\r\n", *(vu8*)(0X800F003));
|