问答

汇集网友智慧,解决技术难题

ccSmartmeter

TA的家园币:24  

  • HC32L136获取唯一身份标识跳转HardFault_Handler

    int32_tmain(void){UniqueID[0]=*((volatileunsignedint*)0x00100E74);//这个可以读取的到UniqueID[1]=*((volatileunsignedint*)0x00100E75);//下面的读取则直接跳转到HardFault_HandlerUniqueID[2]=*((volatileunsignedint*)0x00100E76);UniqueID[3]=*((volatileunsignedint*)0x00100E77);UniqueID[4]=*((volatileunsignedint*)0x00100E78);UniqueID[5]=*((volatileunsignedint*)0x00100E79);UniqueID[6]=*((volatileunsignedint*)0x00100E7a);UniqueID[7]=*((volatileunsignedint*)0x00100E7b);UniqueID[8]=*((volatileunsignedint*)0x00100E7c);UniqueID[9]=*((volatileunsignedint*)0x00100E7d);while(1);}