Author |
Message |
Topic: bootloader and configuration data changes |
RobS
Replies: 3
Views: 5154
|
Forum: General CCS C Discussion Posted: Wed Aug 09, 2006 9:13 am Subject: bootloader and configuration data changes |
I�m using a PIC 18LF8720. CCS Ver 3.236.
I�ve implemented a bootloader that imports a new hex file and replaces the contents of program memory except for the loader section. It has two steps. Th ... |
Topic: Low Voltage Detect interrupt |
RobS
Replies: 8
Views: 24152
|
Forum: General CCS C Discussion Posted: Wed Sep 28, 2005 4:52 pm Subject: Low Voltage Detect interrupt |
I'm using the PIC18LF870/18LF8722. CCS Ver 3.23. I want to use #int_lowvolt interrupt to write to internal EE when VDD falls below a certain value. Do any fuses need to be set? What is a good way ... |
Topic: port pin behavior on reset question |
RobS
Replies: 1
Views: 3635
|
Forum: General CCS C Discussion Posted: Wed Jul 27, 2005 6:11 pm Subject: port pin behavior on reset question |
I'm using the 18LF8720 and the ICD 2 as a debugger with MPLAB ver 7.10. Compiler is PCWH ver 3.206.
Port F pins F1 and F4 are set up as outputs (SET_TRIS_F( 0x2c ). The program sets them both high a ... |
Topic: How would I read a specific RAM address? |
RobS
Replies: 2
Views: 7119
|
Forum: General CCS C Discussion Posted: Thu Jun 23, 2005 4:12 pm Subject: How would I read a specific RAM address? |
I am using a PIC 18LF8720. CCS compiler PCWH ver 3.206.
My code periodically checks the value of two variables and sets a flag if they are not equal. The flag is declared as int1. The symbol table ... |
Topic: Checking if value stored in internal EE is corrupt |
RobS
Replies: 6
Views: 9441
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2005 1:04 pm Subject: Checking if value stored in internal EE is corrupt |
Thanks for the response guys. The machine actually runs 7 to 8hrs a day, 5 days per week so there is a little more time. That�s a good suggestion to monitor the power and write once or external memo ... |
Topic: Checking if value stored in internal EE is corrupt |
RobS
Replies: 6
Views: 9441
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2005 10:43 am Subject: Checking if value stored in internal EE is corrupt |
I am using a PIC 18LF8720. CCS compiler PCWH ver 3.206.
I need to update a count every minute and save it to the internal EE. I was concerned that the value could get corrupt because it is two bytes ... |
Topic: Port pin configuration question |
RobS
Replies: 5
Views: 10089
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2005 9:41 am Subject: Port pin configuration question |
Yes I believe you can use it as both in and out with fast_io directive but will have to change the configuration with the Set_Tris before using it as the new configuration.
That is if set as an in ... |
Topic: Port pin configuration question |
RobS
Replies: 5
Views: 10089
|
Forum: General CCS C Discussion Posted: Wed Jun 08, 2005 4:00 pm Subject: Port pin configuration question |
Most pins in my application will not change configuration but one port is used as both input and output so I will not use '#use fast_io' directive.
Instead of H4 i ment H6 so it should be ok. than ... |
Topic: Port pin configuration question |
RobS
Replies: 5
Views: 10089
|
Forum: General CCS C Discussion Posted: Wed Jun 08, 2005 2:29 pm Subject: Port pin configuration question |
I am using a PIC 18LF8720. CCS compiler PCWH ver 3.206. At the start of the program there are three port pins, J4, J6 and H4 that are set as output using the SET_TRIS_H( 0xba ) and SET_TRIS_J( 0xa0 ... |
Topic: DS18B20 1-wire time critical application issue - need input |
RobS
Replies: 2
Views: 6132
|
Forum: General CCS C Discussion Posted: Sun Apr 17, 2005 7:42 am Subject: DS18B20 1-wire time critical application issue - need input |
Hi,
I'm using a PIC 18LF8720 with a PCWH ver 3.206 compiler to operate a Dallas DS18B20 1-wire digital thermometer.
I have a program where one of its functions is to measure and return temperat ... |
|