I'm using Crccalc = Crc16uni(buffer1(4) , 1024 , 0 , &H1021 , 0 , 0) to calculate Xmodem-1K CRC, doesn't get the correct CRC, if I use the same code for lengh=128 all is OK. Any idea what is wrong?
I used Hpmbcalc to calculate the CRC (it's shows the correct one - the same as Xmodem-1K transmition capture) with the same parameters as the Crc16uni(buffer1(4) , 1024 , 0 , &H1021 , 0 , 0) call.
[b:9e7fa5eed4][color=red:9e7fa5eed4](BASCOM-AVR version : 2.0.7.6 )[/b:9e7fa5eed4][/color:9e7fa5eed4]
↧