Execute from External Flash Memory

Discussion on projects that are created by users and posted on mikroElektronika website.
Post Reply
Author
Message
nikhilvv07
Posts: 38
Joined: 08 Sep 2016 14:17

Execute from External Flash Memory

#1 Post by nikhilvv07 » 13 May 2021 12:08

hi,
In one of my project need update code which leads running outof space (program Memory) where data memory is available.
In this project am already using One External Flash Memory (SST25VF016B, SPI) for storing Image.
SO i like to add code, not full code, in external memory and run from it.

Am able to access image from flash using TFT libarary. Now want to store code and run from it.

How to do ? is it possible to store some functions in external and run from it or can i store only variables?

Controller : dsPIC33fj128GP708

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

Re: Execute from External Flash Memory

#2 Post by filip » 20 May 2021 08:24

Hi,

Currently this is not possible as the compiler assumes that internal Flash memory is the default one.

Regards,
Filip.

nikhilvv07
Posts: 38
Joined: 08 Sep 2016 14:17

Re: Execute from External Flash Memory

#3 Post by nikhilvv07 » 24 May 2021 09:22

Thank you for your reply filip.

Is there any library to Interface with SST25VF016B flash Memory for read Write access ?

Regards,
Nikhil

Post Reply

Return to “User Projects”