• 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

Thread starter #1
Hi,
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
 

Attachments

camerart

Active Member
#3
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.
Camerart.
 

Latest threads

EE World Online Articles

Loading

 
Top