electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

HOW I EXTEND THE MEMORY OF THE PIC IF CODE IS LARGE


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> HOW I EXTEND THE MEMORY OF THE PIC IF CODE IS LARGE
Author Message
Fragrance



Joined: 26 Jul 2002
Posts: 1385
Helped: 24


Post18 Jun 2003 15:00   

HOW I EXTEND THE MEMORY OF THE PIC IF CODE IS LARGE


HI FRIENDS

I need your help regarding this post i am using a pic16f877 my application
required a complex code so memory is problem how i extend the memory of the chip
because i want to use only this chip in my design

regards
Fragrance
Back to top
C-Man



Joined: 19 Jul 2001
Posts: 1235
Helped: 73


Post18 Jun 2003 15:12   


I am afraid you can not extend the code memory of a PIC 16F877.

You could for example if you have lots of strings in your program put these strings in an external eeprom which can be acessed via I2C or SPI bus. You would have to get the string whenever it is required from external EEPROM. I have no idea if your application allows this.

Another method (which I use often) is to use a PIC 18F452 (which has twice the code capacity) instead of the 16F877 it is pin compatible and if your software is written in C all you have to do is to recompile with a compiler for the PIC 18 series.

hope this helps
Back to top
Google
AdSense
Google Adsense




Post18 Jun 2003 15:12   

Ads




Back to top
carrotts



Joined: 31 Jan 2002
Posts: 40


Post18 Jun 2003 15:45   


Fragrance

The 18f PICs are comparable on price, and much more powerful. If you are using PIC basic, you need to change a few settings at the start, and you're away. Got a listing using an 18f somewhere, will dig the setting changes out if you need them.

Regards

Carrotts
Back to top
nebisman



Joined: 13 Apr 2002
Posts: 291
Helped: 1


Post18 Jun 2003 17:20   


I undesrtood that 18F series allows external memory like intel MCU, the datasheet tell about 2MB linear code adressing. How is this?
Back to top
btbass



Joined: 20 Jul 2001
Posts: 1187
Helped: 113
Location: Oberon


Post18 Jun 2003 19:09   


One possible way, (untried), would be to use an external i2c eeprom, available up to 64K from microchip, the pic16f877 can program its own code space, so you could use a pageing system, load in code blocks as they are needed, program them, then run them. Might work if speed is not a problem?
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> HOW I EXTEND THE MEMORY OF THE PIC IF CODE IS LARGE
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to find the Memory leak in VC++ Code (4)
how to extend the range of this circuit to 1km...mc2833??? (5)
How can I sent data kept into the eeprom memory of pic 16f87 (1)
How can I sent data kept into the eeprom memory of pic 16f87 (1)
how to extend avr or atmega memory using mobile memry card (2)
How To Complie the C-Code For PIC Using MPLAB (8)
How to change the size of the video shared RAM memory? (4)
How to get the gate count excluding the memory in synthesis (2)
How does the bit maintain in the flash memory in power off? (1)
Extend the power (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS