NetBurner 3.3.9
PDF Version
Change CompCode Settings for EFFS

The CompCode utility is used in the final stage of a build to compress an application image. The COMPCODE memory address range defines the amount of space available as application space so programming an application in flash memory does not overwrite any of the space allocated for the EFFS-STD file system. Documentation on the memory map for your particular device can be found in the Platform Reference section of this document.

To change the CompCode memory address range for the application in NBEclipse:

  1. Right-click on your project, and select "Properties".

  2. Select "C/C++ Builds > Settings" on the left-hand side.

  3. Select "NB Compcode". In the All Options section the current value of the application memory range is displayed. In this example it is a NANO54415 platform. To make the next step easier, highlight and copy the memory address range.

  4. Select the NB Compcode > General tab. If the current value is the factory default, you will see the macro ${COMPCODEFLAGS} displayed. This is the value that is read from the factory default file.

  5. Delete ${COMPCODEFLAGS} and paste the memory range you copied in the previous step, then edit it to specify the desired memory range. In this example we will change 0x800000 to 0x700000. So you end up with: 0x04000 0x700000. This would be used to allocate 0x100000 bytes to the EFFS-STD file system space. When you are finished editing, click on Apply or Apply and Close.