Author |
Message |
Topic: rs485 link break when AC motor start |
zafarkhan
Replies: 2
Views: 3464
|
Forum: General CCS C Discussion Posted: Wed Nov 07, 2007 8:17 am Subject: rs485 link break when AC motor start |
Hi
I made a counter with serial communication capabilities.
I have used pic16f877A and transiver is 75176. i have a laptop with usb to serial converter.
i have a problem that when a nearby mot ... |
Topic: microcontroller reset due to watchdog when we read eeprom |
zafarkhan
Replies: 12
Views: 10871
|
Forum: General CCS C Discussion Posted: Fri Nov 02, 2007 2:21 am Subject: thanks for the comments and here is the complete program |
here is the complete program
#include
#device adc=8
#FUSES XT,PROTECT,NOLVP,WDT,PUT,BROWNOUT,CPD
#use delay(clock=4000000,RESTART_WDT)
#define eeprom_scl PIN_D6
#define eeprom_sda ... |
Topic: microcontroller reset due to watchdog when we read eeprom |
zafarkhan
Replies: 12
Views: 10871
|
Forum: General CCS C Discussion Posted: Thu Nov 01, 2007 6:00 am Subject: microcontroller reset due to watch dog |
i am using pic16f877a
and compiler version is 3.2 |
Topic: microcontroller reset due to watchdog when we read eeprom |
zafarkhan
Replies: 12
Views: 10871
|
Forum: General CCS C Discussion Posted: Thu Nov 01, 2007 12:02 am Subject: circuit restart due to watch dog |
yes i have used it
#use delay(clock=4000000,RESTART_WDT)
if i omit read_eeprom all things fine but when i insert read eeprom for multiple reading of data eeprom . the whole circuit restart and res ... |
Topic: microcontroller reset due to watchdog when we read eeprom |
zafarkhan
Replies: 12
Views: 10871
|
Forum: General CCS C Discussion Posted: Wed Oct 31, 2007 6:36 am Subject: initial code due to which controller reset |
#FUSES XT,PROTECT,NOLVP,WDT,PUT,BROWNOUT,CPD
set_tris_b(0X0); //
set_tris_D(0x80); //
set_tris_C(0x0); //
set_tris_A(0xFF); ... |
Topic: microcontroller reset due to watchdog when we read eeprom |
zafarkhan
Replies: 12
Views: 10871
|
Forum: General CCS C Discussion Posted: Wed Oct 31, 2007 1:52 am Subject: microcontroller reset due to watchdog when we read eeprom |
microcontroller reset due to watch dog when we read internal eeprom
using READ_EEPROM(); to read calibration data at the time of start up |
|