View previous topic :: View next topic |
Author |
Message |
toni
Joined: 26 Jan 2013 Posts: 9
|
pic18f6620 and ex_fat.c |
Posted: Fri May 31, 2013 11:48 pm |
|
|
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
|
|
Posted: Sat Jun 01, 2013 1:46 am |
|
|
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: 9241 Location: Greensville,Ontario
|
|
Posted: Sat Jun 01, 2013 5:05 am |
|
|
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
|
|
Posted: Sun Jun 02, 2013 11:26 am |
|
|
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: 1635 Location: Perth, Australia
|
|
Posted: Sun Jun 02, 2013 12:35 pm |
|
|
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!! |
|
|
|