CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 25 matches
CCS Forum Index
Author Message
  Topic: access violation error
coderchick

Replies: 3
Views: 4290

PostForum: General CCS C Discussion   Posted: Tue Jan 13, 2009 8:47 pm   Subject: access violation error
the thing is, the ICD-U40 was working fine a week or two ago, and now i'm getting this error message, why would it suddenly just stop working? I did reinstall my compiler, would that cause these issu ...
  Topic: access violation error
coderchick

Replies: 3
Views: 4290

PostForum: General CCS C Discussion   Posted: Tue Jan 13, 2009 6:45 pm   Subject: access violation error
does anyone know what the compiler is telling me when it gives this error? It occurs everytime i try to run the debugger

Access violation at address 0040527E in module pcw.exe. Read of address FF ...
  Topic: receive ASCII string and convert to int
coderchick

Replies: 11
Views: 26450

PostForum: General CCS C Discussion   Posted: Fri Nov 21, 2008 6:56 pm   Subject: receive ASCII string and convert to int
Yes, the driver sends out a carriage return of 13, 10, which is standard. I have no control or access to how the driver sends things, but I do know for a fact that it sends out a standard CR.

I gu ...
  Topic: receive ASCII string and convert to int
coderchick

Replies: 11
Views: 26450

PostForum: General CCS C Discussion   Posted: Thu Nov 20, 2008 8:12 pm   Subject: receive ASCII string and convert to int
#include <stdlib.h>
#include <input.c>
#include <16F887.h>

#FUSES NOWDT //No Watch Dog Timer
#FUSES XT //Crystal osc <= 4mhz for PCM ...
  Topic: receive ASCII string and convert to int
coderchick

Replies: 11
Views: 26450

PostForum: General CCS C Discussion   Posted: Thu Nov 20, 2008 2:43 pm   Subject: receive ASCII string and convert to int
alright, i've cut my program down even further, and i still can't seem to read in an ascii string, below is my code:


void main(void)
{
char test;
char temp[10];
...
  Topic: receive ASCII string and convert to int
coderchick

Replies: 11
Views: 26450

PostForum: General CCS C Discussion   Posted: Wed Nov 19, 2008 6:28 pm   Subject: receive ASCII string and convert to int
My mistake, I overlooked that when looking for a possible built in function. However, the get_string() function in the input.c file doesn't return a value either, does it? So I don't quite understan ...
  Topic: receive ASCII string and convert to int
coderchick

Replies: 11
Views: 26450

PostForum: General CCS C Discussion   Posted: Wed Nov 19, 2008 5:50 pm   Subject: receive ASCII string and convert to int
Yea, the input.c file was one I looked at, I was just seeing if there were other ways.

I'd love to be able to debug and use the printf, but the problem is that it won't even let me compile. It hig ...
  Topic: receive ASCII string and convert to int
coderchick

Replies: 11
Views: 26450

PostForum: General CCS C Discussion   Posted: Wed Nov 19, 2008 4:26 pm   Subject: receive ASCII string and convert to int
Here's the scenario, my PIC pings a driver to get the current setting of a function. The driver then sends that information as an ASCII string, not a character, but a string. I need to read in that ...
  Topic: I/O and ADC issues w/16F887 using Device editor
coderchick

Replies: 22
Views: 22734

PostForum: General CCS C Discussion   Posted: Tue Nov 04, 2008 1:16 pm   Subject: I/O and ADC issues w/16F887 using Device editor
Thanks all, I added a clear_interrupt(INT_EXT) in the main start up...


enable_interrupts(INT_EXT);
ext_int_edge(H_TO_L);
clear_interrupt(INT_EXT);
enable_in ...
  Topic: I/O and ADC issues w/16F887 using Device editor
coderchick

Replies: 22
Views: 22734

PostForum: General CCS C Discussion   Posted: Tue Nov 04, 2008 12:00 pm   Subject: I/O and ADC issues w/16F887 using Device editor
Here is a simpler version. if the interrupt is triggered, LED is red, otherwise LED is green (instead of off). The LED turns red right off the bat. according to the watch windows, the leak_alert is ...
  Topic: I/O and ADC issues w/16F887 using Device editor
coderchick

Replies: 22
Views: 22734

PostForum: General CCS C Discussion   Posted: Mon Nov 03, 2008 7:29 pm   Subject: I/O and ADC issues w/16F887 using Device editor
below is my code, what it does is (at least this portion) is to flash between a red and green LED and sound a buzzer upon start up. after the start up count down is over, it's supposed to leave the L ...
  Topic: I/O and ADC issues w/16F887 using Device editor
coderchick

Replies: 22
Views: 22734

PostForum: General CCS C Discussion   Posted: Mon Nov 03, 2008 1:56 pm   Subject: I/O and ADC issues w/16F887 using Device editor
alright, so the fuses were something I hadn't modified yet, so now that those are in place, most everything seems to be working...but now i'm having issues with my external interrupt. it's pretty muc ...
  Topic: I/O and ADC issues w/16F887 using Device editor
coderchick

Replies: 22
Views: 22734

PostForum: General CCS C Discussion   Posted: Fri Oct 31, 2008 2:15 pm   Subject: I/O and ADC issues w/16F887 using Device editor

Code:
#include <16F887.h>
#fuses INTRC_IO, NOWDT, PUT, BROWNOUT, MCLR, NOLVP
#use delay(clock=4000000)

//===============================
void main()
{
port_b_pullups(TRUE);

while(1 ...
  Topic: I/O and ADC issues w/16F887 using Device editor
coderchick

Replies: 22
Views: 22734

PostForum: General CCS C Discussion   Posted: Thu Oct 30, 2008 5:47 pm   Subject: I/O and ADC issues w/16F887 using Device editor
alright, that makes sense, but things are still not working. Through the multimeter, I can see the voltage go from 5.08 to 0.00 when the button is pressed, but according to the debugger, that pin on ...
  Topic: I/O and ADC issues w/16F887 using Device editor
coderchick

Replies: 22
Views: 22734

PostForum: General CCS C Discussion   Posted: Thu Oct 30, 2008 5:08 pm   Subject: I/O and ADC issues w/16F887 using Device editor
hm, will all my input pins need pull-up resistors?
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group