• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

SDcard problem 18F252 nok

Not open for further replies.


New Member
I can not run this SD card program, written in Oshonsoft, I have no problem for the PIC series 18F2550 and 18F4550, but impossible for PIC 18F252 or 18F4620.
SPI pins change 18F252 RA5, RC3, RC4, RC5 and for 18F2550 RA5, RB0, RB1, RC7.Can be in the configuration register.
I do not see what can go wrong.
Thank you for your help



Active Member
Hi G,
I am also having problems, which may be related.

I READ/WRITE to modules using SPI. I also have an analyser.

I use the line:
Define SIMULATION_WAITMS_VALUE = 1 'Comment in for SIM out for PIC
I get sensible analyser readings if the line is commented IN, so I presume the PIC is going too fast, but I'm not sure.
Not open for further replies.

Latest threads

EE World Online Articles