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 311 matches
CCS Forum Index
Author Message
  Topic: gets() problem
andrewg

Replies: 4
Views: 8463

PostForum: General CCS C Discussion   Posted: Mon Dec 30, 2013 12:59 am   Subject: gets() problem
when i disable timer3 interrupt the rda interrupt work without any problem.
In my opinion the getc() clear buffer and flag of interrupt but gets() cant it.gets will clear the buffer and interrupt fl ...
  Topic: CCS FAT driver bugfix!
andrewg

Replies: 11
Views: 118324

PostForum: Code Library   Posted: Sun Dec 29, 2013 8:03 am   Subject: CCS FAT driver bugfix!
I've found a new bug in fat.c. Short file names are processed as if they have the type of the directory entry immediately before them, except if that entry is a long file name. Example: a sub-director ...
  Topic: Radical olympic++ ADC averaging , de-noising routine
andrewg

Replies: 30
Views: 185232

PostForum: Code Library   Posted: Tue Oct 29, 2013 9:33 am   Subject: Radical olympic++ ADC averaging , de-noising routine
To clarify "somewhat random", the time taken to perform the insertion sort will depend on the data it is sorting - the ADC readings. It will vary slightly, but probably not too much. Given t ...
  Topic: Radical olympic++ ADC averaging , de-noising routine
andrewg

Replies: 30
Views: 185232

PostForum: Code Library   Posted: Fri Oct 25, 2013 10:04 pm   Subject: Radical olympic++ ADC averaging , de-noising routine
Just a comment that if I was going to do this, then I would use an insertion sort where the delay_us is (for a somewhat random delay), and change the array size to 12 to save a bit of RAM. The extreme ...
  Topic: RTOS causes pausing of RTCC
andrewg

Replies: 9
Views: 12440

PostForum: General CCS C Discussion   Posted: Tue Jul 09, 2013 7:44 am   Subject: RTOS causes pausing of RTCC
There's no need for anyone to post a driver for the RTCC, it's built into CCS. See setup_rtc() and the various rtc_XXX() functions.
  Topic: RTOS causes pausing of RTCC
andrewg

Replies: 9
Views: 12440

PostForum: General CCS C Discussion   Posted: Sat Jul 06, 2013 10:04 pm   Subject: RTOS causes pausing of RTCC
#FUSES RTCOSC_INTis incorrect. You should be using#FUSES RTCOSC_T1The internal reference oscillates at 31kHz while the RTC expects a 32.768kHz reference and therefore expect to lose about (32768-31000 ...
  Topic: multiplication problem
andrewg

Replies: 7
Views: 8904

PostForum: General CCS C Discussion   Posted: Wed Jun 05, 2013 8:00 am   Subject: multiplication problem
Lookup function "_mul" in the CCS manual...
  Topic: SD card memory problem
andrewg

Replies: 40
Views: 46086

PostForum: General CCS C Discussion   Posted: Sat May 18, 2013 6:33 am   Subject: SD card memory problem
The idea with pullups is that they are generally intended to put a signal line into a default state when it isn't being driven. A higher resistor value means that when the line *is* driven, it doesn't ...
  Topic: SD card memory problem
andrewg

Replies: 40
Views: 46086

PostForum: General CCS C Discussion   Posted: Fri May 17, 2013 9:13 pm   Subject: SD card memory problem
No. What you're describing as "pull-up resistors" are actually divider resistors, designed to interface a 5V micro (Arduino) with the 3.3V SD card.

To connect your dsPIC33FJ128GP202 to an ...
  Topic: SD card memory problem
andrewg

Replies: 40
Views: 46086

PostForum: General CCS C Discussion   Posted: Sat May 11, 2013 9:13 pm   Subject: SD card memory problem
"%x" will print err as an unsigned hex value, e.g. "80" just like you see. If you like, you could change the printf to:printf("write block fail:0x%x\n", err); ...
  Topic: SD card memory problem
andrewg

Replies: 40
Views: 46086

PostForum: General CCS C Discussion   Posted: Fri May 10, 2013 8:52 pm   Subject: SD card memory problem
I've also checked your method of calling the function. The ",10" part of the parameters "(4096, 512, 10)" does not seem correct. That should be a pointer to a buffer. Your code sho ...
  Topic: SD card memory problem
andrewg

Replies: 40
Views: 46086

PostForum: General CCS C Discussion   Posted: Fri May 10, 2013 8:47 pm   Subject: SD card memory problem
The code you've quoted seems to show calls mmcsd_write_block and mmcsd_read_block are duplicated, first not checking the return code, then checking the return code. You only want the call that checks ...
  Topic: SD card memory problem
andrewg

Replies: 40
Views: 46086

PostForum: General CCS C Discussion   Posted: Thu May 09, 2013 6:03 am   Subject: SD card memory problem
I thinks there's some confusion between SPI and RS232. The #use SPI should not have baud=9600 (or any baud at all).
  Topic: About the Forum
andrewg

Replies: 6
Views: 5919

PostForum: General CCS C Discussion   Posted: Mon May 06, 2013 9:12 am   Subject: About the Forum
At least part of the problem is that a web forum is a place for discussion, not a place for a code library.

A wiki would be a more appropriate place for a code library. The problem there is that it ...
  Topic: SD card memory problem
andrewg

Replies: 40
Views: 46086

PostForum: General CCS C Discussion   Posted: Mon May 06, 2013 9:04 am   Subject: SD card memory problem
I don't know what mmcsd_read_ocr() does, but it is described as a "non-user function". I would ignore all "non-user functions" and just consider "user functions". mmcsd_c ...
 
Page 1 of 21 Goto page 1, 2, 3 ... 19, 20, 21  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group