CY14B108N, first address aways contains 0000h?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

Anyone have any ideas of what I should check, regarding why my first address always contains 0000h upon power-up restore, even though the rest of the locations appear to contain what was stored using autostore. All of my SRAM writes and reads are correct it is only upon restore that the first address read is incorrect and all zeros.

   

Thanks,

   

Rad

0 Likes
1 Solution
AjayB_76
Moderator
Moderator
Moderator
100 sign-ins 10 questions asked 5 questions asked

Hi

   

We have a KB article which describes why this situation may occur.

   

http://www.cypress.com/?id=4&rID=39853.

   

 

   

If the solution of having a pull up on WE# does not work, this could be because the host controller is driving the WE# line low during bootup.

   

Details - http://www.cypress.com/?id=4&rID=57733

   

 

   

Regards

   

Ajay

View solution in original post

0 Likes
7 Replies
Anonymous
Not applicable

Does it happend when using software restore?

0 Likes
AjayB_76
Moderator
Moderator
Moderator
100 sign-ins 10 questions asked 5 questions asked

Hi

   

We have a KB article which describes why this situation may occur.

   

http://www.cypress.com/?id=4&rID=39853.

   

 

   

If the solution of having a pull up on WE# does not work, this could be because the host controller is driving the WE# line low during bootup.

   

Details - http://www.cypress.com/?id=4&rID=57733

   

 

   

Regards

   

Ajay

0 Likes
Anonymous
Not applicable

 You can always learn something new 

0 Likes
Anonymous
Not applicable

Thanks for the replys!

   

 

   

lleung, I have not attempted a software restore yet.  I will attempt this.

   

 

   

ajai, I already have a 10k pullup on the WEn line.  I will add a 10k pullup to the CEn and try again.

   

 

   

Thanks,

   

Rad

0 Likes
AjayB_76
Moderator
Moderator
Moderator
100 sign-ins 10 questions asked 5 questions asked

Hi Rad,

   

Having a pull up on CE# also may not help. Please check for the waveform on the WE# line, I suspect that the controller/FPGA which is interfaced to the memory is driving a strong low during its boot up .

   

The nvSRAM will be ready after 20ms on power on, the FPGA's and controllers typically take a longer time to boot. During this time, the I/O's of the controllers may be forced a strong low. If this happens, the pull up may not help. Is it possible to check with the controller if it can tri-state the lines/make the lines high during power up?

   

Regards,

   

Ajay

Anonymous
Not applicable

Hi,

   

 

   

I wanted to let you know that my first address was being written due to my power down sequence.  I was shutting down and grounding the inputs to the NVRAM before removing the power to the device.  This in effect was setting all inputs to '0' and causing the write cycle.

   

 

   

Thanks,

   

Rad

0 Likes
AjayB_76
Moderator
Moderator
Moderator
100 sign-ins 10 questions asked 5 questions asked

Hi Rad,

   

Yes, that can be a situation if the FPGA/microcontroller is powered down before the memory and memory sees zero on CE and WE line.

   

However, when the Vcc of the nvSRAM goes below Vswitch, all Address/data and control lines are tri-stated.

   

Regards,

   

Ajay