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

DSS loadRaw API appears to pad data with "0" if the last remaining data to load is a smaller typesize than the typesize specified. 

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Medium Medium

      DSS API loadRaw appears to pad data with "0" if the last remaining data to load is a smaller size than the typesize specified. 

      For example, loadRaw is called with a typesize of 32 and the last remaining chunk of data is a 16-bit value, it pad with extra 16-bit data with "0" and write as a 32-bit value while emitting the below warning:

      MCU_PULSAR_Cortex_R5_0: Unexpected end of file: C:/Temp/gpio_led_blink.release.appimage.hs_fs. Only 27992 bytes are loaded from the file into the memory and the remaining bytes are set to zero.

      This does not occur when doing a binary load from the Memory Browser view. 

      This issue was reproduced using the R5 of an AM654x EVM. I'm not sure if this happens with all CPUs and devices or if it is specific to a CPU/device.

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

              Created:
              Updated:
              Resolved: