Setup Help

Sep 1, 2008 at 2:25 PM
Hi,

I am running the Gumstix Verdex XM4-BT with console-vx and netwifimicro-SD. I have no LCD screen because for my project it is not necessary.

And I can't connect to it!

I have flashed the Gumstix with E-Boot, set the boot loader to load from the memory card and loaded the standard nk.bin found in the BSP.
Connecting via serial, I can see the bootloader load windows CE. The boot process stops at "Visual Studio Remote Debugging Enabled" which I assume is the end of booting.

No matter what I try I can't connect to the device. I can't:
- ping the device
- browse, telnet, use cer_hostIP.exe or cer_hostAS.exe

I have tried connecting to the Gumstix through:
-Ethernet
    - Using static IP (192.168.0.1, 255.255.255.0) and (192.168.0.2, 255.255.255.0) with a router
    - Using crossover cable, striaght through cable (my computer is auto-switching), connecting through a router
    - I ran a packet sniffer to see if any activity was transmitted/recieved
        - The only information sent or recieved from the Gumstix is a UDP packet that advertises the Gumstix's name and model (which I worked out is what cer_hostIP.exe looks for when searching for devices)
    - Ping fails
    - tried cer_hostIP.exe, it finds the gumstix but never connects to it
-  Active Host
    - Gumstix recognised by my computer and installed (I have vista business 32 bit)
    - Activehost will let me browse the loaded CE image and the memory card
    - cer_hostAS.exe either never connects or chucks up an error (10004 i think - i will have to check that, forgot to write it down)
    - I found the visual studio tools to for remoting (like remote registry editor and process viewer) but I cannot connect to the gumstix with those tools either

The persistent registry is disabled and the MAC address on the gumstix has not been modified.

I have started trying to build my own CE image but this is a daunting task and really besides the point  - the default image should work...

I am sure I am missing something but I don't know what. Any help rendered would be greatly appreciated.

Thank you for your time,
    Anthony
Sep 1, 2008 at 7:25 PM
The default image assumes an IP address of 192.168.0.6 (for netMicroSD) and a default gateway of 192.168.0.1.

You should be able to Ping,Telnet, FTP or Web this address via your cross-over Ethernet connection if you have your PC side or router configured correctly.

If you have an ActiveSync USB connection you can enable persistent registry and use the remote registry tool to change the IP defaults to DHCP or what ever you wish.

Also, what do you have the hardware word set to?
Based on the enabled bits in the hardware word you should get a dump line on the debug terminal for each enabled driver as it loads.
If you see:
 ETH2_Init

The ethernet driver for the netMicroSD loaded.

DV




Sep 2, 2008 at 12:11 AM
Okay so i tried connecting again through a router.

Got a netgear WGR614v7. Router's IP 192.168.0.1. DHCP is enabled from 192.168.0.10 to 192.168.0.55.
My laptop's Ip is 192.168.0.10. The router  can "see" gumstix (in the attached devices page).

# IP Address Device Name MAC Address
1 192.168.0.6 -- 00:12:33:55:cc:aa
2 192.168.0.10 ANTHILL-LAPTOP 00:18:8b:d5:72:b6
3 192.168.0.11 ANTHILL 00:13:46:74:44:11


My laptop cannot ping or telnet the gumstix (Reply from 192.168.0.10: Destination host unreachable.).
My desktop cannot ping the gumstix.My laptop and desktop can pin each other.

As for my hardware DWORD: 0x000010C9
And the ethernet driver does start (see below).

As for using the remote registry tool - it does not seem to connect, or at least I don't know how.


Microsoft Windows CE Bootloader Common Library Version 1.4 Built Mar 12 2008 09:
16:02
Hardware or Power-on Reset
For GumstixIII Verdex Platform  1.3 Built Mar 12 2008 09:22:08
PLATFORM INFO: XM4 Verdex @416Mhz
RAM INFO:Size 67108864
FLASH INFO:Size 16646144
FLASH INFO:Bytes per blocks: 131072 Number of blocks: 127
FLASH INFO:Sectors per blocks: 256 Data bytes per sector: 512
Serial number: 3602009144080e9b
Configuring Console...Configured w/USB client.
Configuring Bluetooth...Configured.
Configuring netMicro-SD...LAN9118: Chip Id 117 Revision 2
Auto Negotiation done
LAN9117 Mac = 00-12-33-55-CC-AA
Configured w/WiFi.
XM4 platform Configured!

Press [ENTER] to launch image stored on SD/MMC or [SPACE] to cancel.

Initiating image launch in 2 seconds.

Boot Loader Configuration:

0) IP configuration:            DHCP
1) SMSC MAC address:            00-12-33-55-CC-AA
2) USB RNDIS MAC address:       00-00-00-00-00-00
3) Boot delay:                  3 seconds
4) Hardware configuration:      0x000010C9
5) Startup:                     Launch SD/MMC resident image
6) Download device:             SMSC9117 (netMicro)
7)
8) Reset default configuration
9) Edit memory
C) Clean registry boot:         NO
U) Unlock boot blocks
R) Reset
S) Store and lock configuration/boot blocks
D) Download image now
L) Launch SD/MMC resident image now

Enter your selection: l
INFO: Trying to locate/initialize MMC/SD Memory card...
INFO: Performing SD/MMC slot initialization.
INFO: Found valid FAT16 MMC/SD Memory card!
INFO: NK.BIN found.
INFO: Bin Start Address = : BCB20000
INFO: Image Address =     : 80100000
INFO: Image Size =        : 00F81D98
..................................................
..................................................
..................................................
.........
INFO: Copied BIN file from card to RAM
Start CE at 0x80107AE8
Download successful!  Jumping to image at physical 0xA0107AE8...




######################################################
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Windows CE Kernel for ARM (Thumb Enabled) Built on Jun 11 2008 at 15:31:52
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
INFO:Hardware = 0x000010c9
INFO:Auto DisplayDll = ddi_cer.dll.
INFO:Ident Name: GumstixIII
INFO:Ident Desc: GumstixIII Device
INFO:Ident BSP: GumstixIII_BIN Ver:1.3
INFO:Ident OS Design: GumstixIII_BIN_1 Ver:3 Built on Sun 07/27/2008 18:27:16.72

+I2C_Init 1
+SPI_Init 2 128Kbs
+COM_ST_Init
+COM_BT_Init
+USBFN_Init
+USBH_Init P1
+PCC_Init
+ETH2_Init
+SDHC_Init
+HCIBT_Init
INFO:Remote display 640x480x8 Refresh=50
Visual Studio debug support enabled!
Sep 2, 2008 at 1:39 AM
You got me on this one. Everything looks OK.
Driver loaded and it looks like it router recognized it.
What are you running as you host? XP Vista?
Are you using any kind of firewall?

DV
Sep 2, 2008 at 6:47 AM
My laptop has vista business 32-bit. No firewall.
Desktop vista business 64-bit. Firewall (but with exceptions for telnet, ftp and so on).

Both can ping / telnet into each other & other machines.