为什么烧写flash会出错



  • 8016 flash烧写的时候,数据烧写不进去
    uint8_ t wri_ flash[10]={0x01,0x02,0x02,0x01,0x20,0x45,0x12,0x12,0x55,0x60};
    uint8_ t re_ flash[10]={0};
    flash_ erase (0x7B000, 0) ;
    flash_ write (0x7B000, 10, wri_ flash) ;
    flash_ read (0x7B000, sizeof(re_ flash), re_ flash) ;//
    printf(" re_ flash=: \n" ) ;
    for(int i=1;i<sizeof(re_ flash) +1;i++)
    {
    printf ("0x%02x,", re_ flash[i-1]) ;
    if(i%10==0)
    printf("\n");
    }