External memory bus PIC18F8722 BIGPIC4

General discussion on mikroPascal.
Post Reply
Author
Message
ulfH
Posts: 4
Joined: 30 Jan 2007 21:40

External memory bus PIC18F8722 BIGPIC4

#1 Post by ulfH » 12 May 2007 11:35

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.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: External memory bus PIC18F8722 BIGPIC4

#2 Post by zristic » 14 May 2007 08:34

At the moment we have no examples for external memory. Sorry.

Hurtz Hurty
Posts: 176
Joined: 12 Aug 2007 01:33

Re: External memory bus PIC18F8722 BIGPIC4

#3 Post by Hurtz Hurty » 08 Jan 2011 23:49

Hello Zristic,
are there any examples for external memory now ? :mrgreen:
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.

User avatar
slavisa.zlatanovic
mikroElektronika team
Posts: 1321
Joined: 07 Apr 2009 09:39

Re: External memory bus PIC18F8722 BIGPIC4

#4 Post by slavisa.zlatanovic » 11 Jan 2011 11:04

Hi!
Might be usefully, if I see the excessive need for RAM & ROM by VTFT.
You have a point there. We'll consider using the external memory for that purpose.
Best regards
Slavisa

alejandroflamerich
Posts: 68
Joined: 17 Jan 2008 19:32
Location: Venezuela
Contact:

Re: External memory bus PIC18F8722 BIGPIC4

#5 Post by alejandroflamerich » 18 May 2012 20:10

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.
Attachments
mikroC.jpg
mikroC.jpg (160.52 KiB) Viewed 4827 times

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: External memory bus PIC18F8722 BIGPIC4

#6 Post by filip » 21 May 2012 13:21

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.

alejandroflamerich
Posts: 68
Joined: 17 Jan 2008 19:32
Location: Venezuela
Contact:

Re: External memory bus PIC18F8722 BIGPIC4

#7 Post by alejandroflamerich » 21 May 2012 14:42

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

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: External memory bus PIC18F8722 BIGPIC4

#8 Post by filip » 22 May 2012 08:22

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.

Post Reply

Return to “mikroPascal General”