SPIMemory library - Formerly SPIFlash - now supports SPI FRAM as well! :)

I'm scratching my head on how to use SPIFlash and some sort of Serial function at the same time. I'd like to dump the contents of my flash chip via Serial (FTDI).

I've tried with both SoftwareSerial (on a different pin) and Serial on an ATTINY841. Behaviour is as follows

  • Loop with a .println("Hello"); outputs serial data.
  • As soon as I add flash.begin(); in setup(), no serial data is ever sent.

I've spent a few hours trying to search for various things, including using SPI and Serial at the same time... which led me to trying SoftwareSerial, but that has no effect. I'm trying various things now... trying to end the serial before using SPIFlash, then using powerDown() after... but that seems to have no effect.

Thanks!