Un shell pour Windows CE sur le port série - A command shell for Windows CE over serial link
Pour ceux qui aiment les commandes en lignes et veulent prendre le contrôle de leur device Windows CE via un lien série (très pratique sur un device headless !), vous pouvez déporter la console sur un port COM en ajoutant les paramètres suivants dans la base de registre :
[HKEY_LOCAL_MACHINE\Drivers\Console]
OutputTo = REG_DWORD:1 // Redirects CMD to COM1
COMSpeed = REG_DWORD:19200 // Speed of serial connection
Those who like command lines and want to get control of your Windows CE device via a seirla ink (really usefull with a headless device!), you can route the console on a COM port by adding these settings to the registry:
[HKEY_LOCAL_MACHINE\Drivers\Console]
OutputTo = REG_DWORD:1 // Redirects CMD to COM1
COMSpeed = REG_DWORD:19200 // Speed of serial connection
Comments
Anonymous
January 08, 2008
Hello, I am trying to get a console to run on COM1, but I always get the "Not enough memory, or too many consoles open" error message. Any help is appreciated. Sorry, I am a english speaker, je parle francais un peu... Thanks! NickAnonymous
January 12, 2008
Hi Nick, you should have a look at the way the system uses COM ports for debug traces. This is implemented in the OAL code (provided by the OEM within the BSP) and by default, COM1 is used for debug traces, that might be the reason why you can't get the console to run on COM1. Maybe by setting the "ship build" build option in the OSDesign settings (this option generates a kernel not sending any debug or log trace on serial link). Do no hesitate to send a more detailled comment on what you did (which target, BSP, ...). Regards Olivier