Author |
Message |
Topic: Still having problems with # org |
shital
Replies: 11
Views: 11955
|
Forum: General CCS C Discussion Posted: Fri Jul 22, 2005 1:20 pm Subject: Still having problems with # org |
It is still giving me the same error messages just with different numbers needed and left.
My origin range is not greater then 0xfff at any time
Can someone tell wht is the meaning of this messa ... |
Topic: Still having problems with # org |
shital
Replies: 11
Views: 11955
|
Forum: General CCS C Discussion Posted: Fri Jul 22, 2005 12:54 pm Subject: Still having problems with # org |
I had made a mistake which I corrected but I am still getting this error.
I am trying to change the range and see what happens.
>>> Warning 216 "C:\Software\TX3 Code\Transmitter 3.c" Lin ... |
Topic: Still having problems with # org |
shital
Replies: 11
Views: 11955
|
Forum: General CCS C Discussion Posted: Fri Jul 22, 2005 12:51 pm Subject: Still having problems with # org |
The program is about 40 k long .
from 0x0000 to 0x944e |
Topic: Still having problems with # org |
shital
Replies: 11
Views: 11955
|
Forum: General CCS C Discussion Posted: Fri Jul 22, 2005 12:17 pm Subject: Still having problems with # org |
I am using #ORG 0x800, getenv("PROGRAM_MEMORY")-0x401 DEFAULT
as suggested on this forum ( and I am really grateful for that).
It works well for a small code. But when I try to use it for my act ... |
Topic: Still having problems with # org |
shital
Replies: 11
Views: 11955
|
Forum: General CCS C Discussion Posted: Wed Jul 20, 2005 9:06 am Subject: Still having problems with # org |
I am using the bootloader and Quick Programmer P1618QP to download a c file for 18F6621 pic microcontroller. The boot block is from 0x0000 to 0x0800. I want to start my main at 800h and my interrupt c ... |
Topic: # ORG Problem |
shital
Replies: 3
Views: 5840
|
Forum: General CCS C Discussion Posted: Wed Jul 20, 2005 8:43 am Subject: still having org problems |
I tried using a start addr and end addr and used # org like it is used in bootloader.c
#org 0x40,0x7F
void main(void)
{
if(!input(PIN_B5))
load_program();
}
#org default
void load_ ... |
Topic: # ORG Problem |
shital
Replies: 3
Views: 5840
|
Forum: General CCS C Discussion Posted: Wed Jul 20, 2005 8:26 am Subject: # ORG Problem |
Thank You for your reply
I tried using #ORG 0x800, getenv("PROGRAM_MEMORY")-1 DEFAULT
before main but the compiler gives me the following error messages.
-- Info 300 "C:\V3\test.c" Line 4018 ... |
Topic: # ORG Problem |
shital
Replies: 3
Views: 5840
|
Forum: General CCS C Discussion Posted: Tue Jul 19, 2005 7:32 am Subject: # ORG Problem |
I am using the bootloader and Quick Programmer P1618QP to download a c file for 18F6621 pic microcontroller. The boot block is from 0x0000 to 0x0800.
When I use # org 0x0800 the compiler gives me an ... |
|