who can give me a sample code of ddr3?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

who can give me a sample code of ddr3?

2,364 Views
赵国海
Contributor II

who can give me a sample code of ddr3?thanks.

My pcb demo is designed base on TWR-VF65GS10 Rev.H,the pcb placement and route is same as TWR-VF65GS10 Rev.H .the DDR3

chip is same as TWR-VF65GS10 Rev.H too.I use MQX 4.1,DDR3 works fails sometimes.I download the code to DDR3,CPU works OK sometimes,but fails usually.

14 Replies

1,743 Views
bart_butler
NXP Employee
NXP Employee

The Rev H Tower board has not been released at this time.

Since your design is based on the pre-release information, you must have worked with a FAE to obtain the design files.

Thus you need to work through the FAE for these support questions.

As we are working to validate the board at this time, the information may not be available.

Upon the internal validation, we will send boards to TimeSys for their system level validations also.

The DDR settings are generated by our internal apps team and provided to TimeSys.

We are targeting to complete the internal validation by May 2.

I am hopeful we can provide you information very quickly.

0 Kudos
Reply

1,743 Views
赵国海
Contributor II

Can you provide me the code that you internal validation?I want to try it in my PCB.

My email is zhaogh@sciyon.com .

Thanks!

0 Kudos
Reply

1,743 Views
bart_butler
NXP Employee
NXP Employee

Possibly by the end of the week, or as soon as I can confirm the board and code are functional.

We do not want to create additional support issues.

1,743 Views
赵国海
Contributor II

I change the value of the DDR_CR154 register  0x682C0000 instead of 0x68200000. it can  works every time,but  just lasts a period ,fails soon.

0 Kudos
Reply

1,743 Views
naoumgitnik
Senior Contributor V

Hello,

Please, be patient -  we are planning to have the final settings later this week.

The reason we are a bit reluctant to post our preliminary results on the Community is to not confuse the other customers.

Sincerely, Naoum Gitnik.

0 Kudos
Reply

1,743 Views
赵国海
Contributor II

DDR memory access error occurs only when the power-up or reset, once an error occurs, the error continues to occur. Once correct, access is always right (test 12 hours).

Probability of success is 70% on power-up or reset.

Error very regular,Error is very regular, the second byte is always 0xff. my test code is as follows.

ddr.bmp

Results is as follows

DDR2.bmp

0 Kudos
Reply

1,743 Views
赵国海
Contributor II

if I read it again in “printf”,the result is read correctly in second time. so I think DQS-read parameters unreasonable.

DDR3.bmp

0 Kudos
Reply

1,743 Views
karina_valencia
NXP Apps Support
NXP Apps Support

naoumgitnik can you continue with the follow up?

0 Kudos
Reply

1,743 Views
naoumgitnik
Senior Contributor V

Hello Karina,

This thread may be closed - it has been taken care of via the FAEs.

Regards, Naoum Gitnik.

1,743 Views
赵国海
Contributor II

OK,thank you.

Is it  available now? If available ,please send me just for test.zhaogh@sciyon.com .


0 Kudos
Reply

1,743 Views
ruizhengxin
Contributor II

Is any DDR calibration tool  available for Vybrid?

0 Kudos
Reply

1,743 Views
bart_butler
NXP Employee
NXP Employee

We are working on a DDR calibration tool within the Processor Expert tool.

I believe it is still at Beta testing level.

0 Kudos
Reply

1,743 Views
timesyssupport
Senior Contributor II

Hello,

We do not have any MQX sample code for DDR3 beyond what is already included in MQX. We would require your hardware to properly diagnose this issue.

Thanks,

Timesys Support

1,743 Views
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport can you attend this case?

0 Kudos
Reply