/*------------------------------------------------------------------------------------------------------*/
/* to get the chipid and put it in ChipUniqueID[3] */
Get_ChipID();
/* printf the chipid */
printf("\r\n芯片的唯一ID为: %X-%X-%X\r\n",
ChipUniqueID[0],ChipUniqueID[1],ChipUniqueID[2]);
/* printf the flash memory amount */
printf("\r\n芯片flash的容量为: %dK \r\n", *(__IO u16 *)(0X1FFFF7E0));
/*------------------------------------------------------------------------------------------------------*/
|