imx rt1064 custom board is not working

cancel
Showing results for 
Search instead for 
Did you mean: 

imx rt1064 custom board is not working

410 Views
vasudhevan
Contributor V

Hi,

    Our new custom board is not working.

    We have checked all the power source everything proper.

    Our design we followed all the nxp recommendation and we have submitted our design to nxp team(through distributor) then we stated manufacture our custom hardware.

 Debug Information:

     1) We have checked all the mcu source voltage and dcdc output everything proper.

     2) We have connected usb cable to usb otg1 and opened mfg tool but device is not deducting.

     3) We have connected jtag with mcu express but there also failed to deduct.

     4) Debug uart we have connected ttl converter sdphost.exe -p COM17 -- error-status but there also failed to deduct.

     Any other way is there we can debug imxrt1064 ?

     Please help us to figure out the issue.

 

Thanks & Regards,

       Vasu

     

Labels (1)
Tags (1)
0 Kudos
5 Replies

391 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
According to the description of the testing result, it seems that you fail to contact the i.MX RT1064 when it enters the Serial Downloader mode, in addition, the MCUXpresso fails to detect the MCU too.
So in my experience, I guess the issue is related to hardware, for example, boot mode pin settings, power supply, crystal oscillator, etc.
It's recommended to use some instruments to check the board's hardware carefully, for instance, use the oscilloscope to visualize the process that sdphost.exe tries to contact the i.MX RT1064.
Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

377 Views
vasudhevan
Contributor V

Hi @jeremyzhou,

     Thanks for your reply.

     Finally we found the issue in mcu reset section.

     We are facing issue with sdram.

     SDRAM interface we have used evk board circuit all the pins and sdram chip IS42S16160J are same.

     But unable to boot from sdram and semc example code also not working properly.

     1) If we do step by step debug SDRAM 32,16,8 bit read and write operation is failed.

    

 SEMC SDRAM Example Start!

 SEMC SDRAM Memory 32 bit Write Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM Read 32 bit Data Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM 32 bit Data Write and Read Compare Start!

 SEMC SDRAM 32 bit Data Write and Read Compare Failed!

 SEMC SDRAM Memory 16 bit Write Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM Read 16 bit Data Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM 16 bit Data Write and Read Compare Start!

 SEMC SDRAM 16 bit Data Write and Read Compare Failed!

 SEMC SDRAM Memory 8 bit Write Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM Read 8 bit Data Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM 8 bit Data Write and Read Compare Start!

 SEMC SDRAM 8 bit Data Write and Read Compare Failed!

 SEMC SDRAM Example End.

  2) If we remove break point from all the place 16 and 8 bit showing read and write operation is sucess.

 SEMC SDRAM Example Start!

 SEMC SDRAM Memory 32 bit Write Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM Read 32 bit Data Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM 32 bit Data Write and Read Compare Start!

 SEMC SDRAM 32 bit Data Write and Read Compare Failed!

 SEMC SDRAM Memory 16 bit Write Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM Read 16 bit Data Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM 16 bit Data Write and Read Compare Start!

 SEMC SDRAM 16 bit Data Write and Read Compare Succeed!

 SEMC SDRAM Memory 8 bit Write Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM Read 8 bit Data Start, Start Address 0x80000000, Data Length 4096 !

 SEMC SDRAM 8 bit Data Write and Read Compare Start!

 SEMC SDRAM 8 bit Data Write and Read Compare Succeed!

 SEMC SDRAM Example End.

 

Why sdram step by step is not working and without break point is only 16 & 8 bit operation working ?

We are unable to boot from sdram(emwin examples) it showing program outside and hard fault error

How to solve sdram issue ?

 

Thanks & Regards,

      Vasu

     

    

0 Kudos

369 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi,
Thanks for your reply.
1) Why SDRAM step by step is not working and without breakpoint is only 16 & 8-bit operation working?
-- According to the description of the testing result, I guess the issue is related to the PCB trace of the SDRAM, as the width and length of the PCB trace will vary the time parameters, especially when the SDRAM is working with high clock frequency.
So I'd like to suggest you slow down the clock frequency, then give a try again. In addition, you can use the oscilloscope to monitor these signals to check my guess.
Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

354 Views
vasudhevan
Contributor V

Hi @jeremyzhou,

      Thanks for your reply,

      How to properly slow down the clock frequency in semc example code ?

 

Thanks & Regards,

         Vasu

0 Kudos

349 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi,
Thanks for your reply.
1) How to properly slow down the clock frequency in semc example code?
-- Regarding IS42S16160J-6BLI, it can work with 100 MHz when CAS latency is 2.

jeremyzhou_0-1605592603011.png

In the evkmimxrt1064_semc demo, it configures this SDRAM work at 163 MHz, to slow down the clock frequency, it needs to reconfigure the SEMC clock, in addition, adjust the time parameter by referring to the IS42S16160J's datasheet.
Hope it helps.
Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos