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!
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!
-----------------------------------------------------------------------------------------------------------------------
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
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.MX6 solo: problem forcing it into USB serial downloader mode
Note, i.MX6Q does not support SD / MMC Manufacture mode.
~Yuri.
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.
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!
Your schematic regarding the boot pins looks OK.
You wrote about SRC_SBMR2 ; what are values for other bit fields of this register ?
~Yuri
OK here are the readings from some of the notable SRC registers. Any ideas from this?
addr | register | BOOT_MODE=00 | BOOT_MODE=01 | BOOT_MODE=10 | BOOT_MODE=11 |
0x20D8008 | SRC_SRSR | 0x00000001 | 0x00000001 | 0x00000001 | 0x00000001 |
0x20D8004 | SRC_SBMR1 | 0x00000000 | 0x18003030 | 0x18003030 | 0x18003030 |
0x20D801C | SRC_SBMR2 | 0x20000001 | 0x21000001 | 0x22000001 | 0x23000001 |
Is it possible to prolong POR ?
~Yuri.