foss-for-synopsys-dwc-arc-processors / embarc_osp

embARC Open Software Platform (OSP) - An embedded software distribution for IoT and other embedded applications for ARC
https://www.embarc.org/
BSD 3-Clause "New" or "Revised" License
70 stars 62 forks source link

Request for an example available in embARC that demonstrates use of the quad SPI flash on EMSDP #166

Open benhaim1 opened 2 years ago

benhaim1 commented 2 years ago

Issue Summary

Request for an example available in embARC that demonstrates use of the quad SPI flash on EMSDP

Hi,

This is a request for an example available in embARC that demonstrates use of the quad SPI flash on EMSDP. The EMSDP is equipped with 16MB of SPI flash memory (supporting Quad mode and eXecute In Place). However this SPI flash cannot be accessed externally.

The registers field for the image location records the position of the boards boot switches, such that it can be interpreted by software. The availability of each of the settings is depending on the implementation of the boot loader. Current example implements the image loading from the PSRAM memory.

We would like to add an additional step to copy the image from flash memory to an executable memory location, rather than using the PSRAM immediately, the bootloader would need to be updated to support the SPI flash device. Furthermore, it would require a flash application to be executed on the core to initialize the flash memory with the executable image prior to execution.

Unfortunately there is not yet an example available in embARC OSP that demonstrates the use of the quad SPI flash on EMSDP. Since there are more customers who are interested in using the SPI flash, it would be good if the embARC team could provide such example.

Thank you, Guy

YuguoWH commented 2 years ago

Thank you for your advice!