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 17 matches
CCS Forum Index
Author Message
  Topic: Curious RS-485 Problem!
Ian McCrum

Replies: 8
Views: 10827

PostForum: General CCS C Discussion   Posted: Mon Oct 17, 2005 3:30 pm   Subject: Couple of things about RS485, serial code and PICs
Couple of things about RS485, serial code and PICs

(a) occasionally some serial PIC code of mine would hang or freeze, usually permanently sometimes for a second or two. I think this was due to var ...
  Topic: X25 protocol
Ian McCrum

Replies: 3
Views: 6196

PostForum: General CCS C Discussion   Posted: Thu Jun 30, 2005 2:44 pm   Subject: X25 protocol
Amateur radio folk have implemented AX25, not the same thing of course but it shows it is possible to do synchronous (at the packet level) communications. ... I don't know much/anything about x25 but ...
  Topic: bootloader and SIOW XON/XOFF protocol problem
Ian McCrum

Replies: 5
Views: 9743

PostForum: General CCS C Discussion   Posted: Mon May 30, 2005 2:39 am   Subject: bootloader and SIOW XON/XOFF protocol problem
It is VERY important that you do not use the 16(15!) byte fifo buffer which is part of the uart in most modern PCs. Make sure it is disabled.

Worst case scenario is to use big end of line delays - ...
  Topic: OSD using LM1881
Ian McCrum

Replies: 1
Views: 6120

PostForum: General CCS C Discussion   Posted: Sat May 14, 2005 5:51 am   Subject: OSD using LM1881
Hi, you may be in an area were machine code is necessary to ensure the timing is correct. I have built a couple of designs using PICDREAM, this is a text generator that displays a mono colour bar, an ...
  Topic: External SRAM on 18F8720 as program memory!?
Ian McCrum

Replies: 1
Views: 4863

PostForum: General CCS C Discussion   Posted: Wed Apr 13, 2005 10:25 am   Subject: External SRAM on 18F8720 as program memory!?
I have added RAM and Flash EEprom to a 18C801, and executed code from either. I suppose it is similar...
8-)
Ian
  Topic: can't import CCS's HEX files into MPLAB 7.10
Ian McCrum

Replies: 3
Views: 9489

PostForum: General CCS C Discussion   Posted: Thu Mar 31, 2005 4:16 pm   Subject: can't import CCS's HEX files into MPLAB 7.10
Actually I had posted the query on the microchip website and got this reply - I have yet to try this and will do so tomorrow...


This error message occurs when attempting to import a .HEX, .COD, ...
  Topic: can't import CCS's HEX files into MPLAB 7.10
Ian McCrum

Replies: 3
Views: 9489

PostForum: General CCS C Discussion   Posted: Thu Mar 31, 2005 11:10 am   Subject: can't import CCS's HEX files into MPLAB 7.10
I use CCS's C compiler but in its own IDE, it compiles C to .hex and .cof files.

I start up MPLAB 7.10, select a device and tell it I have an ICD2. I have also tried starting a project, doesn't see ...
  Topic: Float to integer
Ian McCrum

Replies: 2
Views: 7612

PostForum: General CCS C Discussion   Posted: Sat Feb 05, 2005 1:25 pm   Subject: Float to integer
A really inefficient way to convert floats is to use sprintf to convert floats to an ascii string, you can then see what value you have and it may be a more convenient way to store things anyway. You ...
  Topic: Protocols for RS485
Ian McCrum

Replies: 2
Views: 9175

PostForum: General CCS C Discussion   Posted: Mon Nov 15, 2004 3:13 am   Subject: Thanks for appletalk links
Many thanks, the URL was just what I was looking for.

On reflection I need to find a LLC and MAC that suits RS485 and works with the network layers and above of TCP/IP ( which I know and love)

. ...
  Topic: Protocols for RS485
Ian McCrum

Replies: 2
Views: 9175

PostForum: General CCS C Discussion   Posted: Sun Nov 14, 2004 1:23 pm   Subject: Protocols for RS485
A ling time ago, I implemented several RS485 networks using a Master-Slave approach, slow baud rates, delays to allow line turnaround, resistors to bias the line to avoid false startbits when all driv ...
  Topic: #org >64K
Ian McCrum

Replies: 4
Views: 12374

PostForum: General CCS C Discussion   Posted: Mon May 17, 2004 2:49 am   Subject: #ORGs >64k
Many many thanks for your reply, Jarek.

I have pasted your code into my compiler and I still get a CCS internal error 65:0:11, even after altering the memory size in the device editor.

I use PCH ...
  Topic: #build generates wrong address
Ian McCrum

Replies: 1
Views: 8085

PostForum: General CCS C Discussion   Posted: Sat May 15, 2004 9:00 am   Subject: #build generates wrong address
Just spotted that #build (RESET=0xF000)
will multiply that address by 2, it assumes the operand is a word address
I guess. Now 0xF000 * 2 is 0x1E000, a byte address

And again the #build is only ...
  Topic: #build generates wrong address
Ian McCrum

Replies: 1
Views: 8085

PostForum: General CCS C Discussion   Posted: Sat May 15, 2004 8:45 am   Subject: #build generates wrong address
The code below generates the machine code listed ... the #build address is 4k too low, I had expected the jump at 0xE000 to be at 0xF000.
Is there proper documentation for the #build command?

__
...
  Topic: #org >64K
Ian McCrum

Replies: 4
Views: 12374

PostForum: General CCS C Discussion   Posted: Fri May 14, 2004 3:12 pm   Subject: #org >64K
Thanks Jarek, I have also emailed you, your advice above works great, provided the addresses are less than 64k, here is code that breaks

___

// Bug/Feature in #ORG ... it is restricted to 64K
/ ...
  Topic: #org >64K
Ian McCrum

Replies: 4
Views: 12374

PostForum: General CCS C Discussion   Posted: Fri May 14, 2004 7:05 am   Subject: #org >64K
Hi, I am currently working with a 18C801, this has no internal ROM and allows up to 2MBytes of external memory. Curent wirewrap board has 128k of flash and 128k of RAM.

I want to download executabl ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group