I want change easyweb to communicate with the camera and send hex data (camera) up through enthernet computer. I used the arm to connect to the camera via uart, but my problem is getting data from the camera with a piece of lost data when I put the counter(nn) above 315bytes. my camera send data HEX about 12kb. What is my problem? way to solve? my code received data from camera: while(1){ pdata[nn] = UARTGetChar(LPC_UART0);
if (nn==280)(break;}
nn++; }
what is wrong in the code
global_temp1 = multiptr2_init1; route1(); DVAorIP2(); decode2bytes(); changesoutput1(); global_temp1 = configpm[glbtmpvar]; PORTD = ' '; if (multiptr2_init1<17) { PORTD = 'b'; if (multiptr2_init1 & 0x01) { PORTD = 'a'; } } ASCII_TO_LCD(); PORTD = 0xC9; dis(); J_num = 16; second_name(); PORTD = 0xDC; dis(); decode2bytes(); PORTD = 0xE1; dis(); changesoutput2(); global_temp2 = configpm[glbtmpvar]; if (multiptr2_init1 & 0x01) { global_temp1 = global_temp2 >> 4; } else { global_temp1 = global_temp2 & 0x0F; } decode2bytes(); } else if (screen_num == 26)
Dear all (helpers),
Please stop paying attention to this thread. You are genuinely wasting your time...