23K256 32KB ram chip driver

Hi,
I'm trying to modify Tim Moore's N256S0830HDA SPI SRAM driver to work with 23K256 32KB ram chips. I simplified memtest.spin to only support 4 chips and to only test 8 bytes of memory. The first nibble gets missed by the driver and the last one is garbage. I hardly understand the Prop's counters and couldn't figure out how to delay the first clock pulse. I tried moving the mov ctra,ctramode on line 224 of spisram4.spin to different places and commenting nops when necessary, but I still couldn't get it to work.
Bill Henning's FlexMem is supposedly writing a driver for this, but I couldn't find it. If it was released, I would appreciate a link to it.
Thanks,
Electrodude
I'm trying to modify Tim Moore's N256S0830HDA SPI SRAM driver to work with 23K256 32KB ram chips. I simplified memtest.spin to only support 4 chips and to only test 8 bytes of memory. The first nibble gets missed by the driver and the last one is garbage. I hardly understand the Prop's counters and couldn't figure out how to delay the first clock pulse. I tried moving the mov ctra,ctramode on line 224 of spisram4.spin to different places and commenting nops when necessary, but I still couldn't get it to work.
Bill Henning's FlexMem is supposedly writing a driver for this, but I couldn't find it. If it was released, I would appreciate a link to it.
Thanks,
Electrodude
Comments
I got sidetracked with other projects
I will try to dust it off in January; I did not get the counter version running yet.
Merry Xmas,
Bill
I wrote both a single chip and an eight chip driver for the 23K256.
There not anywhere near as nice as the other drivers around but one thing they do have going for them is they're easy to understand (IMO).
I didn't use the counters at all. I doubt either the single chip or the eight chip driver would be hard to modify to use four chips.
I hesitated to reply to this thread since I know there are so many better drivers. There are also links to other 23K256 drivers in the same thread where I posted my drivers.
If you do decide to modify one of my drivers and need help understanding them, just let me know. I'll be glad to help out.
@Duane Degn: I'll try to made your 8 bit driver work with only 4 chips, but I would prefer to use counters because they're faster and I really should learn how to use them.