Home/Support/Support Forum/how can i reset my device
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

how can i reset my device

0 votes
anyone help me please when i update wce to nand after when i reboot ConnectCore Wi-i.MX53 i2c address read failed error comming. how can i resolve this problem? how can i reset my device. please help me
asked Sep 13, 2012 in Android by shiyad New to the Community (5 points)

Please log in or register to answer this question.

9 Answers

0 votes
Hello, Did you update the wince image through the command line using the #update wce tftp ?

Does the image update successfully?

After that give the command #reboot

post the serial console data, will see what could be the problem
answered Sep 17, 2012 by cpigilam Veteran of the Digi Community (655 points)
0 votes
Hi Thanks lot for ur consideration. This is my console out put when i starting u-boot

i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)

½É]¥µ¥¹5aÕͽ¹ed )ÕµÁMÑ5½É SjRjªµ ½½ÑÉÁÁå¹ÁáµU µÅ¹É¹Éµ¡ÉÁÉÁÅɵÅÉéÑÍéÑÁ¥µ ÉÑ-¥ÑÙ±½Áµ¹Ñ ½ éÉ5)5%É å)5ÿNAND: 512 MiB
MMC: FSL_ESDHC: 0, FSL_ESDHC: 1
DRAM: 512 MB
In: serial
Out: serial
Err: serial
Net: got MAC address: 00:04:f3:ff:ff:fa
FEC0 [PRIME]
Autoscript from TFTP... [not available]
User Key 1 and 2 pressed
User Key 1 pressed
User Key 2 pressed
CCWMX53 #

How can i solve this issue?
answered Sep 18, 2012 by shiyad New to the Community (5 points)
0 votes
Hi, This is not giving that much information.Can you tell me which BSP are you using , is that latest ISO image (40002748_B.iso) from Digi?

update the default wince image, that comes with the digi BSP, then reset the module using the S12 button on the development kit CCWi-i.MX53. Let me know the results.
answered Sep 18, 2012 by cpigilam Veteran of the Digi Community (655 points)
0 votes
Hi sir. I tried that method last u said but i did not get any positives
here is my output


//
WHEN STARTING BOARD
//

i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
½É]¥µ¥¹5aÕͽ¹ed
)ÕµÁMÑ5½É SjRjªµ ½½ÑÉÁÁå¹ÁáµU µÅ¹É¹Éµ¡ÉÁÉÁÅɵÅÉéÑÍéÑÁ¥µ
ÉÑ-¥ÑÙ±½Áµ¹Ñ ½
éÉ5)5%É
å)5ÿNAND: 512 MiB
MMC: FSL_ESDHC: 0, FSL_ESDHC: 1
DRAM: 512 MB
In: serial
Out: serial
Err: serial
Net: got MAC address: 00:04:f3:ff:ff:fa
FEC0 [PRIME]
Autoscript from TFTP... [not available]

User Key 1 pressed
CCWMX53 # mmc rescan 1
CCWMX53 # flpart
Nr | Name | Start | Size | Type | FS | Flags
0 | U-Boot | 0 | 1 MiB | U-Boot | | fixed
1 | NVRAM | 1 MiB | 512 KiB | NVRAM | | fixed
2 | Splash | 1536 KiB | 1 MiB | Splash-Screen | |
3 | Kernel | 2560 KiB | 40 MiB | WinCE-Kernel | |
4 | Filesys | 43520 KiB | 480768 KiB | Filesystem | ExFAT |
Commands:
a) Append partition
d) Delete partition
m) Modify partition
p) Print partition table
r) Reset partition table
q) Quit
Cmd (? for help)> r
OS Types:
n) None
l) Linux
a) Android
w) WinCE
o) NET+OS
OS (? for help)> w
Partition table reset
Nr | Name | Start | Size | Type | FS | Flags
0 | U-Boot | 0 | 1 MiB | U-Boot | | fixed
1 | NVRAM | 1 MiB | 512 KiB | NVRAM | | fixed
2 | Splash | 1536 KiB | 1 MiB | Splash-Screen | |
3 | Kernel | 2560 KiB | 40 MiB | WinCE-Kernel | |
4 | Filesys | 43520 KiB | 480768 KiB | Filesystem | ExFAT |
Cmd (? for help)> q
Partition table NOT changed!
CCWMX53 # update wce mmc 1:1 fat wce-CCWiMX53
reading wce-CCWiMX53
..................................................................................
34019400 bytes read
Calculated checksum = 0x2144df1c
Updating partition 'Kernel'
Erasing: complete
Writing: complete
Verifying: complete
Update successful
CCWMX53 #


