All Forums
 Microsoft Windows CE
 General CE
 Using the Command Prompt over a Serial Port
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

KnowledgeBase

296 Posts

Posted - 06 Aug 2002 :  15:22:11  Show Profile  Email Poster
Using the Command Prompt over a Serial Port

The command prompt or console(CMD.EXE) can be helpful in applications that don't have a display ("headless" systems). The console gives access the CE file system and allows you to execute applications manually. The console can also be a "back door" for servicing your system (use it judiciously!).

Normally the console is a window on the CE desktop, but you can also redirect the console output to a serial port. To do so, update your ADSLOAD.REG file with the following keys:
  [HKEY_LOCAL_MACHINE\Drivers\Console]
"OutputTo"=dword:3 ; CMD on COM3 (I've also read that a value of ffffffff redirects to the debug port)
"COMSpeed"=dword:9600 ; speed (0x9600=38400 baud)


Note that you'll need to enable local echo on your PC terminal application if you want to see the commands you're typing.

You can redirect to any available serial port. If you select the debug port, debug messages will be suppressed until you type "exit" to quit the command shell.

You can launch cmd.exe (zip, 26kB) from the startup folder of an ATA card, or you can launch it automatically from the Startup folder of the FlashFX Disk\ folder.

------------------
ADS Knowledge Base
  Topic  
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000