Cvrtbin Tool (Windows CE 5.0)
Cvrtbin (Cvrtbin.exe) is a command-line tool that converts read-only memory (ROM) files from binary (.bin) format to Motorola 32-bit (.sre) format or absolute binary (.abx) format.
cvrtbin <-r | -s> -a StartAddress -l ImageLength -w ImageWidthfilename
Parameters
- -s
Generates an .sre file from a .bin file. - -r
Generates a ROM file from a .bin file. - -a
Specifies the ROM starting address. You must specify this parameter when converting a .bin file to a ROM format. - -w
Specifies ROM width, which is set to either 8, 16, or 32 bits. You must specify this parameter when converting a .bin file to a ROM format. - -l
Specifies ROM length, expressed as a hexadecimal value. You must specify this parameter when converting a bin file to a ROM format. - StartAddress
Specifies the start of the run-time image in memory. - ImageLength
Specifies the length of the run-time image in memory. - ImageWidth
Specifies the width of the run-time image in memory. - filename
Specifies the file name of the target run-time image, typically nk.bin.
Examples
The following code example shows the output from the Viewbin tool for a run-time image:
C:>viewbin nk.bin
ViewBin... nk.bin
Image Start = 0x00220000, length = 0x00AC136C
Start address = 0x0023D618
Checking record #72 for potential TOC (ROMOFFSET = 0x80000000)
Found pTOC = 0x80ce02c0
ROMOFFSET = 0x80000000
Done.
Using this output, the following code example shows the syntax used to create an nk.nb0 file, using the values found in the Image Start and length lines:
C:>cvrtbin -r -a 00220000 -l 00ac136c -w 32 nk.bin
See Also
Building a Run-Time Image | Romimage | Binary Image Builder File | License Run-Time Image Dialog Box | Creating a ROM Run-time Image File Stamped With a License Key | Absolute Binary Data Format
Send Feedback on this topic to the authors