마이크로비젼 기술지원팀입니다.
“gedit cpu/s5pc11x/usbd-otg-hs.c”부분이 아래와 같이 수정이 되어 있는지
확인해 보시길 바랍니다.
void s3c_usb_verify_checksum(void)
{
u8 *cs_start, *cs_end;
u8 ch;
u16 dnCS;
u16 checkSum;
printf("Checksum is being calculated.");
/* checksum calculation */
cs_start = (u8*)otg.dn_addr;
cs_end = (u8*)(otg.dn_addr + otg.dn_filesize - 10);
#if 0
dnCS = *(u16 *)cs_end;
#else
/* SDKIM */
memcpy(&dnCS, cs_end, sizeof(u16));
#endif
checkSum = 0;
while(cs_start < cs_end){
ch = (u8)*cs_start;
checkSum = (checkSum + (u16)ch);
cs_start++;
if(((u32)cs_start & 0xfffff) == 0)
printf(".");
}