This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F29H85X-SOM-EVM: Configuration issues with SSU module

Part Number: F29H85X-SOM-EVM
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

I am adapting the SC3 memory protection function. There is such a demand now. I want to add multiple sections specifically for Os in this cmd file. But I found that this file is automatically generated by configuration and cannot be manually modified. So I successfully added a Memory through configuration, but it seems that the section below can only be added through the STACK configuration item. However, this STACK can only be configured with an additional one at most, which is the maximum quantity. How can I add custom sections?

  • Or how can one modify. cmd files and participate in compilation without being overwritten by automatically generated files

  • Hi,

    Are you aiming to create additional MEMORY regions? In that case, you can add a custom entry in the Memory Region tab. You can then go the the LINK tab and assign required permissions for this region.

    Custom SECTIONs can be added via the Sections tab. If you want to add custom sections to any of the default application modules (such as LINK2), this can be done by checking the "Use Custom Sections" box in System Security > SSU Setup > (Reqd Application Module). Let me know if this answers your question.

    Regards,

    Arnav

  • Thank you for your suggestion, your method is effective. But it still cannot meet my current development needs. I want to manually modify the .cmd file and seccfg.c file and participate in compilation instead of generating them through configuration. Is there any way?

  • You can take the files generated from SysConfig as a base and create a copy in your project. Then you can uncheck the "Include in build" option in SysConfig for these copied files alone. This will let you make your customization on top of the SysConfig generated files 

    Please note that it is strongly advised not to manually edit the seccfg.c, since invalid settings can leave the device in an unrecoverable state.

    Thanks,

    Arnav