Uploaded image for project: 'EtherNet/IP Firmware V3'
  1. EtherNet/IP Firmware V3
  2. PSEISV3-227

Linker scripts for execute in place targets: size of section SQI too large

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V3.3.2.0, V3.4.0.0
    • Component/s: None
    • Labels:
      None
    • Account:
      SPC EthernetIp Slave (SPCETHERNE)

      Description

      SQI(rx) : ORIGIN = (0x0C000000 + 128K + 0x40), LENGTH = 4M - 0x40 - 128K

      netx52_intram_xip.ld (netX52, netX52_SinglePort and netRAPID52)

      According to H:\Manual netX Products\2nd Stage Bootloader\netX 2nd Stage Bootloader\Man.014 page 34, in an execute in place scenario, flash file system starts in SQI rom at offset 2M.

      This means that the line should be:

      SQI(rx) : ORIGIN = (0x0C000000 + 128K + 0x40), LENGTH = 2M - 0x40 - 128K

      where 2M is the remaining usable size of the ROM and 128K is the size occupied by 2nd stage loader. No idea what 0x40 is for, presumably boottokens passed from second stage to rcX.

      Anyway, section length should be adjusted in those scripts to avoid overwriting the FFS. Spotted by Maher and Andreas B.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MBommert Marc Bommert
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: