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

mmc_spi and isis simulation

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



Joined: 23 Jul 2007
Posts: 12

View user's profile Send private message

mmc_spi and isis simulation
PostPosted: Mon Jul 23, 2007 5:03 am     Reply with quote

Is mmc_spi driver compatible with the mmc model in isis ?

I wrote a program in ccs like that ;

Code:

#include <18F452.h>
#use delay(clock=4000000)//,RESTART_WDT)


#include <mmc_spi.c>
#include <lcd.c>

void main()
{
     lcd_init();
     lcd_putc("...");
     delay_ms(500);
     if(!mmc_init())
      lcd_putc("OK");
     
     
         
}


And connect the right pins to mmc model in isis..

But mmc_init didn't return zero and dont wrote anything to lcd. (Lcd works fine in simulation) Library function says it should return zero if the init process is succesful.
etiedon



Joined: 23 Jul 2007
Posts: 12

View user's profile Send private message

PostPosted: Wed Jul 25, 2007 1:51 am     Reply with quote

Anyone used them together before ? I want to know that if i made a mistake or the problem is about isis..

Thanks for your help.
Guest








PostPosted: Sat Sep 08, 2007 11:17 am     Reply with quote

is there any new news about this topic? i have same error
Guest








PostPosted: Sun Sep 09, 2007 10:58 pm     Reply with quote

nobody?
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Mon Sep 10, 2007 12:23 am     Reply with quote

I was never able to get the CCS driver to work in ISIS, so I wrote my own, which did.

It was a long time ago, so I don't remember what exactly had to be changed.
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