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.

Setting Memory Bank to a specific number

Status
Not open for further replies.

ma10adi

Newbie level 3
Newbie level 3
Joined
Jun 23, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
36
Hi, I am working on a project on MikroC and i have couple of questions that i hope i can get an answer for..
First i am supposed to set number of memory banks to 8 on #define and i should be able to save a logging session of a data logger to a memory bank of the user choice from the 8...

But i can't figure how to set the number of memory banks to 8 and how to write that logging session one of them..

I would appreciate it if i can get some help on that..thanks
 

I suggest reading of part datasheet, for your uC PIC16F877 datasheet is located here https://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010241

Also you can see answers in your similar thread located here:
https://www.edaboard.com/threads/291899/


PIC16F877 have only 256 bytes of EEPROM, and there is no 8x 256 bytes in PIC16F877 EEPROM.

If there is possibility migrate to PIC18F family (PIC18F45K22-PIC18F46K22). You will get more resources, spaces, increased speed, and more possibility for projects. For example PIC18F46K22 have 1KB of internal EEPROM, 64K for flash, 3,8KB of RAM and cost around 2USD.

If you need more memory space consider usage I²C protocol and some cheap external EEPROM IC. For example 24C64 have 8KBytes, 24C256 have 32KBytes,....


Best regards,
Peter
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top