Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

can 8051 do a crc job easily?

Status
Not open for further replies.

shanren

Advanced Member level 4
Joined
Oct 12, 2001
Messages
102
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
1,079
hi,does anybody know about CRC in a 8051 cpu?can a 8051 do this job esayily?i have some important data saved in a nvram,but i found they maybe changed sometimes.for example,a 0X00 changed to 0X01.what can i do to deal with it?
thanks a lot!
 

verilog

Member level 1
Joined
Jul 21, 2001
Messages
33
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
VN
Activity points
185
CRC can be done with a numbers of XOR by serial as well as parallel. Try searching CRC implementation instead of theory.
I think of your purpose, let try parity checking first. Checksum is also a good idea.
 

Humungus

Full Member level 6
Joined
Jul 10, 2001
Messages
384
Helped
41
Reputation
82
Reaction score
14
Trophy points
1,298
Activity points
3,985
you can even find libraries of implemented CRC functions (8, 16)
 

chaitana

Member level 1
Joined
Aug 6, 2001
Messages
38
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,288
Activity points
218
CRC in 8051 have 2 type of function.
1. Calculate by xor. this function use much time to do. But use a little code.
2. Use table. this function is use a little time. but use more space to keep table.

I have use table.
 

shanren

Advanced Member level 4
Joined
Oct 12, 2001
Messages
102
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
1,079
thanks all of you!
but another problem,if i find a bit is wrong,can i recover the data?how can i do it?can this can do in 8051?i do not know much about program.
thank you!
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top