Author |
Message |
Topic: [help] Problems with 12F508 and 12F509 acting weird |
Budius
Replies: 4
Views: 8728
|
Forum: General CCS C Discussion Posted: Mon Aug 09, 2010 4:07 am Subject: [help] Problems with 12F508 and 12F509 acting weird |
hi guys,
I've been debugging this again and again and it's odd cause it acts differently each time...
I'm using PCWH to program and Mach-x through CCSLOAD to flash the chips.
Mach-x is running ... |
Topic: Mach X Checksum mismatch |
Budius
Replies: 0
Views: 22266
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Thu Aug 05, 2010 2:15 am Subject: Mach X Checksum mismatch |
Hi guys,
I'm (was) using a mach-x to program a PIC12F508/9
Due to some problems with the I/O I was bending the legs of the chip out of the board it was controlling so I could test stuff isolated ( ... |
Topic: Pointing to array of constant strings |
Budius
Replies: 17
Views: 29766
|
Forum: General CCS C Discussion Posted: Wed Sep 02, 2009 10:20 am Subject: Pointing to array of constant strings |
I'd have though 4.073 'ought to do it', but it is a feature that was working on some versions, then went wrong again. Since it is a documented 'meant to work' feature, you can simply moan to CCS, who ... |
Topic: Pointing to array of constant strings |
Budius
Replies: 17
Views: 29766
|
Forum: General CCS C Discussion Posted: Wed Sep 02, 2009 9:26 am Subject: Pointing to array of constant strings |
Using the ROM kyword for the pointer, tells the compiler to add the code to hanlde the data being in ROM, when you use this pointer.did you know what is the compiler minimum version to do this?
R ... |
Topic: Pointing to array of constant strings |
Budius
Replies: 17
Views: 29766
|
Forum: General CCS C Discussion Posted: Wed Sep 02, 2009 7:35 am Subject: Pointing to array of constant strings |
more more and more testings... and I guess final conclusions.
Test 1
char str[] = "abcdef";
char *ptr_str;
ptr_str = &str[0];
printf("str_prt: %s" ... |
Topic: Pointing to array of constant strings |
Budius
Replies: 17
Views: 29766
|
Forum: General CCS C Discussion Posted: Wed Sep 02, 2009 5:13 am Subject: Pointing to array of constant strings |
this last post was mine... sorry, I didn't know guest could post here!
I thought I was logged. |
Topic: Pointing to array of constant strings |
Budius
Replies: 17
Views: 29766
|
Forum: General CCS C Discussion Posted: Tue Sep 01, 2009 7:27 am Subject: Pointing to array of constant strings |
thanks for the reply Ttelmah,
the ROM (I really mean EEPROM) is not an option as it only have 1024 bytes available and I'm already using some of it for other parts of the system.
The only area wit ... |
Topic: Pointing to array of constant strings |
Budius
Replies: 17
Views: 29766
|
Forum: General CCS C Discussion Posted: Tue Sep 01, 2009 5:31 am Subject: Pointing to array of constant strings |
I'm doing an LCD interface that is language selectable.
Due to the memory constrains of a PIC I'll use the language tables in the program memory area (const).
PIC 18F8722
Compiler PCWH ver. 4.073 ... |
|