Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix CRC7 implementation #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

apmorton
Copy link

I have been trying to add CRC7 checking to this analyzer (along with exporting), and I have not been able to make the CRC7 implementation work.

I had the analyzer generate some simulated data, and the CRC's differ from what valid data should be.

CMD0 with arg=0 should produce CRC value 0x4A, but the simulated data produces CRC value 0x49

The fixed code was taken from here
http://www.humblesoft.com/n-card/kernel-patch-2.4.21-pre4/mmc-driver.txt

@dirker
Copy link
Owner

dirker commented Feb 3, 2014

Hi, thanks for your patch.

From a quick look, it seems the CRC7 related code in SDMMCSimulationDataGenerator::CreateResponse48() might still be problematic.

Sadly, I do not have access to hardware right now so I can't do much testing. Do you have a reference CRC7 value at hand for a response?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants