Author |
Message |
Topic: functions return to different location. |
Ahmed
Replies: 11
Views: 18348
|
Forum: General CCS C Discussion Posted: Tue Apr 25, 2006 1:46 pm Subject: functions return to different location. |
if you use the #separate directive anywhere in your
program, the compiler will not check the stack usage anymore.
You have to check it yourself by looking at the .LST file every time
the ... |
Topic: PIC18F422 and MPLAB Error |
Ahmed
Replies: 3
Views: 6222
|
Forum: General CCS C Discussion Posted: Tue Apr 25, 2006 12:44 pm Subject: PIC18F422 and MPLAB Error |
MPLAB is working fine when i use the PIC16F877A. therefore, i think if it is not installed properly both will not work. i'm using MPLAB V7.31 and CCS PCW C Compiler, Version 3.124.
is it possible t ... |
Topic: PIC18F422 and MPLAB Error |
Ahmed
Replies: 3
Views: 6222
|
Forum: General CCS C Discussion Posted: Tue Apr 25, 2006 12:11 pm Subject: PIC18F422 and MPLAB Error |
I'm using PIC18F442 and when i'm comipling the code from MPLAB i get the following error
Executing: "E:\PICC\Ccsc.exe" biometrics_v3.c -CC -fINHX8M -p18F442 -IE:\PICC\Project Programs -a -L -Q -V - ... |
Topic: functions return to different location. |
Ahmed
Replies: 11
Views: 18348
|
Forum: General CCS C Discussion Posted: Sun Apr 23, 2006 10:32 am Subject: functions return to different location. |
ok, after i compiled the program using ccs direct instead of MPLAB then the .LST appears!!!
after i cancelled some of the #files and isearted them in the main then i had the following in Error:
... |
Topic: functions return to different location. |
Ahmed
Replies: 11
Views: 18348
|
Forum: General CCS C Discussion Posted: Sun Apr 23, 2006 7:24 am Subject: functions return to different location. |
i follow your advice and try to remove some of the # files. the compiler start to get out the problems; finally i ended with "NOT enough RAM for all variables".
Due to limited time, I�m thinking of ... |
Topic: functions return to different location. |
Ahmed
Replies: 11
Views: 18348
|
Forum: General CCS C Discussion Posted: Sat Apr 22, 2006 8:06 pm Subject: functions return to different location. |
yes, i'm using ccs compiler. can i check the stack using any other way.
thanks |
Topic: functions return to different location. |
Ahmed
Replies: 11
Views: 18348
|
Forum: General CCS C Discussion Posted: Sat Apr 22, 2006 6:57 pm Subject: functions return to different location. |
i wasn't able to find the .LST in the project directory. i got only .COD, .ERR and .HEX; i looked in Build options and list file was checked (ON). any idea of what is going on!
Thanks alot PCM |
Topic: functions return to different location. |
Ahmed
Replies: 11
Views: 18348
|
Forum: General CCS C Discussion Posted: Sat Apr 22, 2006 4:28 pm Subject: functions return to different location. |
I'm using PIC 16F877, my code starts getting large and I�m dividing it to number of files then included them in the main. The include files are calling functions from each other.
I�m getting weird ... |
Topic: How to reading data from RS232 via Hyper Terminal |
Ahmed
Replies: 6
Views: 12557
|
Forum: General CCS C Discussion Posted: Mon Mar 13, 2006 8:11 pm Subject: Re: How to reading data from RS232 via Hyper Terminal |
your code looks write and I tested it is working. adjust the hyper terminal by clicking on "Restore Defaults".
I think your problem is not in the code, so check your hardware.
I had similar prob ... |
Topic: I2C EEPROM page Write & RS232 |
Ahmed
Replies: 4
Views: 10940
|
Forum: General CCS C Discussion Posted: Mon Mar 13, 2006 4:52 pm Subject: I2C EEPROM page Write & RS232 |
Well it's not the same as the 24LC32, but it does work the same in that you have to start on the physical page boundary, which is multiples of 64.
Thanks Jspencer i got it now. |
Topic: I2C EEPROM page Write & RS232 |
Ahmed
Replies: 4
Views: 10940
|
Forum: General CCS C Discussion Posted: Mon Mar 13, 2006 4:24 pm Subject: I2C EEPROM page Write & RS232 |
I'm trying to download a database from the PC to I2C. I'm using the hyber tirminal to test first.
I add the following function to CCS 24256.c driver to make page copy
void page_write_ext_eeprom& ... |
Topic: Keypad Driver |
Ahmed
Replies: 4
Views: 9749
|
Forum: General CCS C Discussion Posted: Mon Mar 13, 2006 3:54 pm Subject: Keypad Driver |
I don't have a flexible driver for the keypad. I could do one, but I'm
very busy at work for the next few days.
Thanks alot PCM, i modified it and put it on the library for anybody may need it i ... |
Topic: Flexible Keypad Driver |
Ahmed
Replies: 12
Views: 128338
|
Forum: Code Library Posted: Mon Mar 13, 2006 3:48 pm Subject: Flexible Keypad Driver |
This is a modification of CCS keypad driver (KBDD.c) with flexible pins connections.
///////////////////////////////////////////////////////////////////////////
//// Fl ... |
Topic: Keypad Driver |
Ahmed
Replies: 4
Views: 9749
|
Forum: General CCS C Discussion Posted: Sun Mar 12, 2006 4:42 pm Subject: Connections |
Post the list of connections between the keypad and the PIC.
Connections is as follow:
X3 ------ PIN A5
X2 ------ PIN E0
X1 ------ PIN E1
Y4 ------ PIN E2
Y3 ------ PIN C0
Y2 ------ PIN C1
... |
Topic: Keypad Driver |
Ahmed
Replies: 4
Views: 9749
|
Forum: General CCS C Discussion Posted: Sun Mar 12, 2006 4:24 pm Subject: Keypad Driver |
I'm trying to use 4x3 matrix keypad with PIC16f877. the pins were connected to different ports which made me unable to use CCS KBD driver.
Do anybody knows modified driver?
Thanks for your Coope ... |
|