//
THIS IS AFTER UPDATE WCE
//

i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
i2c_addr failed
i2c_addr:trigger start fail(81)
½É]¥µ¥¹5aÕͽ¹ed
)ÕµÁMÑ5½É SjRjªµ ½½ÑÉÁÁå¹ÁáµU µÅ¹É¹Éµ¡ÉÁÉÁÅɵÅÉéÑÍéÑÁ¥µ
ÉÑ-¥ÑÙ±½Áµ¹Ñ ½
éÉ5)5%É
å)5ÿNAND: 512 MiB
MMC: FSL_ESDHC: 0, FSL_ESDHC: 1
DRAM: 512 MB
In: serial
Out: serial
Err: serial
Net: got MAC address: 00:04:f3:ff:ff:fa
FEC0 [PRIME]
Autoscript from TFTP... [not available]

User Key 1 pressed
CCWMX53 #


//
THIS IS WHEN BOOT WCE FROM FLASH

CCWMX53 # dboot wce flash
Unzipping: complete
Windows CE will be booted now
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
[ARGS_Init]: boot_params=0x00000102 SwapBBI CleanBoot
[ARGS_Init]: Module info: Variant=0x2(Comercial), HwRev=2
[ARGS_Init]: Second SDRAM Bank is not contiguous!
[ARGS_Init]: bi_arch_number=0xd15 (Wireless).
[GetEthAct]: FEC0
[GetDisplay]: Found video2 configuration for LCD
[GetDisplay]: Found video configuration for LCD
Arguments area is initialized
Windows CE Kernel for ARM (Thumb Enabled)
ConnectCore Wi-i.MX53 by Digi International Inc. v3.3.7.2511 Windows Embedded CE 7.0 Built on Feb 26 2012 at 12:37:18
OEMInit: silicon rev = 0x21
[OEMInit]: Built for i.MX53 JumpStart Kit Development Board (30013722-01)
[OEMInit]: Force clean boot
[OAL]: InitWatchDogTimer
[KITL_Init]: None
SDRAM Bank0 at 0x70000000 size 128 MB (base)
SDRAM Bank0 at 0x78000000 size 128 MB (extra)
SDRAM Bank1 at 0xb0000000 size 256 MB
SDRAM total size 512 MB
OALIoCtlHalInitRTC(2006/1/1 12:0:0.000)
WARNING: SRTC was reset.
Loading NAND PDD driver, please wait...
CSPNAND_ReadID: NandDeviceID=0x9510dcec. at CS 0
[FMD_Init]: Number Of Chip Detected=1
[FMD_Init]: NoSwapArea up to 0x0
[FMD_Init]: Loading NAND Driver for device ID 0xdcec
[FMD_Init]: Blocks=4096, SectorsPerBlock=64, BytesPerSector=2048, BBIMA=464
[FMD_Init]: Filesystem Start at 42MB, Size 469MB
[ConfigOS]: MAC Address = 00-04-f3-ff-ff-fa
[ConfigOS]: Comm\FEC1\Parms\TCPIP registry path found
IP Address=192.168.42.30
Subnet Mask=255.255.255.0
[ConfigOS]: MAC Address = 00-04-f3-ff-ff-fc
[ConfigOS]: Comm\SMSC91181\Parms\TCPIP registry path found
IP Address=192.168.44.30
Subnet Mask=255.255.255.0
[ConfigOS]: MAC Address = 00-04-f3-ff-ff-fb
[ConfigOS]: Comm\CCWMXWIFI1\Parms\TCPIP registry path found
IP Address=192.168.43.30
Subnet Mask=255.255.255.0
[ConfigOS]: Configuring OS... OK.
[EIM_Init]: Loading EIM Driver... [DbgConsole_Init]: Loading DbgConsole driver... OK
[BspOnewireInit]: Loading WIR1 driver... OK
[BspECSPIInit]: Loading eCSPI1 driver... OK
[BspI2CInit]: Loading I2C3 driver... OK
[PMICI2cInit]: Shortname=CCXMX53, HwRev=2. byPmicI2CAddr=0x68
[PMIC_Init]: Loading PMIC DA9052 Driver... ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 702: GetRegister: I2CReadOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 702: GetRegister: I2CReadOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 702: GetRegister: I2CReadOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 702: GetRegister: I2CReadOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
Clear&InitMasks ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 702: GetRegister: I2CReadOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
OK
[PWR_Init]: Loading PowerControl Driver... [PWR_Init]: 3.3V_JS power supply remains unpowered while suspend
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 702: GetRegister: I2CReadOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
OK
[BspUartInit]: Uart1 used as console skip serial port configuration
[BspUartInit]: Loading COM2: driver... using RTS/CTS... OK
[BspUartInit]: Loading COM3: driver... OK
[PMICI2cInit]: Shortname=CCXMX53, HwRev=2. byPmicI2CAddr=0x68
[LED_Init]: Loading PMIC LED Driver ... FAILED. LED Driver Hw_Init failed
[RTC_Init]: Loading RTC Driver ... RTCDrv: EHM_Open: Cant open EH driver.
[ADC_Init]: Loading ADC Driver ... ADCDrv: ADC(131):EHM_Open - Cant open EH driver.
FAILED
[GIO_Init]: Loading PMIC GPIO Driver ... GPIODrv: EHM_Open: Cant open EH driver.
FAILED
[MEM_Init]: Loading Memory Access Driver... OK
[PIO_Init]: Loading GPIO driver... OK
[BSPAudioInitCodec] Loading Audio driver SGTL5000 SGTL5000WriteRegister(0x28)=0x1e failed!
FAILED
[CAN_Init]: Loading CAN1 driver ... OK
[CAN_Init]: Loading CAN2 driver ... OK
[PDDInit]: Load Accelerometer driver ... ERROR: c:\wince700\platform\common\src\soc\common_digi_mxf\accelerometer\pdd\accmain.cpp line 761: ACC_SetMode: BSPACCSetMode failed !
I2CWriteOneByte: I2CWriteOneByte -14
ERROR: c:\wince700\platform\common\src\soc\common_digi_mxf\accelerometer\pdd\accmain.cpp line 1045: ACC_SetLDTH: BSPACCSetLDTH failed !
ERROR: c:\wince700\platform\common\src\soc\common_digi_mxf\accelerometer\pdd\accmain.cpp line 1105: ACC_SetLDTH: BSPACCSetLDPOL failed !
ERROR: c:\wince700\platform\common\src\soc\common_digi_mxf\accelerometer\pdd\accmain.cpp line 930: ACC_SetDI2CWriteOneByte: I2CWriteOneByte -14
etection: BSPACCSetDetection failed !
ERROR: c:\wince700\platform\common\src\soc\common_digi_mxf\accelerometer\pdd\accmain.cpp line 901: ACC_SetDFBW: BSPACCSetDFBW failed !
OK
ERROR: c:\wince700\platform\common\src\soc\common_digi_mxf\accelerometer\pdd\accmain.cpp line 790: ACC_SetGSel: BSPACCSetGSel failed !
[InitializeHost1Mux]: Configuration USB Host 1 pin settings ... OK
[CAM_Init]: Loading Camera driver CSI1 ...OK
VBridge:: VB_INITIALIZED returns [0]
[FECInitialize]: Loading FEC driver... ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 702: GetRegister: I2CReadOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 702: GetRegister: I2CReadOneByte failed! Error:-14
ERROR: c:\wince700\platform\ccxmx53\src\drivers\pmic\da9052\pdk\pmicpdk.c line 759: SetRegister: I2CWriteOneByte failed! Error:-14
[FEC]: Reset phy through DA9052 GPIO11
FECGetPHYId: No external PHY found


