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 89 matches
CCS Forum Index
Author Message
  Topic: function pointers
Trampas

Replies: 5
Views: 12202

PostForum: General CCS C Discussion   Posted: Sat Nov 20, 2004 7:56 am   Subject: function pointers
I suspect that the CCS compiler is broken and you can not use pointers to functions. I know I have tried and it does not work.

Trampas
  Topic: Memory Mapping
Trampas

Replies: 6
Views: 12357

PostForum: General CCS C Discussion   Posted: Tue Nov 16, 2004 6:40 am   Subject: Memory Mapping
ritchie,

Is your concern the portablitly of the code?

Since the CCS compiler does not have a linker, their is no other way to locate the variable other than the #locate.

What you can do is ...
  Topic: BUGS in PCWH 3.212
Trampas

Replies: 7
Views: 17112

PostForum: General CCS C Discussion   Posted: Sat Nov 13, 2004 9:48 am   Subject: BUGS in PCWH 3.212
I have had the same problem with CCS. The best advice I have to switch to a real compiler, the C18 is not too bad...

Trampas
  Topic: Timing two pulses on two pins
Trampas

Replies: 6
Views: 12107

PostForum: General CCS C Discussion   Posted: Sun Nov 07, 2004 2:50 pm   Subject: Timing two pulses on two pins
Since the orignal poster mentioned that the signal was 1Khz the interrupt latency is not an issue. But you are correct a tight polling loop is much faster, as long as you do not need to do anything el ...
  Topic: 640x480 LCD old LAPTOP
Trampas

Replies: 7
Views: 15612

PostForum: General CCS C Discussion   Posted: Sun Nov 07, 2004 2:36 pm   Subject: 640x480 LCD old LAPTOP
The dsPIC can not do it either. Think about it...

You need to update a pixel every clock at about 18Mhz, 256 colors you would have a byte per color. Therefore to buffer the image you need 307Kbyte ...
  Topic: HS 25Mhz vs. H4 10Mhz
Trampas

Replies: 6
Views: 13040

PostForum: General CCS C Discussion   Posted: Sun Nov 07, 2004 7:37 am   Subject: HS 25Mhz vs. H4 10Mhz
Did you all hear that? That was the light going on....

When the 18F8720 first came out I had bug where the GIE bit would magically get cleared. I called Microchip for weeks trying to figure out wh ...
  Topic: 640x480 LCD old LAPTOP
Trampas

Replies: 7
Views: 15612

PostForum: General CCS C Discussion   Posted: Sun Nov 07, 2004 7:32 am   Subject: 640x480 LCD old LAPTOP
The way the LCD works is that it has a horz and vertical sync signal and then a pixel clock. So when the vertical signal goes high the display pixel counter moves to top of screen. When the horz sync ...
  Topic: Communication Protocol Info
Trampas

Replies: 2
Views: 7470

PostForum: General CCS C Discussion   Posted: Sun Nov 07, 2004 7:18 am   Subject: Communication Protocol Info
I suggest the book "C Programmers Guide to Serial Communication" this book discusses a lot about serial NRZ and different file download protocols.

Trampas
  Topic: Vehicle GPS system ,code, buy
Trampas

Replies: 3
Views: 9937

PostForum: General CCS C Discussion   Posted: Sun Nov 07, 2004 7:17 am   Subject: Vehicle GPS system ,code, buy
Go buy a GPS with serial output, then read up on the NEMA standard. Interfacing with a GPS is as simple as parsing the NEMA data.

Trampas
  Topic: BITMAP
Trampas

Replies: 8
Views: 18396

PostForum: General CCS C Discussion   Posted: Sun Nov 07, 2004 7:16 am   Subject: BITMAP
Yes, I am sure several of us know how to do it.

1) design board with some large external memory.
2) make and populate board
3) write drivers for LCD and memory
4) load external memory with bit ...
  Topic: Timing two pulses on two pins
Trampas

Replies: 6
Views: 12107

PostForum: General CCS C Discussion   Posted: Sat Nov 06, 2004 6:37 am   Subject: Timing two pulses on two pins
One of the easiest methods is to use the KBI (Key board interrupts) or the external interrupts.

The key board interrupts work well as you get trigger on both edges of the signal. The external int ...
  Topic: Possible bug?
Trampas

Replies: 5
Views: 10685

PostForum: General CCS C Discussion   Posted: Fri Nov 05, 2004 6:12 am   Subject: Possible bug?
Well CCS rules one:

1) If at first your program does not run, try newer compiler.

2) If with new compiler code does not run try different optimization levels.

3) If code still does not run ...
  Topic: How to get the ASCII by RS-232
Trampas

Replies: 4
Views: 10960

PostForum: General CCS C Discussion   Posted: Mon Nov 01, 2004 6:32 am   Subject: How to get the ASCII by RS-232
You are off to a good start....

First off in your design do you have a serial port for connecting PIC to PC?

main()
{
char data[20];
int i;

i=0;
...
  Topic: 24c256
Trampas

Replies: 7
Views: 15934

PostForum: General CCS C Discussion   Posted: Mon Nov 01, 2004 6:27 am   Subject: 24c256
I would recommend using copper wire, it is cheap and carries electrons well.

Of course I assume this is not your question, so why don't you try again...

Trampas
  Topic: Trampas - Stern? CF,SD or EEPROM external storage
Trampas

Replies: 1
Views: 7507

PostForum: General CCS C Discussion   Posted: Sun Oct 31, 2004 12:34 pm   Subject: Trampas - Stern? CF,SD or EEPROM external storage
Vagman,

This is Trampas Stern with the OBDII device...

I use an external Flash chip to store the code information. I also have prototypes devices with SD cards. However the only reason to use r ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group