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.

Compiler/TMS320F280025C: issue of reading UID value on F280025

Part Number: TMS320F280025C
Other Parts Discussed in Thread: C2000WARE

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

adc_ex1_soc_epwm.7z

  • Zhang,

    As per "Table 8-4. Device Identification Registers" in device datasheet UID value (unique value) is at address 0x701F4. 

    So why are you trying to read address 0x701F9 ? 

    Regards,

    Vivek Singh

  • 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