do u have any ideas sir?
answered Sep 18, 2012 by shiyad New to the Community (5 points)
0 votes
Hello, can you send the environment variables. Use the commands #printenv and #printenv_dynamic .

Does your display working?
answered Sep 18, 2012 by cpigilam Veteran of the Digi Community (655 points)
0 votes
This is my environment variables

//
ENV VAR
//

CCWMX53 # printenv
bootdelay=4
baudrate=115200
loadaddr=0x70800000
silent=no
ethprime=FEC0
ethaddr=00:04:F3:FF:FF:FA
wlanaddr=00:04:F3:FF:FF:FB
eth1addr=00:04:F3:FF:FF:FC
ipaddr=192.168.42.30
ipaddr_wlan=192.168.43.30
ipaddr1=192.168.44.30
netmask=255.255.255.0
netmask_wlan=255.255.255.0
netmask1=255.255.255.0
serverip=192.168.42.1
gatewayip=0.0.0.0
dnsip=0.0.0.0
dnsip2=0.0.0.0
dhcp=off
dhcp_wlan=off
dhcp1=off
mtdids=nand0=onboard_boot
mtdparts=mtdparts=onboard_boot:0x100000(U-Boot),0x80000@0x100000(NVRAM),0x100000@0x180000(Splash),0x2800000@0x280000(Kernel),0x1d580000@0x2a80000(Filesys)
stdin=serial
stdout=serial
stderr=serial
ethact=FEC0

