Author |
Message |
Topic: PCD with dsPIC30F6014A... Getting better... |
ChrisL
Replies: 2
Views: 4070
|
Forum: General CCS C Discussion Posted: Mon Dec 10, 2007 9:41 pm Subject: PCD with dsPIC30F6014A... Getting better... |
CCS has been very responsive in clearing up what the issues are. We had our answers by the end of the day today.
The oscillator issue is corrected by adding the PR switch to the fuse info
#fuses ... |
Topic: PCD with dsPIC30F6014A... Getting better... |
ChrisL
Replies: 2
Views: 4070
|
Forum: General CCS C Discussion Posted: Sat Dec 08, 2007 4:44 pm Subject: PCD with dsPIC30F6014A... Getting better... |
We purchased the PCD compiler yesterday, bad choice. Writing the simplest program possible, setting the fuses and declaring 1 int variable, was too much for the compiler. It is impossible to use any o ... |
Topic: Can CCS be made more stable inside of MPLAB..? |
ChrisL
Replies: 7
Views: 8771
|
Forum: General CCS C Discussion Posted: Wed Sep 26, 2007 3:03 pm Subject: Can CCS be made more stable inside of MPLAB..? |
OK, will do..
From our other posts you know that we are developing CAN for J1939 requiring support for the INTs on the 18F parts. We will watch for the next PRODUCTION release from CCS and purchase ... |
Topic: Can CCS be made more stable inside of MPLAB..? |
ChrisL
Replies: 7
Views: 8771
|
Forum: General CCS C Discussion Posted: Wed Sep 26, 2007 1:56 pm Subject: Can CCS be made more stable inside of MPLAB..? |
OK,
We also have, but have not installed:
CCS 4.031.30.16
Would you recommend upgrading to that version from 4.025 |
Topic: Can CCS be made more stable inside of MPLAB..? |
ChrisL
Replies: 7
Views: 8771
|
Forum: General CCS C Discussion Posted: Wed Sep 26, 2007 12:52 pm Subject: Can CCS be made more stable inside of MPLAB..? |
We are currently developing on:
PIC 16F883
PIC 16F887
PIC 18F6680
PIC 18F8660
All part of the same project. |
Topic: Can CCS be made more stable inside of MPLAB..? |
ChrisL
Replies: 7
Views: 8771
|
Forum: General CCS C Discussion Posted: Wed Sep 26, 2007 12:03 pm Subject: Can CCS be made more stable inside of MPLAB..? |
Hi all,
Our environment:
CCS V4.025
CCS MPLAB Plug-in V6.20
XP SP2
MPLAB V7.60
PC HP-Pavallion
Just for reference, we don't see any of this when using MC C-18 compiler.
There appear to b ... |
Topic: Is this PIC C-18 Compiler Structure Possible in CCS...? |
ChrisL
Replies: 5
Views: 11515
|
Forum: General CCS C Discussion Posted: Tue Sep 25, 2007 8:35 am Subject: Is this PIC C-18 Compiler Structure Possible in CCS...? |
ckielstra,
That's great...! |
Topic: Need to create new int to service PIR3 on 18F6680...HOW? |
ChrisL
Replies: 6
Views: 8543
|
Forum: General CCS C Discussion Posted: Wed Sep 19, 2007 10:14 am Subject: Need to create new int to service PIR3 on 18F6680...HOW? |
ckielstra,
Your code fragment:
#int_global
void InterruptVectorLow( void )
{
if (PIR3 != 0x00)
J1939_ISR();
}
results in Unprotected cal ... |
Topic: Need to create new int to service PIR3 on 18F6680...HOW? |
ChrisL
Replies: 6
Views: 8543
|
Forum: General CCS C Discussion Posted: Wed Sep 19, 2007 9:48 am Subject: Need to create new int to service PIR3 on 18F6680...HOW? |
ckielstra,
Thank you again for your help.
Do you know the method CCS uses to arrive at the addresses for the INTs that they create in the device profile that they publish. I would love to know t ... |
Topic: Need to create new int to service PIR3 on 18F6680...HOW? |
ChrisL
Replies: 6
Views: 8543
|
Forum: General CCS C Discussion Posted: Wed Sep 19, 2007 1:39 am Subject: Need to create new int to service PIR3 on 18F6680...HOW? |
PCM Programmer,
Here is the function we are trying to replace from PIC 18C Compiler;
#pragma code InterruptVectorLow = 0x0018
void InterruptVectorLow( void )
{
_asm
goto Int ... |
Topic: Need to create new int to service PIR3 on 18F6680...HOW? |
ChrisL
Replies: 6
Views: 8543
|
Forum: General CCS C Discussion Posted: Tue Sep 18, 2007 7:10 pm Subject: Need to create new int to service PIR3 on 18F6680...HOW? |
Hi All,
Working to finish the CAN J1939 conversion using interrupts. It does not appear (or I missed it) that there is an int to service PIR3 in the list of INTs for the PIC18F6680. Setting the bit ... |
Topic: Is this PIC C-18 Compiler Structure Possible in CCS...? |
ChrisL
Replies: 5
Views: 11515
|
Forum: General CCS C Discussion Posted: Sun Sep 16, 2007 8:14 pm Subject: Is this PIC C-18 Compiler Structure Possible in CCS...? |
FINALLY, I figured out how to do this in CCS... Here is how it works...
In CCS here is a Structure inside of a Union...
/****************************Messaging************************************** ... |
Topic: Is this PIC C-18 Compiler Structure Possible in CCS...? |
ChrisL
Replies: 5
Views: 11515
|
Forum: General CCS C Discussion Posted: Sat Sep 15, 2007 8:42 pm Subject: Is this PIC C-18 Compiler Structure Possible in CCS...? |
I am converting the J1939 PIC-18 Complier code. There is a (Structure inside of a Union) in PIC-C;
union J1939_MESSAGE_UNION {
struct {
unsigned int PDUFormat_Top : 3; // This n ... |
Topic: INT-B Not fully qualified for 18F4410 in CCS...? |
ChrisL
Replies: 2
Views: 4444
|
Forum: General CCS C Discussion Posted: Thu Aug 02, 2007 1:03 pm Subject: INT-B Not fully qualified for 18F4410 in CCS...? |
PCM Programmer,
In description they sound identical, but i missed the fact the the IOCB register is missing in the 4410. I guess bit testing is the only other solution. Thanks for your help.... |
Topic: INT-B Not fully qualified for 18F4410 in CCS...? |
ChrisL
Replies: 2
Views: 4444
|
Forum: General CCS C Discussion Posted: Thu Aug 02, 2007 12:12 pm Subject: INT-B Not fully qualified for 18F4410 in CCS...? |
We are running CCS 4.025
We are porting an application from a 16F887 to a 18F4410. For the Microchip descriptions of how the interrupts function on PORT-B for both devices we find them to be identi ... |
|