picprojects.net Forum

picprojects.net Forum
It is currently Sun Jul 23, 2017 8:33 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: PIC32 MCU Failed to Read FLASH Data
PostPosted: Fri Jun 30, 2017 7:16 am 
Offline

Joined: Tue Apr 11, 2017 7:10 am
Posts: 2
Hello~ :)
Thanks for taking time to read my post,please give me some help in the program,I’[ll be apprecited.
I want to use the PIC32MX795F512L’s( the datasheet of PIC32MX795F512L is given here ) FLASH inside to save data when EEPROM power down. However, the datasheet just explain how to write data but no read.The program always met troubles when using the following program to read.
unsigned int PICFLASH_ReadWord(unsigned int faddr)

Code:
{
       return *(unsigned int*)faddr;//
}


How to solve it ?
Thanks in advance!


Top
 Profile  
 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group