AnsweredAssumed Answered

Blackfin instruction bank swapping

Question asked by aprados on Dec 14, 2017
Latest reply on Feb 19, 2018 by Jithul_Janardhanan

Hi all,


The application I´m developing for my BF592 has reached the size of 32 KBytes. That is the size of the instruction SRAM of the processor. Lucky for me, I have an external 2 MBytes SPI Flash ready for use.


I´m trying to understand if it would be possible to store more application code in SPI Flash and somehow swap the pages (in real-time) to the SRAM instruction Banks. As far as I know, Blackfins have no MMU, but they do have a Memory Protection Unit. Would it be possible to implement this page swapping to be done automatically by the MPU?


Probably another option would be to use a RTOS. I found out about the VDK (kernel) but I am still not sure if the page swapping feature is available and if it would be possible to have an application bigger than 32 KBytes. Is there any other RTOS for Blackfin that allows to have applications bigger than the internal SRAM?


Thanks in advance.