Linux general technology-Linux programming and kernel information-linuxSD card driver. I transplanted the SD card driver on linux2.6.25.
SD card plugging during board power-on can be properly identified (debugging information can be printed in the interrupt program)
But after about five minutes, the SD card will not be reflected after it is plugged in.
The power supply of the SD card is directly connected to VCC. it is also said on the Internet that there is no power failure.
In the program, I also have debugging information in suspend and resume, but none of them have been output.
I configured the I/O port for detecting whether the SD card is plugged in as interrupted. the interrupt trigger is triggered by both the rising and falling edges.
Could you tell me what the problem is?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service