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 CCS Technical Support

Search found 9 matches
CCS Forum Index
Author Message
  Topic: 18F4550 with MMC/SD
krodkey

Replies: 17
Views: 25524

PostForum: General CCS C Discussion   Posted: Mon Nov 27, 2006 12:28 pm   Subject: 18F4550 with MMC/SD
Thanks. I did notice that after the last post, but that was the least of my probs. I finally got a chance to put the board on a good scope and was able to see that timing was a major issue. The bui ...
  Topic: 18F4550 with MMC/SD
krodkey

Replies: 17
Views: 25524

PostForum: General CCS C Discussion   Posted: Wed Nov 01, 2006 12:49 pm   Subject: 18F4550 with MMC/SD
Latest Version of my code:
#include<18F4550.h>


#use delay (clock=48000000)

#fuses EC ,NOLVP, PUT, BROWNOUT, NOWDT, NOPROTECT, DEBUG, NOPBADEN, CPUDIV1, VREGEN, NOUSBDIV



# ...
  Topic: 18F4550 with MMC/SD
krodkey

Replies: 17
Views: 25524

PostForum: General CCS C Discussion   Posted: Wed Nov 01, 2006 12:37 pm   Subject: 18F4550 with MMC/SD
Implemented that line of code before the last error posting.
  Topic: 18F4550 with MMC/SD
krodkey

Replies: 17
Views: 25524

PostForum: General CCS C Discussion   Posted: Wed Nov 01, 2006 11:26 am   Subject: 18F4550 with MMC/SD
After changing some config settings I now get different errors for the sd and mmc card.

SD Errors:11 ERR: mmc spi is busy
11 ERR: mmc spi is busy ...
  Topic: 18F4550 with MMC/SD
krodkey

Replies: 17
Views: 25524

PostForum: General CCS C Discussion   Posted: Tue Oct 31, 2006 5:19 pm   Subject: 18F4550 with MMC/SD
1. Yes, you are absolutely correct. I should be using EC for my current config.

2.I inserted the oscillator statemetnts to control the speed during the card initialization. I am now realizing tha ...
  Topic: 18F4550 with MMC/SD
krodkey

Replies: 17
Views: 25524

PostForum: General CCS C Discussion   Posted: Tue Oct 31, 2006 2:38 pm   Subject: 18F4550 with MMC/SD
Still getting the same errors. Here is the output from the spi driver if it helps:ERR: mmc spi is busy
ERR: mmc spi is busy
ERR: mmc spi i ...
  Topic: 18F4550 with MMC/SD
krodkey

Replies: 17
Views: 25524

PostForum: General CCS C Discussion   Posted: Tue Oct 31, 2006 1:45 pm   Subject: 18F4550 with MMC/SD
the card slot has "ALPS" inscribed on it with the # 45008. The card buffer is a 74LCX244DT. There is also a RES-4-CTS being used for the pull-ups on pin 8, 9, card detect and write protect ...
  Topic: 18F4550 with MMC/SD
krodkey

Replies: 17
Views: 25524

PostForum: General CCS C Discussion   Posted: Tue Oct 31, 2006 12:18 pm   Subject: 18F4550 with MMC/SD
I am using a 18F4550 with a 48MHz external Oscillator. So far I have been unsuccessful reading and writing to a MMC or SD card using the mmc_spi.c library. Most of my testing has been done with the ...
  Topic: negative voltage range
krodkey

Replies: 2
Views: 4631

PostForum: General CCS C Discussion   Posted: Wed Jul 12, 2006 10:44 am   Subject: negative voltage range
adc on 18f4550
PostPosted: Wed Jul 12, 2006 10:20 am Reply with quote
I am collecting the analog data from strain guages that are connected to a fiberglass arm. When the arm bend the resistanc ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group