CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

pic18f6620 and ex_fat.c

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
toni



Joined: 26 Jan 2013
Posts: 9

View user's profile Send private message Yahoo Messenger

pic18f6620 and ex_fat.c
PostPosted: Fri May 31, 2013 11:48 pm     Reply with quote

Hi all. I am currently trying to simulate a part of my work on isis proteus. It consists of pic 18f6620 and mmc card. I am using ccs for programming the pic. I tried the example that came with ccs, that is, the ex_fat.c example, but though there are no errors in initializing, i tried to use the 'format size' of the code but it just stops at 'Formatting size' and doesn't give either 'error' or 'ok'. Please any suggestions would be appreciated. Thank you.
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Sat Jun 01, 2013 1:46 am     Reply with quote

Quote:
Please any suggestions would be appreciated. Thank you.

Yes.

Throw ISIS away.
Read what others think of ISIS/Proteus
Read the forum guidelines.
Use real hardware only.

Mike
temtronic



Joined: 01 Jul 2010
Posts: 9173
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Jun 01, 2013 5:05 am     Reply with quote

You'll never, EVER get it to 'work' as a simulation using ISIS/Proteus.
Cannot be done.
Period.

As to why the simulation doesn't work (and never will) post your schematic. Unless you have correct level translation betwen the 5 volt PIC and the 3 volt MEM card, it can't work in 'simulation' let alone real life.

Please follow Mike W's suggestion...get real hardware then we can really help you.

Search this forum and you'll get over 140 posts regarding this topic.

Bottom line..In 'simulation' it never works..in real life it does !

hth
jay
toni



Joined: 26 Jan 2013
Posts: 9

View user's profile Send private message Yahoo Messenger

PostPosted: Sun Jun 02, 2013 11:26 am     Reply with quote

Ok. I just wanted to be sure it works. I have read deeply about the power supplies pic and mmc and I am using a 3.3v pic(i.e LF). I would work on the hardware since this code have been proven to work. Thank you very much for your help.
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sun Jun 02, 2013 12:35 pm     Reply with quote

temtronic wrote:
You'll never, EVER get it to 'work' as a simulation using ISIS/Proteus.
Cannot be done.
Period.

As to why the simulation doesn't work (and never will) post your schematic. Unless you have correct level translation betwen the 5 volt PIC and the 3 volt MEM card, it can't work in 'simulation' let alone real life.

Please follow Mike W's suggestion...get real hardware then we can really help you.

Search this forum and you'll get over 140 posts regarding this topic.

Bottom line..In 'simulation' it never works..in real life it does !

hth
jay


Funny thing is, a couple of years ago one of my customers implemented my file system driver on proteus. I told him not to waste his time, it did not have a hope of working. I had to eat humble pie because he got it to work well.

Just goes to show, you never can tell.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group