Editing the Autoexec.bat File for an x86 SDB (Windows CE 5.0)
Because you can use either an ISA-based or a PCI-based Ethernet card in a CEPC, you must verify that Autoexec.bat on the boot floppy disk is set up correctly for the debug Ethernet card you have chosen.
The following table shows how the Ethernet boot loader uses the NET_IRQ and NET_IOBASE values in the Autoexec.bat file.
|0||0||Scans the PCI bus for the first available debug Ethernet card, and then reads the I/O base address and IRQ of the card, and uses it for downloading.|
|Value1||0||Scans the PCI bus for a network interface card (NIC) with an interrupt equal to Value1. The Ethernet boot loader finds the first debug Ethernet card with a matching interrupt and uses it. Then, the NET_IOBASE value is obtained from the PCI configuration header. This is useful in systems with multiple Ethernet cards.|
|Value1||Value2||Scans the PCI bus for a NIC with an interrupt equal to Value1 and a NET_IOBASE value equal to Value2. If no such NIC is found on the PCI bus, the Ethernet boot loader assumes that the NIC is an NE2000 compatible ISA NIC with the set values.|
To edit the Autoexec.bat file for an x86 SDB
- From the boot floppy disk, open the Autoexec.bat file for editing.
- In the Autoexec.bat file, set the NET_IRQ value in decimal or hexadecimal notation by doing one of the following procedures:
- For PCI Ethernet cards, set NET_IRQ equal to zero.
- For ISA Ethernet cards, determine the NET_IRQ value by using a utility program provided by the Ethernet card manufacturer or examine the BIOS.
- In the Autoexec.bat file, set the NET_IOBASE value in hexadecimal notation by doing one of the following procedures:
- For PCI Ethernet cards, set NET_IOBASE equal to zero.
- For ISA Ethernet cards, determine the NET_IOBASE value by using a utility program provided by the Ethernet card manufacturer. You cannot determine the NET_IOBASE value by examining the BIOS.
Set the NET_IP value in the Autoexec.bat file by doing one of the following procedures:
Leave the NET_IP value blank if you receive IP addresses from a DHCP server.
Obtain a valid NET_IP value from your network administrator.
Be sure that the subnet mask matches the one for the development workstation.
How to Debug a Run-Time Image on a CEPC | Configuring an Ethernet Remote Connection | Configuring a Serial Remote Connection | Troubleshooting: Cannot Connect from a CEPC to a Network After Configuring the CEPC
Send Feedback on this topic to the authors