Posted on July 11, 2018 at 07:31HelloI want config STM32F107vct6 in cubemx to use RMII+DP83848+LWIP without oscilator(I connect PA1 and PA8 to X1)but in STM32CubeMX->Configuration->ETH->External PHY configuration->PHY is LAN8742A_PHY_ADDRESS and ca...
Posted on January 28, 2015 at 23:28i can send string with lwip.how send NULL string with lwip sprintf(BUF,''(%c%c%c%c'',len/256,len%256,Cmd/256,Cmd%256); strncat(&BUF[5],buf,len); strncat(&BUF[5+len],'')'',1); tcp_write(TcpPCB,BUF,BufLen+6,1); i...
Yes , i know , i can use AT88RF04C with STM32F10x by i2c protecol.when i enable Secure Personalization Mode Data Encryption , I read the information from the encrypted area but do not know how to decrypt it with the shared key. Atmel has nowhere expl...
Posted on January 29, 2015 at 16:38Oh my good , I was wrong , i define 2 variable for buffer len static err_t SendPacket(uint16_t Cmd,unsigned char *dbuf,int len){ char BUF[600]; int i; if(TcpPCB->state==CLOSED){ return ERR_CLSD; } BUF[0]='('; BUF...
Posted on January 29, 2015 at 10:27i use strncat(&BUF[5],buf,len); problem in sending and receivingi change code to this :BUF[0]='(';BUF[1]=(len/256);BUF[2]=(len%256);BUF[3]=(Cmd/256);BUF[4]=(Cmd%256);for(i=0;i<len;i++) BUF[5+i]=dbuf[i];BUF[5+i]=')...