Re: CE6.0 Unrecognized option



If you can't figure out how to write a program, starting at the beginning in
the help is going to be more effective than asking someone who does that in
their sleep to give you a tutorial. You do know how to write code in C? If
so, the new project wizard in Platform Builder/VS2005 should guide you
enough to do it, although you'll have to look up SignalStarted() and
CreateProcess() in the help.

Paul T.

"rainer" <rainer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FFD575A6-9B07-4A62-B8CA-9ABFCB4C84FD@xxxxxxxxxxxxxxxx
Thank you for your help, but I'm not really able to do that. I'm not
really
familiar with winCE 6.0. Perhaps you can give me a step by step
instruction???

"Paul G. Tobey [eMVP]" wrote:

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
    ... 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)
  • 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)
  • Re: Local Printing with IE
    ... Paul T. ... works fine with my own code, but the browser never even does that. ... but installing serial port sniffer between printer and your ... printing support component to your platform in PB? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Accessing peripherals from a managed application
    ... And .NET CF 2.0 has serial port classes built into it... ... I tried the P/Invoke Wizard from Paul Yao's ... Maybe you open the driver with CreateFile, ... Call on the imported functions to access the hardware. ...
    (microsoft.public.windowsce.app.development)
  • 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)