如题:
printf("UID1 = 0x%X\r\n",*(uint32_t*)UID_BASE);
printf("UID2 = 0x%X\r\n",*(uint32_t*)(UID_BASE+4));
printf("UID3 = 0x%X\r\n",*(uint32_t*)(UID_BASE+8));
这里读出来的都是0xFFFFFFFF!怎么回事?
printf("UID1 = 0x%X\r\n",*(__IO uint32_t*)UID_BASE);
printf("UID2 = 0x%X\r\n",*(__IO uint32_t*)(UID_BASE+4));
printf("UID3 = 0x%X\r\n",*(__IO uint32_t*)(UID_BASE+8));
以上加了个__IO,芯片直接挂了,JLINK连接不了芯片
|