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 16 matches
CCS Forum Index
Author Message
  Topic: What happens if an interrupt appears while writing in SPI?
romanrdgz

Replies: 3
Views: 4818

PostForum: General CCS C Discussion   Posted: Tue Jan 17, 2012 5:58 am   Subject: What happens if an interrupt appears while writing in SPI?
I had thought the same about the hardware SPI, but my project tutor didn't thought I was right. Glad to hear I was Smile

Thanks for your help, and for the explanation about the longer clock, which has ...
  Topic: What happens if an interrupt appears while writing in SPI?
romanrdgz

Replies: 3
Views: 4818

PostForum: General CCS C Discussion   Posted: Tue Jan 17, 2012 5:41 am   Subject: What happens if an interrupt appears while writing in SPI?
I'm using official CCS libraries fat.h and mmcsd.c to read and write files to a SD card.

I use an interrupt for serial communications so I can send commands to my ucontroller. I use a command to te ...
  Topic: Corrupt memory issues
romanrdgz

Replies: 10
Views: 14687

PostForum: General CCS C Discussion   Posted: Mon Nov 28, 2011 4:06 pm   Subject: No luck
I have followed all you advices, but it isn't working yet. The problem is the same: the buffer called 'Buf' into the struct FILE called stream is being overwriten with gata received from uart interrup ...
  Topic: Corrupt memory issues
romanrdgz

Replies: 10
Views: 14687

PostForum: General CCS C Discussion   Posted: Thu Nov 24, 2011 11:33 am   Subject: Corrupt memory issues
I'll try to follow your advice to get this working. I hope I find where the problem is. Thank you very much
  Topic: Corrupt memory issues
romanrdgz

Replies: 10
Views: 14687

PostForum: General CCS C Discussion   Posted: Thu Nov 24, 2011 8:31 am   Subject: Corrupt memory issues
So, how will I know when they are wrong declared? I'd like to learn more about this topic.
  Topic: strtok problem
romanrdgz

Replies: 4
Views: 7692

PostForum: General CCS C Discussion   Posted: Thu Nov 24, 2011 6:08 am   Subject: strtok problem
Sorry, I had tho posts opened and my last answer was for the other one.

I was going to try adding a \0 to the separators, but maybe your solutions are better, so I will give it a try this evening, ...
  Topic: Corrupt memory issues
romanrdgz

Replies: 10
Views: 14687

PostForum: General CCS C Discussion   Posted: Thu Nov 24, 2011 6:06 am   Subject: Corrupt memory issues
So, if I declare FILE as static, should that do the trick?
  Topic: strtok problem
romanrdgz

Replies: 4
Views: 7692

PostForum: General CCS C Discussion   Posted: Thu Nov 24, 2011 5:14 am   Subject: strtok problem
So, if I declare FILE stream as static, should that do the trick?
  Topic: strtok problem
romanrdgz

Replies: 4
Views: 7692

PostForum: General CCS C Discussion   Posted: Thu Nov 24, 2011 3:42 am   Subject: strtok problem
I have a string with some fields divided by commas, and finalised by a ;

When I'm specting 2 fields, I'm using:

void processTokens(char *command){
char separador[3];
cmd&# ...
  Topic: Corrupt memory issues
romanrdgz

Replies: 10
Views: 14687

PostForum: General CCS C Discussion   Posted: Thu Nov 24, 2011 3:31 am   Subject: Corrupt memory issues
Thanks for your answer. It was very clarifying.

The int8 Buffer
struct iobuf
{
fatpos_t
Bytes_Until_EOF, // how many bytes until the stream's end of file
Cur_Char, ...
  Topic: Corrupt memory issues
romanrdgz

Replies: 10
Views: 14687

PostForum: General CCS C Discussion   Posted: Thu Nov 24, 2011 2:17 am   Subject: Corrupt memory issues
I have an int8 buffer[128] to store data collected from UART interrupts. I also use an struct FILE stream declared in the SD/MMC library for CCS mmcsd.c.

Writing didn't worked well until de ...
  Topic: Best way to use 2 UARTS
romanrdgz

Replies: 3
Views: 5232

PostForum: General CCS C Discussion   Posted: Mon Nov 14, 2011 2:04 am   Subject: Best way to use 2 UARTS
I have a 18F46K80 with 2 hardware uarts. I'll be using one to sending/receiving Bluetooth commands whenever the user wants to (so maximum priority), and the other one to receive GPS data all the time. ...
  Topic: 18F46K80.h missing
romanrdgz

Replies: 3
Views: 6012

PostForum: General CCS C Discussion   Posted: Thu Oct 20, 2011 10:55 am   Subject: 18F46K80.h missing
No? Then I have a big trouble...

In which version have been added this header anyway?
  Topic: 18F46K80.h missing
romanrdgz

Replies: 3
Views: 6012

PostForum: General CCS C Discussion   Posted: Thu Oct 20, 2011 10:40 am   Subject: 18F46K80.h missing
Hi,

I'm working at my University computers with CCS C compiler for my project. I was using a Microchip 18F4685 with success, but as the project grew up I needed an additional UART, so I searched fo ...
  Topic: Best way to check if a file exists (fat.c)
romanrdgz

Replies: 0
Views: 3431

PostForum: General CCS C Discussion   Posted: Fri Aug 19, 2011 4:35 am   Subject: Best way to check if a file exists (fat.c)
Hi,

I'm using fat.c library to create files and writing data into them. First of all, I'm checking if file_001.txt exists. If does exist, I'll then check if file_002.txt exists, and so on until I f ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group