PROCESSOR-SDK-J722S: J722s, in vision app mcu20, how to config mpu using sysconfig-gui?

Part Number: PROCESSOR-SDK-J722S
Other Parts Discussed in Thread: SYSCONFIG, AM67

Tool/software:

Hi TI expert,
    1. i am using J722s evm  and sdk v11  example code as environment. sdcard, spl boot mode.

    2. my target is to add mpu config in vision app mcu20. 

    3. i see that mpu config file in j722s_mpu_config.c or j722s_safertos_mpu_cfg.c,   i changed both file,  but not work.

    4. example.syscfg  may also has mpu configuration, but i dont know how to open it. 

    5. i see a folder mcu2_0/generated/, it should be created by system,  but i cant update by "make -C vision_apps  vx_app_rtos_linux_mcu2_0  "

    
my question is:
1.  how to open syscfg-gui to edit mpu config?

2.  how to compile to update mcu2_0/generated/  code?

  • Hi,

    You can open sysconfig-gui and load this file example.syscfg  present in each core's folder. Do the modification and save the file in the same place.

    once you build your sdk "make sdk" or "make vision_apps"  this .syscfg will be used to generate the code which will be reflected under generated directory.

    Regards,
    Gokul

  • Hi Gokul,

       here is my step to open .syscfg in syscfg tool, but fails. could you help me to check what's wrong. thanks.

    1. run syscfg program. in my pc is :

    ```

    ./sysconfig_1.20.0/nw/nw  .

    ```

    2. load  .syscfg.  

        in gui, click browse in "open an existing design", and chose .syscfg file which is "vision_apps\platform\j722s\rtos\mcu2_0\example.syscfg"

    3. then i got an error.

  • Hi,

    Run this command to open sysconfig inside your sysconfig installed directory,

    Then browse Existing Design and open your example.syscfg file

    after that you should see window like this,

    Modify your changes and save the file.

    I am using sysconfig on ubuntu 22.04 and it is working for me without any issue.

    Regards,
    Gokul

  • Hi Gokul,

        could you share your  example.syscfg  file? thanks.

  • Hi,

    I am using the same example.syscfg file that is there in default sdk, anyway I am sharing the file here for $(psdkra)vision_apps/platform/j722s/rtos/mcu2_0/example.syscfg

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/5432.example.syscfg

    Regards,
    Gokul

  • Hi Gokul,

       that's wired.

       1. i tried .syscfg in mcu_plus_sdk example and it's ok.  then compare these files, i found mcu20's syscfg comment is different.

    in L4:   * @cliArgs --device "J722S_TDA4VEN_TDA4AEN_AM67" --package "AMW" --part "Default" --context "main-r5fss0-0" --product "MCU_PLUS_SDK@07.03.01"

    but in mcu-sdk_plus examples, they are 

     * @cliArgs --device "J722S_TDA4VEN_TDA4AEN_AM67" --package "AMW" --part "Default" --context "mcu-r5fss0-0" --product "MCU_PLUS_SDK_J722S@11.00.00"

        then i change mcu20's  --product param,  it works.

     

    it seems that sysconfig-tool would check the cliarg line in the head comment and do some configurations.