KEAZ128 noint data flash image

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KEAZ128 noint data flash image

674 Views
xiabin
Contributor II

          I use MCU : KEAZ128, I need noinit data function.   I refer to this example  https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32K144-noinit-section-usage/t...

       The noinit fuction is ok.  but the flash image file (.hex)added the following lines:

        "S3111FFFF000000000000000000000000000E0"

I need to delete these lines manually, which is very troublesome.
How can I automatically remove these lines?

0 Kudos
3 Replies

662 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi xiabin,

  Please tell me which IDE you are using? S32DS or CW or KDS?

   I help you checked your attached .hex file directly, in fact, it is not the real hex file, it is the srec file, that's why you find it contains S3 S0 header.

 
 

25.jpg26.jpg27.jpg

More srec details, please check the srec format:

https://www.jianshu.com/p/4029c71aa09e

About the code S3111FFFF000000000000000000000000000E0, I think in your practical usage, if you don't need to use it, when  you read the address is not the flash address, you totally can ignore it.

 

Wish it helps you!

If you still have questions about it, please kindly let me know!

Best Regards,

Kerry

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

-----------------------------------------------------------------------------

 

  

0 Kudos

640 Views
xiabin
Contributor II

Hi kerryzhou:

        I use CW IDE. I know this hex file is actually S19 file.

        I'm sorry I didn't make the question clear.

        What I want to ask is that s19  file contains the address of ram instead of flash address.( S3111FFFF000000000000000000000000000E0).

      When I want to give this file to my client, I have to delete this line manually. I find it very troublesome.

So I want to ask, how can I delete this line, automatically.

thanks!

0 Kudos

634 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi xiabin,

   Your code in the srec: S3111FFFF000000000000000000000000000E0,

   It is totally generated by your divide the my_data section, which is used as your nonint area.

   This section data is generated by the CW.

   If you don't want to get this area bin code, you can delete all you my_data sections in the link, and the myRAM in your main.c. That will generate the no code about:

 S3111FFFF000000000000000000000000000E0

   But, if you still need this function, I think you may checking it in your client, when readout the flash address 1FFFF000, just ignore this frame data.

   Just from the CW side, I didn't find any othe way to delete it, except delete your link related section allocated code.

Wish it helps you!

If you still have questions about it, please kindly let me know!

Best Regards,

Kerry

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

-----------------------------------------------------------------------------

0 Kudos