View Single Post
Old 01-21-2012, 01:24 AM   #45
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by rastik View Post
Hi, console showed nothing. It seems that it is intercepted by HW and when it detects Home button pressed during boot up it will not load uboot. And whatever is responsible for USB/HID download mode, it does not output anything to console.
Thinking of it that makes sense. This mode is wired in the i.MX50 chip and the chip is not aware of the console. Only apps are.
My K4NT is stuck in USB HID mode from holding the select button during reset.

Unlike your touch, my K4NT sends this out the serial port:
Code:
U-Boot 2009.08-lab126 (Sep 02 2011 - 22:45:17)

CPU:   Freescale i.MX50 family 1.1V at 800 MHz
mx50 pll1: 800MHz
mx50 pll2: 400MHz
mx50 pll3: 216MHz
ipg clock     : 50000000Hz
ipg per clock : 50000000Hz
uart clock    : 24000000Hz
ahb clock     : 100000000Hz
axi_a clock   : 400000000Hz
axi_b clock   : 200000000Hz
weim_clock    : 100000000Hz
ddr clock     : 800000000Hz
esdhc1 clock  : 80000000Hz
esdhc2 clock  : 80000000Hz
esdhc3 clock  : 80000000Hz
esdhc4 clock  : 80000000Hz
MMC:  FSL_ESDHC: 0, FSL_ESDHC: 1
Board: Unknown
Boot Reason: [POR]
Boot Device: MMC
Board Id: 1
S/N: 1
Invalid board id!  Can't determine system type for RAM init.. bailing!
DRAM:   0 kB
Using default environment
This seems rather odd -- is that normal for USB HID mode?

Using the freescale tool, I tried sending "random" code (the sb_loader.exe renamed to default filename firmware.sb, actually). Here is what I did and the results:
Code:
D:\freescale\sb_loader.v1.1-g63b47f0>sb_loader -trans
Succeeded to download  to the device.

D:\freescale\sb_loader.v1.1-g63b47f0>sb_loader -exec
Jump to RAM successfully.

D:\freescale\sb_loader.v1.1-g63b47f0>sb_loader -tss
  Failed to run plugin  to the device.
So it seems to communicate of usb hid mode. but the usb bus resets after the -exec. Not surprising because it probably crashed on random code.

What I really want to do is get out of HID mode.

P.S. I posted this here even though not touch because relevant to rastik's post quoted above.
geekmaster is offline   Reply With Quote