Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20688

BASCOM-AVR : Any limit to length in Crc16uni function? : NEWTOPIC

$
0
0
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]

Viewing all articles
Browse latest Browse all 20688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>