Author |
Message |
Topic: #fuses Statement Failed in Mplab 8.15a with CCS compiler |
donquixote
Replies: 4
Views: 4777
|
Forum: General CCS C Discussion Posted: Tue Dec 16, 2008 7:12 am Subject: #fuses Statement Failed in Mplab 8.15a with CCS compiler |
No #fuses statement fails. You didn't specify the correct setting.
You have to set also fuse PR to select the primary oscillator.
Hello, Frank,
Heartfelt thanks.
I have checked the settings ... |
Topic: #fuses Statement Failed in Mplab 8.15a with CCS compiler |
donquixote
Replies: 4
Views: 4777
|
Forum: General CCS C Discussion Posted: Tue Dec 16, 2008 5:15 am Subject: #fuses Statement Failed in Mplab 8.15a with CCS compiler |
hello, guys,
I meet another problem in code building in Mplab 8.15a with calling CCS Rev 4.080.
Currently , I use an external 20M crystal as the clock source for PIC24FJ128GA106. And I build a ... |
Topic: Pins refuse to go high? Code or hardware? |
donquixote
Replies: 13
Views: 8748
|
Forum: General CCS C Discussion Posted: Mon Dec 15, 2008 6:20 am Subject: Pins refuse to go high? Code or hardware? |
Yes, PCD V4.083 is still mixing up PIC24FJ128GA106 SFR addresses
.................... output_high(PIN_B3);
05470: BCLR.B 2C6.3 ; THIS IS TRISA, TRISB WOUL BE 2C8
05472: BSET.B 2CA.3 ; CORR ... |
Topic: Pins refuse to go high? Code or hardware? |
donquixote
Replies: 13
Views: 8748
|
Forum: General CCS C Discussion Posted: Sun Dec 14, 2008 8:43 pm Subject: Pins refuse to go high? Code or hardware? |
Hi, guys,
I met the similar problem on pins not to being high or low with the output_high/output_low().
The chip is PIC24FJ128GA106, CCS Rev 4.80, and Mplab V8.15a. The testing code is attached ... |
Topic: On the #use delay in PIC24FJ128 chips. |
donquixote
Replies: 6
Views: 9079
|
Forum: General CCS C Discussion Posted: Thu Dec 11, 2008 5:28 am Subject: On the #use delay in PIC24FJ128 chips. |
It's true, that PCD has still many bugs. But basic operations, as you're performing them, have been always working, at least since V4.079, which I started with. I'm using exactly the same part, and do ... |
Topic: On the #use delay in PIC24FJ128 chips. |
donquixote
Replies: 6
Views: 9079
|
Forum: General CCS C Discussion Posted: Thu Dec 11, 2008 2:15 am Subject: On the #use delay in PIC24FJ128 chips. |
I see, that it's written in the PCD manual, but I can't see any effect of the example #use delay statements on configuration bits or oscillator configuration with PCD V4.083 and PIC24FJ128GA106. The m ... |
Topic: On the #use delay in PIC24FJ128 chips. |
donquixote
Replies: 6
Views: 9079
|
Forum: General CCS C Discussion Posted: Wed Dec 10, 2008 7:50 pm Subject: On the #use delay in PIC24FJ128 chips. |
As a general comment, it' aways recommended to read the hardware manuals to better understand the available CPU resources. PIC24 watchdog timing is defined by fuses, which is to my opinion, a feature ... |
Topic: On the #use delay in PIC24FJ128 chips. |
donquixote
Replies: 6
Views: 9079
|
Forum: General CCS C Discussion Posted: Wed Dec 10, 2008 5:04 am Subject: On the #use delay in PIC24FJ128 chips. |
Hello, all,
I am working on the firmware building on PIC24FJ128GA106 in Mplab IDE 8.15a with Ccsc.exe Rev 4.080 compiler calling.
I have added only the main.c into the source file directory.
... |
Topic: "Solved" Code Compiling with Ccsc.exe in Mplab IDE |
donquixote
Replies: 2
Views: 6067
|
Forum: General CCS C Discussion Posted: Wed Dec 10, 2008 4:23 am Subject: "Solved" Code Compiling with Ccsc.exe in Mplab IDE |
Make a small test project with a main source file that #includes the
2402.c file.
For example, this program could be called Test.c and it could be in
a project called "Test". In MPLA ... |
Topic: "Solved" Code Compiling with Ccsc.exe in Mplab IDE |
donquixote
Replies: 2
Views: 6067
|
Forum: General CCS C Discussion Posted: Thu Dec 04, 2008 4:34 am Subject: "Solved" Code Compiling with Ccsc.exe in Mplab IDE |
Hello, guys,
I am trying to compile the code in Mplab IDE with calling Ccsc.exe , which is compiled successfully in CCS Rev 4.080.
And I have checked some topics on code compiling with Ccsc.exe ... |
Topic: Is it possible to program the target chip via ICD2 in CCS? |
donquixote
Replies: 4
Views: 3575
|
Forum: General CCS C Discussion Posted: Thu Dec 04, 2008 2:52 am Subject: Is it possible to program the target chip via ICD2 in CCS? |
Hi, guys,
I have finished the compiling for my code on CCS Rev 4.080, and the ICD2 plug-in module is also installed.
And the target device could be connected with CCS via ICD2 module.
I am wo ... |
Topic: Puzzle on Access on SR(Status Register) In CCS V4.080 |
donquixote
Replies: 0
Views: 2415
|
Forum: General CCS C Discussion Posted: Wed Nov 12, 2008 2:24 am Subject: Puzzle on Access on SR(Status Register) In CCS V4.080 |
Hello, Guys,
When I am compiling my code with CCS V4.080, I met a puzzle.
Code module attached below,
#asm
mov SR, W0
mov U1STA, W1
.........
When compiling, the er ... |
Topic: How to Read/Write the External I2C-based EEPROM? |
donquixote
Replies: 3
Views: 9414
|
Forum: General CCS C Discussion Posted: Thu Oct 16, 2008 2:27 am Subject: How to Read/Write the External I2C-based EEPROM? |
Hello, guys,
There are some pair of read/write functions for memory/EEPROMs. And I2C-based 24LC02B is used as the external EEPROM in my design.
So I am wondering which following pair(s) of Read/ ... |
Topic: Need more than 2 Uarts? |
donquixote
Replies: 6
Views: 6274
|
Forum: General CCS C Discussion Posted: Thu Oct 16, 2008 12:44 am Subject: Need more than 2 Uarts? |
Is it possible to use the PIC24F128GA106 in the multi-uart solutions?
I am working on the design with 3 UARTs which migrated from PIC16F873A.
Thanks. |
Topic: How to identify four UARTs in PIC24F128GA106? |
donquixote
Replies: 1
Views: 4734
|
Forum: General CCS C Discussion Posted: Wed Oct 15, 2008 1:49 am Subject: How to identify four UARTs in PIC24F128GA106? |
Hi, Guys,
My question is how to identify the four UARTs in PIC24F128GA106?
I would like to use the interrupt service routine for both Receiving and Transmitting. And CCS provide the #INT_RDA, #I ... |
|