I have a BIGPIC4 with a PIC18F8722 and I have built an external SRAM
(Cypress 512k*8) that I have connected to PORTD,PORTE PORTH AND PORTJ in 8 bits mode as the datasheet says.
The datasheet for PIC18F8722 says that it is possible to use the external
memorybus in "Microprocessor with Boot Block Mode" where I can access the memory just as an expanded RAM.
Do anyone have some hints how I can access the memory bank. Can I use the Flash library that is in MikroPascal or any other library?
Please provide some samplecode.
External memory bus PIC18F8722 BIGPIC4
Re: External memory bus PIC18F8722 BIGPIC4
At the moment we have no examples for external memory. Sorry.
-
- Posts: 176
- Joined: 12 Aug 2007 01:33
Re: External memory bus PIC18F8722 BIGPIC4
Hello Zristic,
are there any examples for external memory now ?
Might be usefully, if I see the excessive need for RAM & ROM by VTFT.
Have a sunny weekend
Hurtz
are there any examples for external memory now ?
Might be usefully, if I see the excessive need for RAM & ROM by VTFT.
Have a sunny weekend
Hurtz
Sometimes you can't see the forest for the trees.
- slavisa.zlatanovic
- mikroElektronika team
- Posts: 1321
- Joined: 07 Apr 2009 09:39
Re: External memory bus PIC18F8722 BIGPIC4
Hi!
You have a point there. We'll consider using the external memory for that purpose.Might be usefully, if I see the excessive need for RAM & ROM by VTFT.
Best regards
Slavisa
Slavisa
-
- Posts: 68
- Joined: 17 Jan 2008 19:32
- Location: Venezuela
- Contact:
Re: External memory bus PIC18F8722 BIGPIC4
Hi Slavisa.
I'm gonna use the External Memory Bus to PIC18F97J60.
My question is: How I can configure in microC to understand that now has 2M Ram and no only
the internal RAM.
I'm configuring External Memory Bus bit in the configurations bit and compiling my program and
I follow watching in MikroC Statistic Windows that is available only 3691 RAM.
Im attaching the images for reference.
Best Regards.
I'm gonna use the External Memory Bus to PIC18F97J60.
My question is: How I can configure in microC to understand that now has 2M Ram and no only
the internal RAM.
I'm configuring External Memory Bus bit in the configurations bit and compiling my program and
I follow watching in MikroC Statistic Windows that is available only 3691 RAM.
Im attaching the images for reference.
Best Regards.
- Attachments
-
- mikroC.jpg (160.52 KiB) Viewed 4848 times
Re: External memory bus PIC18F8722 BIGPIC4
Hi,
The Statistics window will show you only the MCU memory, not the additional memory that you may have connected.
I believe this feature would be difficult to achieve in the compiler.
Regards,
Filip.
The Statistics window will show you only the MCU memory, not the additional memory that you may have connected.
I believe this feature would be difficult to achieve in the compiler.
Regards,
Filip.
-
- Posts: 68
- Joined: 17 Jan 2008 19:32
- Location: Venezuela
- Contact:
Re: External memory bus PIC18F8722 BIGPIC4
Hi Filip.
Thanks for your reply.
The thing here is how can I compile a program that use more that 4K internal RAM. (like 1M RAM for example)
This memory use is a micro feature so the access to memory (Internal and External) is not controlled by the programer. The memory RAM administration is responsabilities of the compiler.
The memory sector should be configurable, like HT-TECH or Microchip C does. It can be through a editable macro file. Of course it will be a new feature of mikroC compiler. It could be and attractive feature for professional programers.
Best Regards.
Alejandro Flamerich
Thanks for your reply.
The thing here is how can I compile a program that use more that 4K internal RAM. (like 1M RAM for example)
This memory use is a micro feature so the access to memory (Internal and External) is not controlled by the programer. The memory RAM administration is responsabilities of the compiler.
The memory sector should be configurable, like HT-TECH or Microchip C does. It can be through a editable macro file. Of course it will be a new feature of mikroC compiler. It could be and attractive feature for professional programers.
Best Regards.
Alejandro Flamerich
Re: External memory bus PIC18F8722 BIGPIC4
Hi,
Yes, I am sure that this feature will be more than useful, so I'm going to suggest it to our developers.
Thank you for your proposal and explanation.
Regards,
Filip.
Yes, I am sure that this feature will be more than useful, so I'm going to suggest it to our developers.
Thank you for your proposal and explanation.
Regards,
Filip.