Author |
Message |
Topic: Trouble Setting a Pin as an Input |
ralpok
Replies: 1
Views: 3602
|
Forum: General CCS C Discussion Posted: Wed Feb 20, 2013 10:45 am Subject: Trouble Setting a Pin as an Input |
I solved this problem myself but figured I would post the solution in case it helps anybody else. On this PIC the GP0 pin is shared as the ICSP data pin. I was using the CCSLoad to load and run the ... |
Topic: Trouble Setting a Pin as an Input |
ralpok
Replies: 1
Views: 3602
|
Forum: General CCS C Discussion Posted: Wed Feb 20, 2013 10:31 am Subject: Trouble Setting a Pin as an Input |
I have a project I have started with the PIC10f320 micro controller. I want to just get a simple program running setting Pin1 and GP0 as an input (eventually I want to set it as an Analog input). The ... |
Topic: Trouble getting PIC10f320 to run |
ralpok
Replies: 6
Views: 10528
|
Forum: General CCS C Discussion Posted: Tue Feb 19, 2013 10:47 am Subject: Trouble getting PIC10f320 to run |
Thank you guys for all your help. Your advice and input got me heading in the correct direction and I was able to pretty quickly get this up and running. In the end I had to manually set the PORTA, ... |
Topic: Trouble getting PIC10f320 to run |
ralpok
Replies: 6
Views: 10528
|
Forum: General CCS C Discussion Posted: Sat Feb 09, 2013 12:57 pm Subject: Trouble getting PIC10f320 to run |
I have a project I have started with the PIC10f320 micro controller. I want to just get a simple program running toggling PIN4 (GP2) on the device. As far as I can tell I am unable to even get this ... |
Topic: SPI interrupt doesn't work after breakpoint |
ralpok
Replies: 3
Views: 4887
|
Forum: General CCS C Discussion Posted: Mon Nov 12, 2012 11:45 am Subject: SPI interrupt doesn't work after breakpoint |
I am utilizing a PIC24FV32KA304 devices and PCWHD 4.134 on Win 7. I have recently added an SPI slave peripheral to my source and running the transactions for this peripheral off of interrupts driven ... |
Topic: Queue up SPI TX in Slave Mode |
ralpok
Replies: 1
Views: 4288
|
Forum: General CCS C Discussion Posted: Thu Sep 06, 2012 2:00 pm Subject: Queue up SPI TX in Slave Mode |
I am working on implementing the SPI Slave using a PIC24FV32KA304 on PCWHD 4.134.
What I need to be able to do is queue up two bytes to transmit once the master starts to clock it in.
#use ... |
Topic: CAN Bootloader Help |
ralpok
Replies: 4
Views: 4685
|
Forum: General CCS C Discussion Posted: Mon Mar 09, 2009 9:23 am Subject: Success in CAN Bootloader |
Yes we have succeeded in building our own CAN bootloader. It was an interesting project because a lot of the work had to be done at the lowest level (hand built assembly functions) because of odd stu ... |
Topic: Bootloader Newbie Question |
ralpok
Replies: 11
Views: 20481
|
Forum: General CCS C Discussion Posted: Tue Oct 30, 2007 2:28 pm Subject: Bootloader Newbie Question |
Thanks again for the awesome information ckielstra. One thing that struck me as unexpected was the part about the ICD having a reserved memory block.
Where could I find out more information abou ... |
Topic: Bootloader Newbie Question |
ralpok
Replies: 11
Views: 20481
|
Forum: General CCS C Discussion Posted: Tue Oct 30, 2007 11:05 am Subject: Bootloader Newbie Question |
Thanks ckielstra, it makes more sense when you are looking at the correct #Defines. |
Topic: Bootloader Newbie Question |
ralpok
Replies: 11
Views: 20481
|
Forum: General CCS C Discussion Posted: Mon Oct 29, 2007 12:50 pm Subject: Bootloader Newbie Question |
I am working on attempting to make homegrown bootloader. I have begun to dig into the CCS example bootloader and found something I don't understand and would really appreciate some help.
In thei ... |
Topic: Programming issue |
ralpok
Replies: 10
Views: 9322
|
Forum: General CCS C Discussion Posted: Wed May 16, 2007 10:12 am Subject: Programming issue |
The entire code base
#include <18F4685.h>
#device ICD=TRUE
#device adc=10
#fuses HS,NOWDT,PUT,NOLVP,BROWNOUT
#use delay(clock=20000000)
#include <can-18xxx8_1Meg_Full_ID.c> ... |
Topic: Programming issue |
ralpok
Replies: 10
Views: 9322
|
Forum: General CCS C Discussion Posted: Wed May 16, 2007 10:09 am Subject: Programming issue |
No word from CCS for the moment.
Okay... so it doesn't seem to reappear if I change the code to fit as a small example but I have been able to reproduce it with the updated compiler and I am goin ... |
Topic: Programming issue |
ralpok
Replies: 10
Views: 9322
|
Forum: General CCS C Discussion Posted: Mon May 14, 2007 4:12 pm Subject: Programming issue |
So.. I tried to make a small test program displaying the problem and it worked without showing the issue, and then I went back to a .zip of the project that was displaying the problem (had it saved fr ... |
Topic: Programming issue |
ralpok
Replies: 10
Views: 9322
|
Forum: General CCS C Discussion Posted: Mon May 14, 2007 3:05 pm Subject: Programming issue |
Found a way to hack around it.... but if anybody can give me a full explination as to why it wasn't working I would apreciate it.
The Hack is in the decleration:
volatile struct fuelSurfaceTabl ... |
Topic: Programming issue |
ralpok
Replies: 10
Views: 9322
|
Forum: General CCS C Discussion Posted: Mon May 14, 2007 10:04 am Subject: Programming issue |
RossJ,
Thanks for your reply. It was very helpful in helping me understand how the PIC was working. Unfortunately it didn't solve the problem. I have updated to CCS compiler 4.035 and am experi ... |
|