Author |
Message |
Topic: Problem activating pull-ups on 16F636 |
pe1icq
Replies: 3
Views: 4884
|
Forum: General CCS C Discussion Posted: Sun Jun 01, 2008 10:33 am Subject: Problem activating pull-ups on 16F636 |
I found the problem. And of course it was my own stupid mistake.
I thought that RA1 was floating on the PICkit2 demo board, but since I was powering the circuit via the PICkit2, the ICSPCLK l ... |
Topic: Problem activating pull-ups on 16F636 |
pe1icq
Replies: 3
Views: 4884
|
Forum: General CCS C Discussion Posted: Sun Jun 01, 2008 9:30 am Subject: Problem activating pull-ups on 16F636 |
Thanks for trying.
My compiler does not give a warning nor an error message.
I actually had port_x_pullups (upmask, downmask) in my first attempt, and tried other formats when that didn't work.
... |
Topic: Problem activating pull-ups on 16F636 |
pe1icq
Replies: 3
Views: 4884
|
Forum: General CCS C Discussion Posted: Sun Jun 01, 2008 7:03 am Subject: Problem activating pull-ups on 16F636 |
Hi,
I have a problem activating pull-ups on a 16F636.
For testing I have used the Microchip low-pin count board that comes with the PICkit2 Starter Kit and a PIC16F636. The compiler and version ... |
Topic: Enable Timer1 interrupt in another ISR? |
pe1icq
Replies: 10
Views: 10278
|
Forum: General CCS C Discussion Posted: Fri Sep 29, 2006 2:39 pm Subject: Enable Timer1 interrupt in another ISR? |
Well... it would help if I would select a port for the debug LED that actually can be used as an output. RA3 isn't one of those.
I swapped RA3 and RA4 and now everything is working fine.
... |
Topic: Enable Timer1 interrupt in another ISR? |
pe1icq
Replies: 10
Views: 10278
|
Forum: General CCS C Discussion Posted: Fri Sep 29, 2006 1:51 pm Subject: Enable Timer1 interrupt in another ISR? |
PIC16F684 and PCM compiler version 3.229 (Linux) |
Topic: Enable Timer1 interrupt in another ISR? |
pe1icq
Replies: 10
Views: 10278
|
Forum: General CCS C Discussion Posted: Fri Sep 29, 2006 12:28 pm Subject: Enable Timer1 interrupt in another ISR? |
Yes I did. It is in the #INT_RA ISR.
I also tried putting it in main() but that did not make a difference. |
Topic: Enable Timer1 interrupt in another ISR? |
pe1icq
Replies: 10
Views: 10278
|
Forum: General CCS C Discussion Posted: Fri Sep 29, 2006 10:41 am Subject: Enable Timer1 interrupt in another ISR? |
Hi,
Can I setup and enable a Timer1 interrupt in another ISR?
What I'm trying to accomplish is starting Timer1 in the ISR that handles the PortA change interrupts.
I've tried several things but I ... |
Topic: read GPS NMEA data using PIC18F452 |
pe1icq
Replies: 4
Views: 15192
|
Forum: General CCS C Discussion Posted: Mon Sep 19, 2005 8:31 am Subject: read GPS NMEA data using PIC18F452 |
I've recently worked on an update of an implementation on the 16f628, but it was written for the HiTech compiler.
http://sharon.esrac.ele.tue.nl/users/pe1rxq/aprstracker/aprstracker.html
This implem ... |
Topic: migrating from Hitech, how to preload EEPROM data? |
pe1icq
Replies: 9
Views: 14623
|
Forum: General CCS C Discussion Posted: Sat Sep 03, 2005 7:33 am Subject: migrating from Hitech, how to preload EEPROM data? |
The #rom directive was indeed what I needed.
Also for use with the 16f628a I can define eeprom data at addresses 0x2100 and up. And then read them back using read_eeprom() starting at address 0x00. ... |
Topic: migrating from Hitech, how to preload EEPROM data? |
pe1icq
Replies: 9
Views: 14623
|
Forum: General CCS C Discussion Posted: Tue Aug 30, 2005 8:34 am Subject: migrating from Hitech, how to preload EEPROM data? |
I didn't really try yet. Before I do I need to rewrite some of the other Hitech specifics. Hopefully I get to it later tonight.
I'll post the results.
//Arno |
Topic: migrating from Hitech, how to preload EEPROM data? |
pe1icq
Replies: 9
Views: 14623
|
Forum: General CCS C Discussion Posted: Tue Aug 30, 2005 6:45 am Subject: migrating from Hitech, how to preload EEPROM data? |
Hi Guys,
Thanks for your replies.
I had looked at the #rom directive, but it seemed to me that this could not be used on a 16f628a.
The 16f87x series have eeprom logically mapped to 0x2100 an ... |
Topic: migrating from Hitech, how to preload EEPROM data? |
pe1icq
Replies: 9
Views: 14623
|
Forum: General CCS C Discussion Posted: Mon Aug 29, 2005 4:51 pm Subject: migrating from Hitech, how to preload EEPROM data? |
I'm migrating some code that is used with the Hitech PICCompiler.
In an include file there is some code that preloads the EEPROM with some data. It looks like this.
#asm
psect eeprom_ ... |
|