This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
Hi Expert,
I use the example code from C2000ware, only add the code that read F280025 UID, it will go to ESTOP0 unexpectedly, actually read the value from address
0x000701f5 to 0x000701f8 will have no issue, only read address 0x000701f9 and after will cause the issue.
unsigned char readvaule[16];
int i=0;
#define UID_REGS_BASE 0x000701f5
for(i=0;i<8;i++)
{
readvaule[i] = *(unsigned char *)(UID_REGS_BASE+i);
}
I post the code here, could you help reproduce it and see what is wrong? Thanks
Hi Vivek,
0x701F4 is the starting address, customer will read 128bit, why address 0x701F9 cannot be read? could you help to download the code to see the issue?
Zhang,
UID section has different fields. UNIQUE ID is 32bit value and it is at address 0x701F4. Address 0x701F9 is reserved and used for ECC testing hence if you read this it'll generate ECC error (NMI for double bit error ) and if you do not have ECC handler then CPU will jump to default NMI handler which has ESTOP.
Hope this helps.
Regards,
Vivek Singh