Re: CE6.0 Unrecognized option



Because, when you run a program using the Init key in the registry, the
program gets its XX number from LaunchXX on the command line. It has to get
this so that it can call SignalStarted with the number and the system will
know that anything depending on XX can now be launched (that's how the
Depend list is handled). However, you're trying to start cmd.exe this way
and it will interpret the content of its command line as a program to be
executed. Since there's no program called "50", you get that error.

Paul T.

"rainer" <rainer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D37B2193-CB91-45AB-85EE-BDB003674288@xxxxxxxxxxxxxxxx
Hello,

I have included Command Processor and Command Window Console in my image
and
i use the serial port as the console for the device.
I have made the following changes:

project.reg File

[HKEY_LOCAL_MACHINE\Drivers\Console]
"OutputTo" = dword:1
"COMSpeed" = dword:1C200

[HKEY_LOCAL_MACHINE\init]
"Launch50"="cmd.exe"
"Depend50"=hex:0A,00,14,00,1E

bsp_cfg.h File:

//------------------------------------------------------------------------------
// Debug OUTPUT
// DEBUG_PORT specifies which UART we use for debug serial port. It must
be
one
// of the following :
// DBG_UART1
// DBG_SC16C652_PORTA
// DBG_SC16C652_PORTB
//------------------------------------------------------------------------------

1. define DBG_UART1 1
2. define DBG_SC16C652_PORTA 4
3. define DBG_SC16C652_PORTB 5


//#define DEBUG_PORT DBG_SC16C652_PORTA
//#define DEBUG_PORT DBG_UART1

I use HyperTerminal to see what the device sends via the serial port.
When I start the device I see the following message on the HyperTerminal
screen:

-EbootSendBootmeAndWaitForTftp

BL_IMAGE_TYPE_BIN

INFO: OEMMultiBINNotify (dwNumRegions = 1, dwRegionStart = 0x88100000).
INFO: OEMVerifyMemory (CA = 0x88100000, PA = 0x80100000, length =
0x6F8AC4)
INFO: Downloading NK RAM image.
rom_offset=0x0.
ImageStart = 0x88100000, ImageLength = 0x6F8AC4, LaunchAddr = 0x88101000

Completed file(s):
Address=0x88100000 Length=0x6F8AC4 Name="" Target=RAM
ROMHDR at Address 88100044h
Download successful! Jumping to image at 0x88101000 (physical
0x80101000)...
INFO: EbootWaitForHostConnect (IP = 128.131.81.37, MAC = 12-9-11-CF-8C-95,
Port
= 0xD403)
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000

Unrecognized option 50.

Now I want to know why I get this Unrecognized option 50 and how I can
change that?!??

Thanks,
Rainer


.



Relevant Pages

  • Re: CE6.0 Unrecognized option
    ... program gets its XX number from LaunchXX on the command line. ... // DEBUG_PORT specifies which UART we use for debug serial port. ... Now I want to know why I get this Unrecognized option 50 and how I can ...
    (microsoft.public.windowsce.embedded)
  • Re: CE6.0 Unrecognized option
    ... Paul Monson ... program gets its XX number from LaunchXX on the command line. ... you're trying to start cmd.exe this way and it will interpret the content of its command line as a program to be executed. ... "rainer" wrote in message ...
    (microsoft.public.windowsce.embedded)
  • Re: Startup with command line options or run program from c++
    ... The only command line argument ever passed to a process started using ... a "LaunchXX" value in the Init registry key is the index given to the ... If I closed the cmd window, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Use IESIMPLE in OS design (full screen)
    ... there's not going to be line-by-line documentation of IESample on MSDN. ... the command line and do something different with that. ... the xx value from LaunchXX. ... Instead of using Init keys to launch the program, ...
    (microsoft.public.windowsce.embedded)
  • Using TK to read/write to serial port, allowing stdout display and TK GUI control
    ... I'm using a TK GUI to write data to and read data from a serial port. ... One of the button widgets needs to send a specific command to the ... port when the button widget is pressed, ...
    (comp.lang.tcl)

Loading