Author |
Message |
Topic: loading a file |
Atma
Replies: 6
Views: 7983
|
Forum: General CCS C Discussion Posted: Wed Nov 09, 2005 8:19 am Subject: loading a file |
Hi there
Thanks for letting me know about the Loader.c file. I think it is what i require to receive the hex file from across.
I have a few questions though that i need to ask.
1)I realised t ... |
Topic: Programming a PIC |
Atma
Replies: 2
Views: 4516
|
Forum: General CCS C Discussion Posted: Wed Nov 09, 2005 5:33 am Subject: Programming a PIC |
Hi there
I am trying to program a PIC with another PIC. I managed to read the target ID of the device and i manged to erase the device. Now i am trying to program the device. I tried sending one by ... |
Topic: adding serial number problem |
Atma
Replies: 3
Views: 7103
|
Forum: General CCS C Discussion Posted: Wed Nov 09, 2005 4:58 am Subject: adding serial number problem |
hi there
I am using compiler version 3.148.
What i am doing is programming a PIC with another PIC and i have to add a serial number to the PIC. I have to add it from my GUI.
I tried using the ... |
Topic: loading a file |
Atma
Replies: 6
Views: 7983
|
Forum: General CCS C Discussion Posted: Tue Nov 01, 2005 10:59 am Subject: loading a file |
Hi there
I need some help. I am making a PIC programmer where a PIC programs another PIC. I have manged to be able to read the device ID fro the device and erase it as well. now i am trying to prog ... |
Topic: adding serial number problem |
Atma
Replies: 3
Views: 7103
|
Forum: General CCS C Discussion Posted: Sat Oct 22, 2005 7:01 am Subject: adding serial number problem |
hi there
i am trying to add serial number to the program that i am writing. in the manual i came across
the following code:
int8 const serialNumA=100;
#serialize (id = serialNumA, nex ... |
Topic: Programming target PIC with another PIC |
Atma
Replies: 7
Views: 7887
|
Forum: General CCS C Discussion Posted: Wed Oct 19, 2005 10:45 am Subject: Programming target PIC with another PIC |
Lots of PIC programmers program the PIC in cicuit using In Circuit Serial Programming (ICSP). The Warp13A is an example of a PIC programmer that uses a PIC to program other PICs.
Hi..
ok i think ... |
Topic: Programming target PIC with another PIC |
Atma
Replies: 7
Views: 7887
|
Forum: General CCS C Discussion Posted: Wed Oct 19, 2005 10:12 am Subject: Programming target PIC with another PIC |
There are a couple of ways you can do this. One is to emulate an external programmer and program the PIC using ISCP. The second way is for the target PIC to contain a bootloader. In which case you sen ... |
Topic: LED flashing problem |
Atma
Replies: 7
Views: 8872
|
Forum: General CCS C Discussion Posted: Wed Oct 19, 2005 8:22 am Subject: LED flashing problem |
#include <16F877.h> // Change according with your uC
#fuses XT, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock = 4000000) // change according with the Xtal you are using ... |
Topic: LED flashing problem |
Atma
Replies: 7
Views: 8872
|
Forum: General CCS C Discussion Posted: Wed Oct 19, 2005 8:19 am Subject: LED flashing problem |
You forgot to add #use delay(clock=....)
hi this is added in the .h file. so i presume that it gets added to the project. |
Topic: LED flashing problem |
Atma
Replies: 7
Views: 8872
|
Forum: General CCS C Discussion Posted: Wed Oct 19, 2005 8:17 am Subject: Re: LED flashing problem |
#include "C:\Documents and Settings\Atmadarshini dd\My Documents\trial.h"
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#int_RDA
... |
Topic: Programming target PIC with another PIC |
Atma
Replies: 7
Views: 7887
|
Forum: General CCS C Discussion Posted: Wed Oct 19, 2005 8:04 am Subject: Programming target PIC with another PIC |
On several projects I have used a master PIC to program slave PICs (PICs that are downstream from the master that cannot be reached directly). I have bootloaders in the master and slave PICs. I set up ... |
Topic: Programming target PIC with another PIC |
Atma
Replies: 7
Views: 7887
|
Forum: General CCS C Discussion Posted: Wed Oct 19, 2005 6:34 am Subject: Programming target PIC with another PIC |
Hi there
I have a project that i have to do using the PIC16F873 device. In this project i have to program a PIC16F873 device with another PIC16F873 device. I was wondering if CCS had built in funct ... |
Topic: LED flashing problem |
Atma
Replies: 7
Views: 8872
|
Forum: General CCS C Discussion Posted: Wed Oct 19, 2005 6:27 am Subject: LED flashing problem |
Hi there
I am new to using the CCS compiler. I was trying to flash an LED just as a test program but the LED doesnt flash. My code is as below:
#include "C:\Documents and Settings\Atm ... |
Topic: changing compiler to ccs |
Atma
Replies: 1
Views: 4013
|
Forum: General CCS C Discussion Posted: Tue Oct 18, 2005 12:28 pm Subject: changing compiler to ccs |
Hi there
I was writing code in c using the compiler cc5x for the PIC16F873 device and now if i want to change the code to using the ccs compiler, is it very difficult? I have written a lot of code. ... |
Topic: programming the PIC16F873 device |
Atma
Replies: 12
Views: 12220
|
Forum: General CCS C Discussion Posted: Sat Oct 08, 2005 1:02 pm Subject: programming the PIC16F873 device |
Spot on.
You now need to split the design into two parts. The first is a system to receive a line of a file from the PC, and decode it. The second is the code to use this data to program the target P ... |
|