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 22 matches
CCS Forum Index
Author Message
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Fri Apr 12, 2013 7:12 am   Subject: problem by interrupt timer and read external eeprom
I understand Not the solution for problem. and it is The big problem
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Mon Apr 08, 2013 9:27 am   Subject: problem by interrupt timer and read external eeprom
yes. I read from the eeprom is corrupted after reading for a long time?
i test the down program for 5,6 hourse

#include <16f72.h>

#use delay (crystal=20Mhz)
#fuses hs,NOWDT,BROWN ...
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Thu Apr 04, 2013 5:45 am   Subject: problem by interrupt timer and read external eeprom
not idea for problem?
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Wed Apr 03, 2013 5:49 am   Subject: problem by interrupt timer and read external eeprom

Please post your most recent program:
- Complete (so we can copy/paste)
- with correct indentation (only 1 instruction at a line, not two '}' characters at a line, etc).


Post your compiler ve ...
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Wed Apr 03, 2013 5:01 am   Subject: problem by interrupt timer and read external eeprom
i can't running the chip at 3.3v . i can running chip just at 5V
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Wed Apr 03, 2013 4:43 am   Subject: problem by interrupt timer and read external eeprom
no anybody other way ? the way is slowly speed
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Wed Mar 27, 2013 11:09 am   Subject: problem by interrupt timer and read external eeprom
The problem was solved by use delay_us(500);


adres1=read_ext_eeprom(0);delay_us(500);
adres2=read_ext_eeprom(1);delay_us(500);
adress=make16 (adres2,adres1 ...
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Tue Mar 26, 2013 11:37 pm   Subject: problem by interrupt timer and read external eeprom
the problem is write into eeprom.
I'm not write into eeprom.
I'm just read from eeprom.but false information write into eeprom!! while i am just read from eeprom




#include <16f72.h> ...
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Tue Mar 26, 2013 11:18 am   Subject: problem by interrupt timer and read external eeprom
the library for 24c08 is



+++++++++++++++++++++++++
2408.c code deleted.

10. Don't post the CCS example code or drivers, or ask for such code and drivers.

http://www.ccsinfo.com/forum/vi ...
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Tue Mar 26, 2013 9:23 am   Subject: problem by interrupt timer and read external eeprom
how fast the computation timer is more ,for example

setup_timer_2 ( T2_DIV_BY_16,240,16); be
setup_timer_2 ( T2_DIV_BY_16,254,16);
The eeprom is written more quickly , However, read-only from ...
  Topic: problem by interrupt timer and read external eeprom
mahdifahime

Replies: 24
Views: 27941

PostForum: General CCS C Discussion   Posted: Tue Mar 26, 2013 12:28 am   Subject: problem by interrupt timer and read external eeprom
i am write program and problem by interrupt timer2 and read external eeprom


#include <16f72.h>
#device adc=10
#use delay (crystal=20Mhz)
#fuses hs,NOWDT,BROWNOUT,PROTECT
#define ...
  Topic: problem by Spontaneous pic
mahdifahime

Replies: 9
Views: 12550

PostForum: General CCS C Discussion   Posted: Thu Mar 07, 2013 11:48 pm   Subject: problem by Spontaneous pic
please post your master clock /delay statement

also
as coded the timer int is going to be called VERY frequently -

AND

when you call ERASE() - it's execution is bound to be much longer th ...
  Topic: problem by Spontaneous pic
mahdifahime

Replies: 9
Views: 12550

PostForum: General CCS C Discussion   Posted: Thu Mar 07, 2013 8:12 am   Subject: problem by Spontaneous pic
code is :

#define led pin_c5
#define pushb pin_b2
int16 sh;int8 ll=0,zr=0;

#int_timer1
void Timer1_isr()
{zr+=1; ll+=1;
if(ll>=255){
sh+=1;}
...
  Topic: problem by Spontaneous pic
mahdifahime

Replies: 9
Views: 12550

PostForum: General CCS C Discussion   Posted: Wed Mar 06, 2013 5:53 am   Subject: problem by Spontaneous pic
Is not resolved problem.
I am work by interrupt timer1.
When a program is in the main function, sometimes order if{} will be ignored and inside order if{} runs. The problem is interrupt timer1.
  Topic: problem by Spontaneous pic
mahdifahime

Replies: 9
Views: 12550

PostForum: General CCS C Discussion   Posted: Wed Feb 27, 2013 9:09 pm   Subject: problem by Spontaneous pic
hello
I am working by pic16f72.
The program consists of a several functions.
My problem is with the micro After several days of working on their own.
Why are function calls Spontaneous?
The prog ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group