电子说
观海微GH8555BL-XX 全烧录流程如下:
烧录代码:
/////////////////////////////////////////////////////////////////////////////////////////////////
/********************************** otp ALL*****************************************/
Delay (10000);
Generic_Short_Write_1P(0xee,0x50); // // ENTER PAGE1
Generic_Long_Write_2P(0xea,0x85,0x55); // program enable
Generic_Short_Write_1P(0xc0,0x46); //
Generic_Short_Write_1P(0xc1,0xcf); //
Delay (20);
Generic_Short_Write_1P(0xd0,0xff); //// program all
//Generic_Short_Write_1P(0xd1,0xff); //
//Generic_Short_Write_1P(0xd2,0xff); //
//Generic_Short_Write_1P(0xd3,0xff); //
//Generic_Short_Write_1P(0xd4,0xff); //
//Generic_Short_Write_1P(0xd5,0xff); //
//Generic_Short_Write_1P(0xd6,0xff); //
Delay (10);
Generic_Short_Write_1P(0xea,0xaa); //// program en
Generic_Short_Write_1P(0xeb,0x55);
Delay (30000);
Generic_Long_Write_2P(0xea,0x85,0x55);
Generic_Short_Write_1P(0xc1,0x0f); // // internal vpp program
Generic_Long_Write_2P(0xea,0x00,0x00);
Generic_Short_Write_1P(0xee,0x00); //
全部0条评论
快来发表一下你的评论吧 !