Hi,
I am using the HEX55.exe boot image conversion utility with great success given its excellent flexibility in configuration of options. To simplify the process of image creation for flashing to 24-bit SPI FLASH I have placed all the configuration options in a CONFIG.cmd file, and I invoke by doing :
C:\HEX55.exe CONFIG.cmd
This works great as I can specify all the configuration options on a separate line in the CONFIG.cmd file such as :
-boot // to convert all sections into bootable form
-v5505 // to specify the device and silicon revision number
-serial8 // to specify an 8-bit serial interface boot table
-b // to Select binary output file format
-i // to select Intel output file format
/* Register configuration etc. */
-reg_config 0xBEEF,0x0003
-delay 0x1080
-reg_config 0xDEAF,0x0003
-delay 0x9080
...
...
Now I would like to repeat the use of (or at least to be able to translate) this existing CONFIG.cmd file to a similar file for use with the C55BootImageV2.exe for secure boot image generation. This conversion application can apparently generate both unsecured and secured boot images, both through the GUI app, or using the C55BootImageV2.exe in a windows console with command line options.
The problem is that I cannot see what the format is for configuring the options I was previously using with HEX55.exe, with the new secure boot image application C55BootImageV2.exe ?!? The PDF user guide for the C55BootImageV2.exe only describes the basics, and not much else.
I would need to also specify at the very least the following :
- the device and silicon revision number (previously done with the -v5505 option using HEX55.exe).
- an 8-bit serial interface boot table (previously done with the -serial8 option using HEX55.exe) as I am using 24-bit SPI FLASH.
- Selecting binary & Intel output file format (previously done with the -b & -i options using HEX55.exe).
- A set of register configurations of a size of 200 - 300 instructions (previously done with the -reg_config & the -delay options using the HEX55.exe utility).
In a recent previous post it was was mentioned the following could be used for creating a CONFIG.dat file to generate a register configuration file using :
SIZE: 0x03
ADDRESS: 0x####
CONTENT: 0x####
ADDRESS: 0x####
CONTENT: 0x####
ADDRESS: 0x####
CONTENT: 0x####
This is not documented in the C55BootImageV2.exe user guide so I could assume there may exist other undocumented configuration options for doing what I was doing with HEX55.exe, but it's just not evident.
Is it possible to use C55BootImageV2.exe for a serial 24-bit SPI FLASH to generate secure boot images for it ? Where is there a more comprehensive list of configuration options available to be used with the C55BootImageV2.exe that implement the same options as for the HEX55.exe conversion app for instance ??
Thanks in advance.
Regards, M