Skip to main content
HIm
Associate II
May 20, 2019
Solved

How to fill the unused memory with 0xFF in .mot file

  • May 20, 2019
  • 2 replies
  • 971 views

​Dear

I am using SPC5Studio version 5.8.1 and SPC570S.

I want to fill the output(.mot) file with 0xFF memory.

In additional, I want to make hex file a contiguous address.

Below is my output.mot file with non-contiguous addresses.

S214FD07D0010E01220136014A015E000A00000333C4

S214FD07E00100000100000199010000000000001C4E

S20EFD07F00000007800001000000174

S206FD07FA0000FB

I need help.

Thank you in advance.

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    Hello ,

    With PLS , i do not think that it is possible

    You should use by Software Implementation

    Best regards

    Erwan

    2 replies

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    August 13, 2019

    Hello ,

    With PLS , i do not think that it is possible

    You should use by Software Implementation

    Best regards

    Erwan

    Tesla DeLorean
    Guru
    August 13, 2019

    The .MOT file format isn't unduly complicated, should be something a C coder could do pretty quickly. You could read the content into a preallocated and filled buffer, and then re-export as a continuous/linear image. Tools like SRECORDS too

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..