Hi,
I think found very serious issue in EC7 SDHC driver.
In my case it leads to complete hang in SDHC driver in certain use cases.
It is being triggered by certain sequence of SD bus commands received by the CESDHCBase in common FSL code part..
The log from instrumented (traces added) version of that driver is attached to this message.
The issue was triggered by following command sequence
CMD25 non fast path
CMD12
CMD24 non fast path
After this sequence SDHC driver is dead.
The problem appears to be in global variable of current request.
It looks like we can have MORE then ONE current request because request processing code calls
new request add code FROM previous request's completion call so we have several requests on the stack.
Somewhere in that chain of calls/requests 'current request' global variable loses the ground and it makes driver hang.
Has anyone experienced this problem?
How can it be fixed?
FYI: this bug may affect all iMX drivers for WINEC7 because it is in common FSL code.
Attached: log from hung driver.
Original Attachment has been moved to: Log1---fail-2560-bytes.txt.zip
Deactivated user can you help on this case?
Hello,
I hope I can help with this case.
I managed to work around it but my fix is ugly and
I am not sure that it fixes the issue completely.
Which information do you need?
I would recommend that we switch to private messages.
Best regards,
Alexey
Adeneo Engineering Team do you have an update on this case?