Author |
Message |
Topic: Make32 and Make16 Source |
superflycfi
Replies: 4
Views: 14267
|
Forum: General CCS C Discussion Posted: Wed Jul 02, 2008 1:50 pm Subject: Understood! |
Sorry about asking that I guess. I use CCS code a lot, but needed to port a project to a different micro and they didn't have the make32, etc. |
Topic: Make32 and Make16 Source |
superflycfi
Replies: 4
Views: 14267
|
Forum: General CCS C Discussion Posted: Wed Jul 02, 2008 11:42 am Subject: Make32 and Make16 Source |
Anyone have source for Make32 and Make16. Need it for another C compiler!
Thanks |
Topic: Serial Communication to Device TX Line Issue |
superflycfi
Replies: 11
Views: 8357
|
Forum: General CCS C Discussion Posted: Mon Jun 09, 2008 10:37 am Subject: Serial Communication to Device TX Line Issue |
Will a watchdog reset perform a hardware reset? I did implement code to do that rather than the reset_cpu(). Will the UART reset with the watchdog reset? I have verified that the unit does come bac ... |
Topic: Serial Communication to Device TX Line Issue |
superflycfi
Replies: 11
Views: 8357
|
Forum: General CCS C Discussion Posted: Mon Jun 09, 2008 10:10 am Subject: Serial Communication to Device TX Line Issue |
Thanks for the info so far! I have a built in status LED that indicates the PIC is still running. As far as the buffer overwrite bug, would this overrun write into the next declared variable? If so ... |
Topic: Serial Communication to Device TX Line Issue |
superflycfi
Replies: 11
Views: 8357
|
Forum: General CCS C Discussion Posted: Thu Jun 05, 2008 8:59 am Subject: Serial Communication to Device TX Line Issue |
Using the ERRORS parameter in the #useRS232 directive is supposed to cause the compiler to create code to reset that I believe. Question is: Will that affect the transmitting of characters out? |
Topic: Serial Communication to Device TX Line Issue |
superflycfi
Replies: 11
Views: 8357
|
Forum: General CCS C Discussion Posted: Wed Jun 04, 2008 3:06 pm Subject: Code |
#include "16F689.h"
#fuses XT,NOWDT
#use delay(clock=4000000)
#use rs232(baud=9600,xmit=PIN_B7,rcv=PIN_B5,ERRORS,STREAM=COM_A,BRGH1OK) // COM A Meter
#use rs232 ... |
Topic: Serial Communication to Device TX Line Issue |
superflycfi
Replies: 11
Views: 8357
|
Forum: General CCS C Discussion Posted: Wed Jun 04, 2008 3:00 pm Subject: Serial Communication to Device TX Line Issue |
No checking at this time, please explain method? I assumed the errors are reset by the compiler. I use a character array for input buffers and the character framing, character buffer counter reset o ... |
Topic: Serial Communication to Device TX Line Issue |
superflycfi
Replies: 11
Views: 8357
|
Forum: General CCS C Discussion Posted: Wed Jun 04, 2008 2:39 pm Subject: Serial Communication to Device TX Line Issue |
I have an application that communicates with a device via serial port UART. In the field tests, units have stopped communicating for no apparent reason. The external device has a display that indica ... |
Topic: Saving Counter Data? |
superflycfi
Replies: 1
Views: 2568
|
Forum: General CCS C Discussion Posted: Tue Jun 03, 2008 9:44 pm Subject: Saving Counter Data? |
I need to save counter data so no information is lost. Using PIC18F4525
chip. These counters can increment each second, so simply writing to EEPROM isn't feasible because of the limited write cycle ... |
Topic: PIC16F689 Multiple PIN RS 232 Lock up |
superflycfi
Replies: 6
Views: 6344
|
Forum: General CCS C Discussion Posted: Mon Apr 21, 2008 8:42 pm Subject: Compiler Version is 4.071 |
Version 4.071 |
Topic: PIC16F689 Multiple PIN RS 232 Lock up |
superflycfi
Replies: 6
Views: 6344
|
Forum: General CCS C Discussion Posted: Mon Apr 21, 2008 8:40 pm Subject: Fuses, etc. |
Code is below: Power pins are decoupled with .1 caps.
#include "16F689.h"
#fuses NOWDT
#use delay(internal=4M,restart_wdt)
#use rs232(baud=9600,xmit=PIN_B7,rcv=PIN_B ... |
Topic: PIC16F689 Multiple PIN RS 232 Lock up |
superflycfi
Replies: 6
Views: 6344
|
Forum: General CCS C Discussion Posted: Mon Apr 21, 2008 7:36 pm Subject: Problem may be solved....Very Strange Issue? |
I removed the ERRORS portion from the second #USE RS232 directive and everything works. What I want to know is WHY? The documentation from CCS needs work here, I spent 10 hours on this problem today ... |
Topic: PIC16F689 Multiple PIN RS 232 Lock up |
superflycfi
Replies: 6
Views: 6344
|
Forum: General CCS C Discussion Posted: Mon Apr 21, 2008 2:51 pm Subject: PIC16F689 Multiple PIN RS 232 Lock up |
Anyone used these commands with PIC16F689 for talking to multiple devices?
#use rs232(baud=9600,xmit=PIN_B7,rcv=PIN_B5,BITS=8,ERRORS,STREAM=COM_A) // COM A Meter
#use rs232(baud=9600,xmit=PIN_B6,r ... |
|