Environment size: 629/8188 bytes
CCWMX53 #


//
DYNAMIC ENV VAR
//

CCWMX53 # printenv_dynamic
console=console=ttymxc0,115200
androidloadaddr=0x70800000
aimg=uImage-android-ccwmx53js
ebootaddr=0x70800000
eimg=eboot-CCXMX53
ip=ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:ccwmx53js:eth0:off
loadaddr=0x70800000
loadaddr_initrd=CONFIG_INITRD_LOAD_ADDR
kimg=uImage-ccwmx53js
npath=/exports/nfsroot-ccwmx53js
linuxloadaddr=0x70800000
loadzipaddr=CONFIG_ZIP_LOAD_ADDR
loadbootsc=yes
bootscript=ccwmx53js-bootscript
mmc_rpart=/dev/mmcblk0p2
netosloadaddr=CONFIG_NETOS_LOAD_ADDR
rimg=
arimg=
rootdelay=10
smtd=
snfs=root=nfs nfsroot=${serverip}:
simg=splash.bmp
std_bootarg=
uimg=u-boot-ccwmx53js.bin
usrimg=userfs-ccwmx53js-128.jffs2
video=displayfb:LCD@LQ070Y3DG3B
video2=displayfb:LCD@LQ070Y3DG3B
wceloadaddr=0x74000000
wimg=wce-CCXMX53
wzimg=wcez-CCXMX53
CCWMX53 #
answered Sep 18, 2012 by shiyad New to the Community (5 points)
0 votes
Sir. my display not working. my device led's also not working but only working power led.
answered Sep 18, 2012 by shiyad New to the Community (5 points)
0 votes
Hi , Everything seems to be fine. I suspect that , the module not connected properly on the kit, can you remove and connect once again and reset the board and connect the LCD display properly.

There is PMIC driver failed to load , because of that some of other drivers also failed.
answered Sep 18, 2012 by cpigilam Veteran of the Digi Community (655 points)
0 votes
Hi, I forgot to ask you one thing. Which U-Boot version are you using?
answered Sep 18, 2012 by cpigilam Veteran of the Digi Community (655 points)
...