Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

MikroC Pro PIC18f46k80 Flash

Status
Not open for further replies.

desgin

Full Member level 1
Joined
Apr 7, 2017
Messages
96
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Activity points
813
Hello All,

I want to store the Excel File pointer in Flash Memory.
I am using PIC18f46k80 in Mikro C pro.
I want to just store two datas - Two pointer value
1st pointer for Write and 2nd Pointer for Read
(I mean - From Excel i am reading after 1 Hour some data which ever written in 1 Hour)
So, i need two pointer value after Power goes off and again come back!!

Please help me

- - - Updated - - -

Excel File is generated in memory card.
The data storing in Memory card is Temperature data
 

Hi,

I'm not familiar with the Excel file format.
But isn't this overkill?

Isn't a ASCII .txt or .csv file more suitable?

*****
And: Why FLASH? --> I'd use EEPROM

Klaus
 
  • Like
Reactions: desgin

    desgin

    Points: 2
    Helpful Answer Positive Rating
Hi,

I'm not familiar with the Excel file format.
But isn't this overkill?

Isn't a ASCII .txt or .csv file more suitable?

*****
And: Why FLASH? --> I'd use EEPROM

Klaus

ya Thanks for reply.
ya i am generating .csv File in Memory card.
EEPROM is better ?

Can you send me details how to do in MikroC Pro with EEPROm ? Using PIC18F46K80
 

Hi,

you urgently need to read the PIC datasheet.

MicroC provides libraries for acessing the EEPROM. Again: Read documentation.

Additionally there are many discussions here in this forum as well as in the internet.
Please do a search on your own. Read through some documents and then - if there still are doubts - you are welcome to ask it here... with references to the according documents.

Klaus
 
  • Like
Reactions: desgin

    desgin

    Points: 2
    Helpful Answer Positive Rating
Look at Table 31-1 of the data sheet as it will tell you the minimum number of erase/write cycles that the EEPROM (parameter D124) and the FLASH (parameter D130) have - there is a 100:1 difference!
It really comes down to how often you want to refresh a cell - once every few days or weeks is a very different proposition to several times a second. Only you really understand the "use case" for your app.
Susan
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top