This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

hex2000 converting .out to binary problems



Hello,

I am trying to convert my .out file to binary in order to be able to download it to my board using the usb bootloader and the dfuprog application.  My problem is I can;t seem to create the type of file I need.  I'm using CCS5 and my target is a 28069.  My map file for the .out looks like this:

MEMORY CONFIGURATION
     name                origin               length           used               unused   attr    fill
----------------------  --------                ---------          --------              --------        ----  --------
PAGE 0:
  RAML0                 00008000   00000800  000000da  00000726  RWIX
  RAML1                 00008800   00000400  00000000  00000400  RWIX
  OTP                      003d7800   00000400  00000000  00000400  RWIX
  BEGIN                  003e0000   00000002  00000002  00000000  RWIX
  CSM_RSVD        003e0002   00000076  00000000  00000076  RWIX
  CSM_PWL_P0  003e0078   00000008  00000000  00000008  RWIX
  FLASHF               003e0080   00003f80   00000000  00003f80  RWIX
  FLASHE               003e4000   00004000  00000000  00004000  RWIX
  FLASHD              003e8000   00004000  000000da  00003f26  RWIX
  FLASHC              003ec000   00004000  00002604  000019fc  RWIX
  FLASHA              003f4000   00003f80    00003f7d  00000003  RWIX
  FPUTABLES       003fd860   000006a0  00000000  000006a0  RWIX
  IQTABLES          003fdf00    00000b50  00000000  00000b50  RWIX
  IQTABLES2       003fea50   0000008c  00000000  0000008c  RWIX
  IQTABLES3       003feadc   000000aa  00000000  000000aa  RWIX
  ROM                   003ff3b0    00000c10  00000000  00000c10  RWIX
  RESET                003fffc0    00000002  00000000  00000002  RWIX
  VECTORS          003fffc2    0000003e  00000000  0000003e  RWIX
And may hex2000 command file looks like this- I simply tried to create one ROM area covering all of flash...

ROMS
{
        nav5rom: origin=0x003e0000,length=0x18000,fill=0,romwidth=16,files={nav5phrom.bin}
}

I invoke hex2000 as follows:  hex2000 -b nav5phrom.cmd --image xyz.out

And I get the following errors:

Translating to Binary format...
"usb_dev_serial.out" ==> codestart
warning: section usb_dev_serial.out(codestart) at 07c0000h falls in
unconfigured memory (skipped)
"usb_dev_serial.out" ==> ramfuncs
warning: section usb_dev_serial.out(ramfuncs) at 07d0000h falls in unconfigured
memory (skipped)
"usb_dev_serial.out" ==> .text.1
warning: section usb_dev_serial.out(.text.1) at 07d8000h falls in unconfigured
memory (skipped)
"usb_dev_serial.out" ==> .econst
warning: section usb_dev_serial.out(.econst) at 07e8000h falls in unconfigured
memory (skipped)
"usb_dev_serial.out" ==> .cinit
warning: section usb_dev_serial.out(.cinit) at 07e91f8h falls in unconfigured
memory (skipped)
"usb_dev_serial.out" ==> .switch
warning: section usb_dev_serial.out(.switch) at 07e955ch falls in unconfigured
memory (skipped)
"usb_dev_serial.out" ==> .text.2
warning: section usb_dev_serial.out(.text.2) at 07e9598h falls in unconfigured
memory (skipped)

The addresses it is complaining about are not in any of the memory regions in the map so that has me a bit confused.  If I omit the -b option, the utility successfully creates an Extended Tektronix format file.  I'm not partial to the file type, I just need something I can download to the usb bootloader and get it programmed into the device.  Near as I can tell that is a binary format.  There is something in the hex2000 user's guide about not being able to change the memory width for the binary file from 8 bits but if that's really the case, how do I create a file I can program on the 28069?

Thanks in advance for any help you can provide.

Tom