Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After completing the above settings, compile the project and view the map file. The section (.textfd1_f) beginning at 0x00012000 contains data with a size of 0x1341C, successfully linking binary files that exceed 64KB.

A similar method links binary files into Data Flash. Use the following assembly code statement, where 0xF1000 is the starting address for linking binary files.

DATAF .CSEG AT 0xF1000
$BINCLUDE(App6.bin)

Image Added

After compiling, review the map file to verify that the 4KB (0x1000) binary file has been linked to the address 0x000F1000 (data flash area).

Image Added