Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-10742

Update hex documentation to state that sections across multiple images cannot overlap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium

      The attached zip file contains a contrived test case. Extract it to an empty directory. Notice how the uninitialized sections are at the same address 0x8000. Run build.bat ...

      C:\example>build.bat
      
      C:\example>cl2000 ab.asm -z -o ab.out -m ab.map ab.cmd
      <Linking>
      warning: no suitable entry-point found; setting to 0
      
      C:\example>cl2000 cd.asm -z -o cd.out -m cd.map cd.cmd
      <Linking>
      warning: no suitable entry-point found; setting to 0
      
      C:\example>hex2000 ab.out cd.out --load_image -o merge.out
      Setting --load_image:combine_sections=true
      error: memory ranges "image_3" and "image_4" out of order
      

      Note image_3 and image_4 correspond to the uninitialized sections in each .out file.

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: