2015-05-10 01:48 PM
2015-05-11 12:48 AM
Bit changes often appears when refresh is not done frequently enough. Remake the math, or simply test with arbitrary faster value.
Just make sure that bits other than D13 and D14 are concerned (wait more time), otherwise we cannot exclude a wiring issue.2015-05-11 11:59 AM
datasheet says ''Refresh Interval Time - max 15.6 '' so :
//15.6us*84MHz=1311 when i use 100 FMC_Bank5_6->SDRTR=100<<1;this didnt gave any result.when i put even FMC_Bank5_6->SDRTR=10000<<1;thats didnt gave any result.''Just make sure that bits other than D13 and D14 are concerned (wait more time),'' could you explain me this part, and how to check it ?2015-05-11 12:32 PM
[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/SDRAM%20STM32F429%20refresh%20problem&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx¤tviews=388]See also
Quantify if, and for how long, the bits hold their correct states? ie measure time to observed failure. If time is zero, consider if it's even wired/soldered correctly.2015-05-12 12:33 AM
I mean that in the case you have a problem with refresh, then observing data in SDRAM will lead to bit corruption evenly in any 16-bit word.
After some delay: d0003d4 fe117206 After a longer delay: d0003d4 fee5fafe After a more longer delay: d0003d4 ffffffff Depending the DRAM technology, some pages tends to fill with 1's others with 0's Your example only showed bits D13/14 to be corrupted. Given that DRAM expect tight timings, wiring issues are not excluded (unbalanced capacitive load, long wires, bad grounding, etc...). Normally SDRAM are easy to wire (compared to DDRs), so I assume that the wiring issue should be (more or less) trivial to find. Carefully check pin sharing, pull-up/down, etc ...2015-05-12 04:36 AM
after first change of value it looks like:
Adress value------2002ffe4 ccccccccd0000000 ecccecccand after couple minutes2002ffe4 ccccccccd0000000 fcccfcccwhen i connected the D13 or D14 pins to the 0 or 1 i saw just additional change in two place ( fccXfccX ) and the X changed for example in that way: 00 11 22 33 40 51 62 73 88 99 aa bb c8 d9 ea fbso maybe that is not a problem with D13 or D14 pins ?2015-05-13 11:53 PM
anyone have some suggestions ?