I'm trying to write and read a 25LC1024 with the Firefly 16F88. I'm writing 256 bytes to the chip and then reading them back and storing them in an array.
How can I view the contents of the array (in RAM)? I've been trying to use View/File Registers, but I'm not sure if that's the right thing.
Oh boy, I'm such an idiot! Been fighting this thing for a while, watching it crash and being confused. Just now it suddenly occurs to me that I've forgotten that the RAM isn't contiguous. "It's banked, ya dummy! Aaarrgghh!"
PICs remind me of the old days programming in MSDOS, pre-flat memory model. Only PICs are much less arcane. Well, maybe a little less...
Oh! That was easy! Code was fine all along. My problem was that I neglected to pull the WP pin high. Once I added that one wire it immediately started working.
Lesson learned: RTFD - Read The Frickin Datasheet! Or at least read it more carefully than I did at first. Floating Write Protect pins are bad.