Re: FRAM NVRAM Board
Posted: Sun Mar 13, 2016 1:04 pm
Yeah, after looking at the waveforms, CPU ROM~OE is actually ROM /CE. It is asserted for both read and writes.
I've just wired up my FRAM to a memcal. I was reading through the datasheet and it says any assertion of /WE while /CE is low will ignore /OE. Tick!
Also, every read or write access coincides with a falling edge of /CE. Tick!
And last, the FRAM like any other SRAM needs a way to ensure /CE or /WE is held high while the supply discharges on power off. Using a power monitor IC like the battery backed stuff is one solution. Instead I've fitted a /WE pull-up charge cap. This keeps /WE pulled high until VCC decays down to zero - and long after. I've power cycled the ECU and even crowbarred the 12v to trigger an unintended write but so far all good! I have also written a new map and verified via TunerPro so it all looks good.
I had to physically tie /CE to /WE when copying 12P to the FRAM initially. I'll need to update the firmware on my Memcal writer to strobe CE with WE/OE. Not sure if this is done automatically on the commercial EPROM programmers.
So there you go, it is not a direct plug in replacement and requires additional discretes to make it reliable. More testing is required before it can be confirmed 100%. If DMA transfers are possible in the CPU then this FRAM will require additional logic to strobe /CE at clk speed.
All my stuff is point-to-point wired, and as I only needed the one (maybe another as a spare) I don't plan on producing any boards. In fact, If I knew a week ago what I know now, I would have just purchased VL400's NVRAM board. It would have saved me quite a bit in parts and time. We have some of those Dallas NVRAM's in operation at work with date codes almost 20yrs old - a solid track record!
I've just wired up my FRAM to a memcal. I was reading through the datasheet and it says any assertion of /WE while /CE is low will ignore /OE. Tick!
Also, every read or write access coincides with a falling edge of /CE. Tick!
And last, the FRAM like any other SRAM needs a way to ensure /CE or /WE is held high while the supply discharges on power off. Using a power monitor IC like the battery backed stuff is one solution. Instead I've fitted a /WE pull-up charge cap. This keeps /WE pulled high until VCC decays down to zero - and long after. I've power cycled the ECU and even crowbarred the 12v to trigger an unintended write but so far all good! I have also written a new map and verified via TunerPro so it all looks good.
I had to physically tie /CE to /WE when copying 12P to the FRAM initially. I'll need to update the firmware on my Memcal writer to strobe CE with WE/OE. Not sure if this is done automatically on the commercial EPROM programmers.
So there you go, it is not a direct plug in replacement and requires additional discretes to make it reliable. More testing is required before it can be confirmed 100%. If DMA transfers are possible in the CPU then this FRAM will require additional logic to strobe /CE at clk speed.
All my stuff is point-to-point wired, and as I only needed the one (maybe another as a spare) I don't plan on producing any boards. In fact, If I knew a week ago what I know now, I would have just purchased VL400's NVRAM board. It would have saved me quite a bit in parts and time. We have some of those Dallas NVRAM's in operation at work with date codes almost 20yrs old - a solid track record!