Shop OBEX P1 Docs P2 Docs Learn Events
New cache driver for SST SPI flash chips — Parallax Forums

New cache driver for SST SPI flash chips

David BetzDavid Betz Posts: 14,516
edited 2012-09-30 20:57 in Propeller 1
I just pushed a modification to the generic spi_flash_cache driver to make it work with SST SPI flash chips like the SST25VF080B (8Mb) and the SST25VF032B (32Mb) chips. My immediate motivation was to get external memory working on Rayman's excellent Propeller Keychain System (PKS). I've attached the configuration file for the PKS as well as the required driver. These changes will also be in the next Propeller C release.

Comments

  • RaymanRayman Posts: 14,670
    edited 2012-09-27 07:06
    Excellent! I just happen to be working on a new batch of PKS at this very moment... Look forward to trying this out (if I can figure out how to use it).
  • David BetzDavid Betz Posts: 14,516
    edited 2012-09-27 07:44
    Rayman wrote: »
    Excellent! I just happen to be working on a new batch of PKS at this very moment... Look forward to trying this out (if I can figure out how to use it).
    It's pretty easy to use if you download jazzed's SimpleIDE installer. The main problem will be that the PKS driver is not yet included in the distribution so you'll have to use the files I posted earlier. Just put the pks.cfg and sst_spi_flash_cache.spin driver in c:\propgcc\propeller-load under Windows or /opt/parallax/propeller-load under Linux (at least I think that is where SimpleIDE puts stuff under Linux).

    You can also use Propeller C with your SuperQuad board by using the sst_sqi_flash_cache driver and by making a copy of the sst.cfg file and changing the pin numbers to match where you installed your SuperQuad board. I still have to write a driver for your RamPage board. I'll attach the driver and the sample configuration file to this message.

    After installing the driver and your modified configuration file you should be able to select your configuration from the menu in SimpleIDE.

    Feel free to ask questions if you have trouble figuring this out!
  • Bill HenningBill Henning Posts: 6,445
    edited 2012-09-30 20:57
    Nice work David; I happen to have some W25Q080's kicking around...
    David Betz wrote: »
    It's pretty easy to use if you download jazzed's SimpleIDE installer. The main problem will be that the PKS driver is not yet included in the distribution so you'll have to use the files I posted earlier. Just put the pks.cfg and sst_spi_flash_cache.spin driver in c:\propgcc\propeller-load under Windows or /opt/parallax/propeller-load under Linux (at least I think that is where SimpleIDE puts stuff under Linux).

    You can also use Propeller C with your SuperQuad board by using the sst_sqi_flash_cache driver and by making a copy of the sst.cfg file and changing the pin numbers to match where you installed your SuperQuad board. I still have to write a driver for your RamPage board. I'll attach the driver and the sample configuration file to this message.

    After installing the driver and your modified configuration file you should be able to select your configuration from the menu in SimpleIDE.

    Feel free to ask questions if you have trouble figuring this out!
Sign In or Register to comment.