vino182k6
Joined: 27 Jun 2012 Posts: 6
|
PIC24F EEProm Read Write |
Posted: Thu Aug 16, 2012 2:22 am |
|
|
Hi all
I am working on PIC24F MCU for the last few weeks.
CCS C Compiler Version: 4.130
MCU : PIC24F32KA304
Code: |
#include <24F32KA304.h>
#device ICD=TRUE
#FUSES WPOSTS1 //Watch Dog Timer PostScalar 1:1
#FUSES FRC //Internal Fast RC Oscillator
#FUSES NOIESO //Internal External Switch Over mode disabled
#FUSES NOCKSFSM //Clock Switching is disabled, fail Safe clock monitor is disabled
#FUSES NOWINDIS //Watch Dog Timer in Window mode
#FUSES WDT_NOSL //Watch Dog Timer, disabled during SLEEP
#FUSES NOBROWNOUT //No brownout reset
#FUSES NOPUT //No Power Up Timer
#FUSES DEBUG //Debug mode for use with ICD
#FUSES ICSP3 //ICD uses PGC3/PGD3 pins
#FUSES NODSBOR //BOR disabled in Deep Sleep
#FUSES NODSWDT //Deep Sleep Watchdog Timer disabled
#use delay(clock=8000000)
|
I can't get any sample code in CCS C for DATA EEPROM reading through PSV.
Can anyone can help me to figure out the sequence for reading EEprom through PSV.
Thanks in advance.
Vinoth |
|