-
hc32l130f8ua芯片使用keil调试出错
使用keil调试hc32l130f8ua时,SystemInit函数中的M0P_SYSCTRL->RCL_CR_f.TRIM=(*((volatileuint16_t*)(0x00100C22ul)));报错没有读的权限***error65:accessviolationat0x00100C22:no'read'permissionvoidSystemInit(void){M0P_SYSCTRL->RCL_CR_f.TRIM=(*((volatileuint16_t*)(0x00100C22ul)));M0P_SYSCTRL->RCH_CR_f.TRIM=(*((volatileuint16_t*)(0x00100C08ul)));SystemCoreClockUpdate();_HidePinInit();}
2024-07-13 1