Author: arm-WinCE
It should be no stranger to loadcpec.exe. In fact, it is to run a cepc through the command line, or implement a cepc. Cepc refers to running wince on the PC. I developed BSP on the ARM platform. cepc is of some use for me, that is, I can use cepc to compare some problems encountered during development, identify whether these problems are caused by my code or by Microsoft. To put it bluntly, it is to find out who is wrong!
For example, I have developed a USB slave driver and run rndis when running wince, but it won't work after the USB is plugged in once, I am very confident in my own drive. To differentiate the problem, I will find a PC and run wince on it, and then perform the same test. If the problem can be reproduced, it indicates that this is Microsoft's problem. If the problem cannot be reproduced, that must be because my driver is faulty. I will go to debug.
Luo weiyun, the tool loadcepc.exe will be used in the pc running wince. this tool can only run under DOS. It is mainly used to load and run the wince image. The command line format is as follows:
Loadcepc [parameter] [inputfile]
The following parameters are supported:
/B: Set the baud rate of the serial port, for example,/B: 115200
/C: Set the serial port used. 1 indicates COM1, 2 indicates com2, and so on.
/D: Set the display resolution. 0 indicates 320*200, 1 indicates 480*240, 2 indicates 640*480, 3 indicates 800*600, and 4 indicates 1024*768, 5 indicates 240*320
/E: Set the NIC Io address and IRQ
/H: displays help information.
/K: supports rndis download
/L: Set the display mode. For example,/L: 768x576x8: 1024x768 indicates that the actual display size is 768x576, and the display depth is 8bpp, actual physical display device size: 1024x768
/P: The image is downloaded through the parallel port.
/Q: Download the image through the serial port.
/V: more status information is displayed when loadcepc is loaded.
[Inputfile]: The image to be loaded. By default, NK. Bin is loaded.
For example:
Loadcepc/B: 115200/C: 1/L: 800x600x16
The above command indicates that the serial port 1 is used, the baud rate is 115200, the display resolution is 800x600, and the display depth is 16. It can be omitted because NK. Bin is loaded by default.
Generally, all parameters may not be used. I use it very easily, but set the display mode to run wince. The loadcepc code has been published by Microsoft and can be found under "/wince600/platform/cepc/src/bootloader/DOS/loadcepc. I have never studied it. Let's talk about it here.