This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The script file (rtsm_launcher.py) failed during execution. Corstone SSE-300

Hello,

I tried to simulate the Blinky project on the MPS3-SSE-300 (Cotrtex-M55 + Helium).

Before simulation I added to global Path:

g:\Program Files\Arm\FVP_Corstone_SSE-300\
g:\Program Files\Arm\FVP_Corstone_SSE-300\models\Win64_VC2019\

I have errors when I tried to launch the debbuger:
For example:

The script file ( rtsm_launcher.py ) failed during execution:
Failed to launch model FVP_Corstone_SSE-300_Ethos-U55. Command:
FVP_Corstone_SSE-300_Ethos-U55 --iris-server --print-port-number -C fvp_mps3.DISABLE_GATING=1 -C cpu0.FPU=1 -C cpu0.MVE=2
exited with error code: -1073740791

I tried a few commands:
-C fvp_mps3.DISABLE_GATING=1 -C cpu0.FPU=1 -C cpu0.MVE=2

-C cpu0.enable_helium_extension=1 -C cpu0.vfp-present=1 -C cpu0.vfp-enable_at_reset=1

-C cpu0.enable_helium_extension=1 -C cpu0.vfp-present=1 -C cpu0.vfp-enable_at_reset=1 -C cpu0.semihosting-enable=1


Can you please help?


Parents Reply Children
  • The connection error suggests that you are not connecting to the correct model.

    I am not aware of any changes regarding DWT_CONTROL.

  • >Cannot find device cpu0.cpu0.l1dcache

    I suspect "cpu0.cpu0.l1dcache" is specified somewhere, which is not correct, e.g. cpu0.cpu0 should be cpu0 and l1dcache parameter doesn't seem to exist in the model (see below).

    $ FVP_Corstone_SSE-300_Ethos-U55 --list-params | grep cache
    cpu0.DCACHESZ=15                                      # (int   , init-time) default = '0xf'    : Whether the D-cache is included and, if included, the size of it. Bit 0: 0=No D-cache included, 1=D-cache included. Bits [4:1]: 0x0=4KB D-cache, 0x1=8KB D-cache, 0x3=16KB D-cache, 0x7=32KB D-cache, 0xF=64KB D-cache
    cpu0.ICACHESZ=15                                      # (int   , init-time) default = '0xf'    : Whether the I-cache is included and, if included, the size of it. Bit 0: 0=No I-cache included, 1=I-cache included. Bits [4:1]: 0x0=4KB I-cache, 0x1=8KB I-cache, 0x3=16KB I-cache, 0x7=32KB I-cache, 0xF=64KB I-cache
    cpu0.dcache-state_modelled=0                          # (bool  , run-time ) default = '0'      : Set whether D-cache has stateful implementation
    cpu0.dcache-ways=4                                    # (int   , init-time) default = '0x4'    : L1 D-cache ways (sets are implicit from size)
    cpu0.icache-state_modelled=0                          # (bool  , run-time ) default = '0'      : Set whether I-cache has stateful implementation
    cpu0.icache-ways=2                                    # (int   , init-time) default = '0x2'    : L1 I-cache ways (sets are implicit from size)
    mps3_board.smsc_91c111.cache_size=65536               # (int   , init-time) default = '0x10000' : Size of cache memory in SMSC MMU

  • I made project for the M55: SSE-300-MPS3 device and tried the Arm SubSystem FVP -> Corstone SSE-300 (MPS3) -> Bare Metal Debug -> Cortex-M55 model.

    Could you please tell me which model is correct for this device?

    Thanks

  • Hm...
    I installed the same package and wrote a global path to it.

    What model settings would you recommend for the example "Blinky"? Because I have the same error with the example project.

    Thanks