Author |
Message |
Topic: 64 bit math |
kuriken
Replies: 6
Views: 11540
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2011 3:32 pm Subject: 64 bit math |
My previous project used a PIC18 and I'm just adding one more feature to it. It would be convenient for me if I could use the same platform. I'm contemplating jumping over to a ATMEL chip or using a ... |
Topic: 64 bit math |
kuriken
Replies: 6
Views: 11540
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2011 3:20 pm Subject: 64 bit math |
Hi,
I need to perform 32 bit multiplications and 64 bit addition and subtractions. I realize that CCS does not support int64. I also found the following discussion on this forum that provides a w ... |
Topic: 20MHz Crystal Oscillator Fails on Brownout |
kuriken
Replies: 12
Views: 10174
|
Forum: General CCS C Discussion Posted: Thu Jan 17, 2008 5:13 pm Subject: 20MHz Crystal Oscillator Fails on Brownout |
Thanks for the suggestions.
The bleed resistor would work well for my development board but I will need an alternate solution for the final product. The final product needs to be able to sleep wit ... |
Topic: 20MHz Crystal Oscillator Fails on Brownout |
kuriken
Replies: 12
Views: 10174
|
Forum: General CCS C Discussion Posted: Tue Jan 15, 2008 2:48 pm Subject: 20MHz Crystal Oscillator Fails on Brownout |
Thanks for the reply. I tried enabling the Power Up Timer. It did not fix the problem.
I only short PWR to GND after I switch the power off when there is hardly any voltage (0.3V~0.1V) on the P ... |
Topic: 20MHz Crystal Oscillator Fails on Brownout |
kuriken
Replies: 12
Views: 10174
|
Forum: General CCS C Discussion Posted: Tue Jan 15, 2008 2:28 pm Subject: 20MHz Crystal Oscillator Fails on Brownout |
Hello,
I'm having a problem where I cannot get the oscillator to start up following brownouts. The oscillator is able to start out on Debug, Power Off Reset (I short PWR TO GND) and after software ... |
Topic: Unable to Debug |
kuriken
Replies: 3
Views: 3965
|
Forum: General CCS C Discussion Posted: Thu Aug 30, 2007 5:28 pm Subject: Figured out what was wrong |
Ken,
Thanks for giving me some reassurance.
I figured out the cause of the consistent errors in verification results. It was my code size being too large, 99% the ROM limit. I made the code ... |
Topic: Unable to Debug |
kuriken
Replies: 3
Views: 3965
|
Forum: General CCS C Discussion Posted: Wed Aug 29, 2007 2:59 pm Subject: Unable to Debug |
Hello,
I have the following setup:
target PIC: 18F4620
PCWH 4.053
ICD 2.81
When I enable debugger in PICC, I can load the program, but I get errors in the verification results. I initiall ... |
Topic: Program Mode Set to Fast Warning During Compile |
kuriken
Replies: 0
Views: 3347
|
Forum: General CCS C Discussion Posted: Mon Jul 16, 2007 2:48 pm Subject: Program Mode Set to Fast Warning During Compile |
Hello,
I get the following warning when I compile my code. I have CCS PCH C Compiler, Version 4.042. I am loading the code to my PIC with a ICD-U40. My microcontroller is 18LF4620 with a 20MHz e ... |
Topic: Creating a combined HEX file |
kuriken
Replies: 11
Views: 20157
|
Forum: General CCS C Discussion Posted: Wed Jan 31, 2007 9:54 pm Subject: Got It Working! |
Dave Kelly,
Thank you for the support. I got it working! Eariler it wasn't working because I was power cycling the unit too fast and I had set the NO_BROWNOUT fuse. The hardware was never reset. ... |
Topic: Creating a combined HEX file |
kuriken
Replies: 11
Views: 20157
|
Forum: General CCS C Discussion Posted: Wed Jan 31, 2007 9:13 pm Subject: Boot loader location |
Dave Kelly,
I've followed all of your instructions carefully. The combined code works the first time its run, but not after a hardware reset.
The only thing that I deverged from your instruct ... |
Topic: Creating a combined HEX file |
kuriken
Replies: 11
Views: 20157
|
Forum: General CCS C Discussion Posted: Wed Jan 24, 2007 3:29 pm Subject: MPLAB |
Dave Kelly,
Thanks for replying. I followed your directions as best as I could. Below is what I did but does not work for me:
Installed Evaluation Copy of MPLAB
Created a temp project with PI ... |
Topic: Creating a combined HEX file |
kuriken
Replies: 11
Views: 20157
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2007 3:57 pm Subject: Creating a combined HEX file |
Hello,
I have a bootloader and an application hex file that works. Currently the only way to load the application hex file onto the PIC is through a USB cable after the bootloader is running on th ... |
Topic: Very long compile time PCWH v3.245 Compiler |
kuriken
Replies: 4
Views: 5797
|
Forum: General CCS C Discussion Posted: Mon Nov 06, 2006 4:07 pm Subject: Problem solved |
Thanks PCM Programmer,
For PCWH compiler, under Options/File Formats there is an option to build the *.tre and *.sta files. I disabled the options and now the compiler does not hang up on the *.tr ... |
Topic: Very long compile time PCWH v3.245 Compiler |
kuriken
Replies: 4
Views: 5797
|
Forum: General CCS C Discussion Posted: Mon Nov 06, 2006 3:56 pm Subject: More Info |
My mistake on the earlier statement, I found the *.lst file. It lists the following:
ROM used: 34424 bytes (53%)
Largest free fragment is 31108
RAM used: 744 (19%) at main() le ... |
Topic: Very long compile time PCWH v3.245 Compiler |
kuriken
Replies: 4
Views: 5797
|
Forum: General CCS C Discussion Posted: Mon Nov 06, 2006 3:26 pm Subject: Very long compile time PCWH v3.245 Compiler |
Just out of curiosity, what PIC are you using ? Also, what is the ROM
and RAM usage and the number of stack levels as reported at the top
of the .LST file ?
I'm using a PIC18LF4620 and the R ... |
|