Author |
Message |
Topic: "Not-a-number" and +/-Infinity floats |
VanHauser
Replies: 4
Views: 7777
|
Forum: General CCS C Discussion Posted: Wed May 23, 2012 2:04 pm Subject: "Not-a-number" and +/-Infinity floats |
I have an application that uses a constant table made of float values. In this table I have some cells that should be empty (no value defined) and I need to mark these, either with Infinity or NaN (no ... |
Topic: Cannot debug PIC24F16KA102: MPLab + CCS compiler + Pickit3 |
VanHauser
Replies: 6
Views: 10950
|
Forum: General CCS C Discussion Posted: Thu Mar 29, 2012 8:10 am Subject: Cannot debug PIC24F16KA102: MPLab + CCS compiler + Pickit3 |
Problem solved.
As I have noticed in the .LST file, CCS compiler forces some fuses if Debug is selected in the Release/Debug dropdown menu in Mplab, or if the statement #device ICD=TRUE exists in ... |
Topic: Cannot debug PIC24F16KA102: MPLab + CCS compiler + Pickit3 |
VanHauser
Replies: 6
Views: 10950
|
Forum: General CCS C Discussion Posted: Fri Mar 23, 2012 5:53 pm Subject: Cannot debug PIC24F16KA102: MPLab + CCS compiler + Pickit3 |
Tried that, but same result. |
Topic: Cannot debug PIC24F16KA102: MPLab + CCS compiler + Pickit3 |
VanHauser
Replies: 6
Views: 10950
|
Forum: General CCS C Discussion Posted: Fri Mar 23, 2012 10:52 am Subject: Cannot debug PIC24F16KA102: MPLab + CCS compiler + Pickit3 |
Of course. |
Topic: Cannot debug PIC24F16KA102: MPLab + CCS compiler + Pickit3 |
VanHauser
Replies: 6
Views: 10950
|
Forum: General CCS C Discussion Posted: Tue Mar 20, 2012 8:36 am Subject: Cannot debug PIC24F16KA102: MPLab + CCS compiler + Pickit3 |
Hello,
I am having trouble debugging a PIC24F16KA102 with the PicKit3.
I am using the following configuration:
- MPLab IDE 8.84
- CCS C Compiler 4.128
- Microchip XLP 16 bit demo boa ... |
Topic: RS485 bootloader with sw reset |
VanHauser
Replies: 13
Views: 26727
|
Forum: General CCS C Discussion Posted: Tue Mar 27, 2007 3:33 am Subject: RS485 bootloader with sw reset |
i'm using an st485 (max485). I can also tried with a ltc485.
how do you use your 470 ohm ? Only for the bootloader and any time ?
I'm using a termination like the one on [url=http://users.skynet ... |
Topic: RS485 bootloader with sw reset |
VanHauser
Replies: 13
Views: 26727
|
Forum: General CCS C Discussion Posted: Sun Mar 25, 2007 6:02 am Subject: RS485 bootloader with sw reset |
...
I tested it with and without the 120 ohm terminating resistor. For termination, I also have 470 ohm resistors, one tied from DATA+ to Vcc and one from DATA- to Gnd. These 3 resistors are connecte ... |
Topic: Flash checksum |
VanHauser
Replies: 9
Views: 17771
|
Forum: General CCS C Discussion Posted: Tue Mar 20, 2007 6:52 am Subject: Flash checksum |
Ok, but it seems to complaine about that the k values are missing in the database? Im doing something wrong, Im sure..
But can it use the checksum generated by the compiler?
#checksum
to match to?
... |
Topic: Flash checksum |
VanHauser
Replies: 9
Views: 17771
|
Forum: General CCS C Discussion Posted: Tue Mar 20, 2007 5:43 am Subject: Flash checksum |
Seems like you have found my checksum generator in this forum. Please see [url=http://www.ccsinfo.com/forum/viewtopic.php?t=24617]that post again, I have made an update. Use the exact verification rou ... |
Topic: HEX Checksum Generator for PIC18 |
VanHauser
Replies: 2
Views: 6557
|
Forum: General CCS C Discussion Posted: Tue Mar 20, 2007 5:34 am Subject: HEX Checksum Generator for PIC18 |
I have updated this program a while ago. It can now create a CCS verification routine automatically for direct use in your programs.
It is now production tested on 18F452.
Help is available when ... |
Topic: RS485 bootloader with sw reset |
VanHauser
Replies: 13
Views: 26727
|
Forum: General CCS C Discussion Posted: Sat Mar 17, 2007 10:16 am Subject: RS485 bootloader with sw reset |
I have modifed the TinyBootloader to work with RS485 for my personal use, with help from its author. If anyone is interrested, here is the asm I use for 18F452:
radix DEC
LIST P=18F452 ; chan ... |
Topic: LVP not working |
VanHauser
Replies: 0
Views: 2993
|
Forum: General CCS C Discussion Posted: Wed Mar 14, 2007 5:04 am Subject: LVP not working |
This is not a CCS related problem, but here it goes.
I tried to program a PIC18F452 using LVP with a simple JDM-based programmer with external power (similar to this one http://www.geocities.com/da ... |
Topic: Pointer problem |
VanHauser
Replies: 3
Views: 6502
|
Forum: General CCS C Discussion Posted: Sun Mar 11, 2007 5:08 pm Subject: Pointer problem |
It seems to me that when dealing with large programs, the compiler fails to evaluate some function parameters. I fixed my problem replacing this:
init_input_string(menu.param_ptr[menu.s], ... |
Topic: Pointer problem |
VanHauser
Replies: 3
Views: 6502
|
Forum: General CCS C Discussion Posted: Sun Mar 11, 2007 1:32 pm Subject: Pointer problem |
I hate when it happens like this, the test program below works as expected.
#define CLKSPEED 40000000
#include <18F452.h>
#fuses H4,NOPROTECT,WDT,NODEBUG,NOLVP
#use delay(clock=CLKSP ... |
Topic: Pointer problem |
VanHauser
Replies: 3
Views: 6502
|
Forum: General CCS C Discussion Posted: Sun Mar 11, 2007 5:08 am Subject: Pointer problem |
I have wasted hours trying to solve an annoying problem with pointers that previously did not appear in my program. I noticed it when my program got bigger (85% of an 18F452). Compiler is 3.249.
I ... |
|