what to do when i.mx6q USB OTG device is not detected in "serial download" mode?

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

what to do when i.mx6q USB OTG device is not detected in "serial download" mode?

3,536 Views
patrickdietrich
Contributor I

I have a new i.MX6Q design (based on Nitrogen6X), that I am doing the inital bring-up on.

Power rails check out, POR is good, clocks are good.

When I set the boot mode pins to enable the serial download mode, I can't see my USB device under windows (as HID) or linux (as Freescale Recovery Mode).

Any ideas on why the USB OTG port would not be showing up?

thanks!

Labels (1)
Tags (3)
0 Kudos
8 Replies

1,764 Views
Yuri
NXP Employee
NXP Employee

Looks like the system does not start, so please check Your design

HW Design Checking List for i.MX6DQSDL

Also, please refer to Chapter 8 (Avoiding Board Bring-up Problems)

of "Hardware Development Guide for i.MX 6 ..."

http://cache.freescale.com/files/32bit/doc/app_note/AN4397.pdf 

Have a great day,
Yuri

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

1,764 Views
patrickdietrich
Contributor I

Thanks Yuri.

I've been following the Hardware Design Guide already, I will try the excel checklist you sent and see how I make out.

Have you ever seen the USB OTG not come up for any particular reasons?

Thanks,

Patrick

0 Kudos

1,764 Views
Yuri
NXP Employee
NXP Employee

  If boot ROM starts, USB OTG should be working (assuming hardware is OK).
Just for asurance, please try to connect i.MX6 OTG to PC via self-powered USB2 hub.
  Another option - i.MX6 can enter SD / MMC Manufacture mode before serial boot one. 

Re: i.MX6DL boot strange result: boot mode connect Serial downloader mode (USB OTG), SD connect and ...

Re: i.MX6 solo: problem forcing it into USB serial downloader mode

Note, i.MX6Q does not support SD / MMC  Manufacture mode.

~Yuri.

0 Kudos

1,764 Views
patrickdietrich
Contributor I

Yuri! I'm baaaack....

OK so here is what's happened so far, things are going very well!!!

- I'm able to know say that my hardware is OK and the i.MX6Q seems to be functioning properly

- I still am NOT able to boot from SPI_NOR, SD card or USB OTG via recovery mode, HOWEVER this is how I can jump start things:

--->  I power on my device, load up DS-5 and my DSTREAM

---> start up DDR3 initialization script

---> copy a u-boot.bin image into DDR3 memory, then run u-boot

--->  then I cant test all the features of my board no problem.

BUT what I still can't figure out is what I can't get my board to boot up into any modes from cold power up (IE not JTAG jump starting it)????

It's as if the i.MX6Q is ignoring my BOOT_MODE and BOOT_CONFIGX pins???

Any thoughts on this??  See my attached schematic sheets for this section of my design.

0 Kudos

1,764 Views
patrickdietrich
Contributor I

OK I've even gone a step further and have been able to verify that the  BMOD[1:0] field of the SRC Boot Mode Register (SRC_SBMR2) are being properly toggled via my DIP Switches.  So the boot mode IS being set!  But still not boot to USB OTG or others, I still have to kickoff things by loading my uboot into memory and then moving the program counter to start things up.

any help from anyone would be appreciated.

thanks!

0 Kudos

1,764 Views
Yuri
NXP Employee
NXP Employee

Your schematic regarding the boot pins looks OK.

You wrote about SRC_SBMR2 ; what are values for other bit fields of this register ?

~Yuri

0 Kudos

1,764 Views
patrickdietrich
Contributor I

OK here are the readings from some of the notable SRC registers.  Any ideas from this?

addrregisterBOOT_MODE=00BOOT_MODE=01BOOT_MODE=10BOOT_MODE=11
0x20D8008SRC_SRSR0x000000010x000000010x000000010x00000001
0x20D8004SRC_SBMR10x000000000x180030300x180030300x18003030
0x20D801CSRC_SBMR20x200000010x210000010x220000010x23000001
0 Kudos

1,764 Views
Yuri
NXP Employee
NXP Employee

   Is it possible to prolong POR ?

~Yuri.

0 Kudos