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 14 matches
CCS Forum Index
Author Message
  Topic: ECAN Fifo mode interrupt ?
xokolatecake

Replies: 1
Views: 3411

PostForum: General CCS C Discussion   Posted: Wed Jul 02, 2008 3:02 pm   Subject: ECAN Fifo mode interrupt ?
My mistake. It works with #INT_CANRX1.

Just like the datasheet says...

Smile
  Topic: ECAN Fifo mode interrupt ?
xokolatecake

Replies: 1
Views: 3411

PostForum: General CCS C Discussion   Posted: Wed Jul 02, 2008 9:28 am   Subject: ECAN Fifo mode interrupt ?
Hey,

I can't find the interrupt to use with ECAN mode 2 - enhanced fifo mode. Does anyone know what to use?

It doesn't work with either #INT_CANRX0 or #INT_CANRX1.

I'm using PIC18F4685 that w ...
  Topic: DS18S20 & DS18B20 Codes
xokolatecake

Replies: 54
Views: 665664

PostForum: Code Library   Posted: Wed Jun 04, 2008 10:40 am   Subject: DS18S20 & DS18B20 Codes
Sorry guys!..i was so mad with the time i wasted on this i didn't noticed that i was using a DS18B20P, the (only) parasitic power version of DS18B20!
So my problem was not in the software but on the ...
  Topic: DS18S20 & DS18B20 Codes
xokolatecake

Replies: 54
Views: 665664

PostForum: Code Library   Posted: Wed Jun 04, 2008 9:15 am   Subject: DS18S20 & DS18B20 Codes
Hi!
Regarding scanan post, what does this little piece do?:

//for 10 bit resolution mod
onewire_write(0xCC);
onewire_write(0x4E);

onewire_write(125);
onewire_wri ...
  Topic: LBA begin value not right on fat 32 partition entry
xokolatecake

Replies: 6
Views: 11621

PostForum: General CCS C Discussion   Posted: Tue Mar 18, 2008 7:03 am   Subject: LBA begin value not right on fat 32 partition entry
thanks for the tip, i ended up reading again the document about fat from microsoft and everything is ok, i was just looking in the wrong offsets!

for reference: http://www.microsoft.com/whdc/system ...
  Topic: LBA begin value not right on fat 32 partition entry
xokolatecake

Replies: 6
Views: 11621

PostForum: General CCS C Discussion   Posted: Mon Mar 17, 2008 7:03 am   Subject: LBA begin value not right on fat 32 partition entry
Format, doesn't write the MBR. What does disk manager show?.
Can you tell where to get this?

thanks for your help=)
  Topic: Another MMC Over SPI FAT32 code!
xokolatecake

Replies: 84
Views: 562849

PostForum: Code Library   Posted: Mon Mar 17, 2008 6:32 am   Subject: Another MMC Over SPI FAT32 code!
When you read the fat table address you reverse the order of the bytes, why is that? does that apply to everything that is read from the card?


thanks=)
  Topic: LBA begin value not right on fat 32 partition entry
xokolatecake

Replies: 6
Views: 11621

PostForum: General CCS C Discussion   Posted: Sat Mar 15, 2008 11:17 am   Subject: LBA begin value not right on fat 32 partition entry
thanks for your reply.

I can see the card and have access to it in windows.
This is taken from winhex just after formatting in command line with:
format G: /FS:FAT32 /A:512

I don't know where ...
  Topic: LBA begin value not right on fat 32 partition entry
xokolatecake

Replies: 6
Views: 11621

PostForum: General CCS C Discussion   Posted: Sat Mar 15, 2008 7:45 am   Subject: LBA begin value not right on fat 32 partition entry
Hi!

I'm have some trouble working with fat32 on a SD card.
Using WinHex and looking at the boot sector (sector 0) of the card, i can't find a valid LBA BEGIN address on the partition entry. I kn ...
  Topic: unable to communicate with pic16f877a through rs232
xokolatecake

Replies: 12
Views: 12373

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2007 2:14 pm   Subject: unable to communicate with pic16f877a through rs232
another thing,

i noted that my 232chip r1out(pin12) outputs 5v when not connected to the rc7 pin on the pic, and when i connect it, the voltage comes down to about 2v...is this a hint of something ...
  Topic: unable to communicate with pic16f877a through rs232
xokolatecake

Replies: 12
Views: 12373

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2007 12:20 pm   Subject: unable to communicate with pic16f877a through rs232
thanks for your answer,

i've tried with a 10mhz crystal, changing this part of the code:

(...)

#fuses PUT, HS, NOWDT, NOLVP, NOBROWNOUT
#use delay(clock=10000000)

(.. ...
  Topic: unable to communicate with pic16f877a through rs232
xokolatecake

Replies: 12
Views: 12373

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2007 11:13 am   Subject: unable to communicate with pic16f877a through rs232
thanks a lot for your answer,

i read 9V on V+ pin and -11V on V- pin, which i belive to be fine(according to data sheet). i have tried eltima's advanced serial port terminal and the serial port mon ...
  Topic: unable to communicate with pic16f877a through rs232
xokolatecake

Replies: 12
Views: 12373

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2007 9:24 am   Subject: unable to communicate with pic16f877a through rs232

thanks for the help,

i have tried booth suggestions and it didn't work!
is there anything else i can try?...i'm using a max232 for level shifting and i have checked the connections several tim ...
  Topic: unable to communicate with pic16f877a through rs232
xokolatecake

Replies: 12
Views: 12373

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2007 7:59 am   Subject: unable to communicate with pic16f877a through rs232
Hi,
I'm trying to communicate via rs232 with a 16f877a for the first time and i can't get anything. this is the code i'm using:


#include <16F877.h>
#device ADC=8
#include <stdio.h> ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group