ΣSigmaStudio Ask AI Русский Log in

looking for Cypress S25FL064 spi flash driver for Blackfin

Processors & DSP Robert_Wolfe May 20, 2019 00:00 5 replies Original on forum ↗
Subscribe
Robert_Wolfe Question
May 20, 2019 00:00

Hello,

Blackfin/CCES comes with a driver for the Micron M25P16 spi flash, which is no longer available. I'm using the Cypress S25F064 part instead. Is there any known driver for this alternative spi flash part?

Regards,

Robert

LalithaS Reply
May 22, 2019 00:00

Hi Robert,

Unfortunately, we only provide flash drivers for our EZ-Kit boards and we don't have a driver for the specific flash part you are working with. As this is the case, we would recommend you to use one of our current drivers as a base for creating a driver which will be compatible with your flash part. We also provide the necessary documentation for the Flash Programmer API, which describes the commands that the Flash Programmer Drivers requires to perform the Flash accesses.

Following the API, it is relatively simple to port an existing Flash Programmer Driver to match your specific flash part. This documentation is available at CCES help > CrossCore&reg; Embedded Studio <version>> Integrated Development Environment > Working with Bootable and Non-bootable Files > Device Programmer > Custom Device Drivers

We are aware of many customers who have successfully modified our flash drivers to suit different flash parts.

Regards,
Lalitha.S

youngpku Reply
May 23, 2019 00:00

Hi,

Is there a way to emulate/debug the flash program, instead of the command line?

Thanks,

Guang

LalithaS Reply
May 24, 2019 00:00

Hi Guang,

Which processor are you using ?

Regarding,"Is there a way to emulate/debug the flash program, instead of the command line?"

>> Please find the link for your reference.
https://ez.analog.com/dsp/sharc-processors/f/q-a/60640/how-to-verify-spi-flash-using-ice/199118#199118

Regards,
Lalitha.S

youngpku Reply
May 24, 2019 00:00

I am using BF518.

Thanks,

Guang

LalithaS Reply
May 30, 2019 00:00

Hi Robert,

In case if you are using VisualDSP+, please enable the "verify while programming" option in the device programmer and after completing the flash you can use select compare option. For enabling this option please refer the below path in, VisualDSP++-->Tools--->Flash programmer---->Flash--->programming--->verify while programming(enable)

Please refer the below "FAQ:How to debug a target board which boots from Flash?" link for verifying the SPI flash data while booting.
https://ez.analog.com/docs/DOC-1471

In case if you are using CCES, in the CLDP you can add the "-cmd compare " command option. Please refer the below "FAQ: How to debug a target board which boots from Flash using CrossCore Embedded Studio" link for verifying the SPI flash data while booting.
https://ez.analog.com/docs/DOC-2112

Please use the below links for more information about debugging and booting process of SHARC.
http://www.analog.com/media/en/technical-documentation/application-notes/EE-305.pdf
https://ez.analog.com/docs/DOC-1005

Is this above information works for you ?

Please let me know if you have any issue on this case.

Regards,

Lalitha.S