Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

hex2000 says "section XYZ falls in unconfigured memory"

$
0
0

Hello,

I am running hex2000 to generate a raw binary image from a .out file. It gives me strange warnings like this:

  warning: section DummyApp.out(.text) at 0600008h falls in unconfigured memory (skipped)

  warning: section DummyApp.out(ramfuncs) at 0609e8ah falls in unconfigured memory (skipped)

  etc...

I had a look at DummyApp.map, and the .text section starts at 0x300004 and its length it 0x4f41, so well within the flash. The ramfuncs section starts at 0x304f45, again well within the flash.

I am using a TMS320F28335. The command line I use is:

  cd \path\to\DummyApp\Debug

  \path\to\hex2000.exe \path\to\mkhex.cmd

The content of mkhex.cmd can be found at this end of this post.

It seems that hex2000 multiplies the addresses of the .out file by 2 (0x300004 x 2 = 0x600008, 0x304f45 x 2 = 0x609e8a, etc.)

What's going on?

Also, I tried with "-datawidth 8" in the script below. I get the right addresses, but the image is half the size it should be and only the lowest 8 bits of each word is copied. For example, if I debug with CCS, I see at address 0x300000: 0070 4F1D FFFF FFFF 761B FFF0. In the .bin, the first bytes are: 701D FFFF 1BF0.

Many thanks for your help!



Content of mkhex.cmd:

DummyApp.out    /* input = executable object file */
-b              /* binary */
-image          /* total flash image */
-memwidth 8
-datawidth 16
-map DummyAppRaw.map
-fill 0xffff

ROMS
{
    FLASH: origin=0x300000, length=0x40000, romwidth=16, files={DummyApp.bin}
}


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>