Re: CE6.0 Unrecognized option



For example, creating a new program that you write. This program would
understand that its parameter is likely to be a number and would, once it
starts up, call CreateProcess() to launch cmd.exe, and then, presumably,
call SignalStarted() with the number.

Paul T.

"Paul Monson" <paulm@xxxxxxxxxx> wrote in message
news:eE0BlBWzHHA.4276@xxxxxxxxxxxxxxxxxxxxxxx
You'll need to start it some other way

Check out this blog entry
http://blogs.msdn.com/mikehall/archive/2007/01/04/ce-6-0-booting-processes-with-command-line-options.aspx

Paul Monson
Intrinsyc


rainer wrote:
Thank you for your help, but how can I change that now and what must I
change?

Rainer

"Paul G. Tobey [eMVP]" wrote:

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
    ... Paul T. ... starts up, call CreateProcessto launch cmd.exe, and then, presumably, ... program gets its XX number from LaunchXX on the command line. ... // DEBUG_PORT specifies which UART we use for debug serial port. ...
    (microsoft.public.windowsce.embedded)
  • Re: CE6.0 Unrecognized option
    ... starts up, call CreateProcessto launch cmd.exe, and then, presumably, ... Paul Monson ... program gets its XX number from LaunchXX on the command line. ... // DEBUG_PORT specifies which UART we use for debug serial port. ...
    (microsoft.public.windowsce.embedded)
  • dont pour thereby while youre treating below a medical bucket
    ... green for Bill to accumulate it. ... The launch at times the redundant ... creates along with our command after we designate on to it. ... Both producing now, Donovan and Murad dictated the supposed ...
    (sci.crypt)
  • Re: EnableShellOpen() for windows mobile
    ... on the command line (assuming that's where you're ... launching it from, of course). ... Paul T. ... Remote Registry Editor, as what you have there doesn't tell me what I ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: CREATEPROCESS and other questions...
    ... There is an intrinsic (HPCICOMMAND) that will let you stream a job ... or do just about any other MPE command from within your program. ... name of the executable you wish to launch, ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)