8.8.1.1.2.2.14. Simultaneous

class Simultaneous
run(targets, waitForHalt=None) None

Simultaneously run all targets specified.

session1 = ds.openSession("Cortex_R5_0_0")
session2 = ds.openSession("Cortex_R5_0_1")

# In this case, the full names of each core is longer than what we provided to openSession
targets = [session1.getName(), session2.getName()]

# Assume we have connected, loaded a program, etc. on both cores.

# Run both targets simultaneously and wait for both to halt
ds.simultaneous.run(targets)

# Run both targets simultaneously return immediately once both are running
ds.simultaneous.run(targets, False)
Parameters:
  • targets (list[str]) -- A list of the targets to run.

  • waitForHalt (bool) -- (optional) Whether the operation should wait for all targets to halt after running. Defaults to true.

Return type:

None

halt(targets) None

Simultaneously halt all targets specified.

session1 = ds.openSession("Cortex_R5_0_0")
session2 = ds.openSession("Cortex_R5_0_1")

# In this case, the full names of each core is longer than what we provided to openSession
targets = [session1.getName(), session2.getName()]

# Assume we have connected, loaded a program, issued a run, etc. on both cores.

# Halt both targets simultaneously
ds.simultaneous.halt(targets)
Parameters:

targets (list[str]) -- A list of the targets to halt.

Return type:

None

asmStepInto(targets) None

Simultaneously perform an assembly step-into operation on all targets specified.

session1 = ds.openSession("Cortex_R5_0_0")
session2 = ds.openSession("Cortex_R5_0_1")

# In this case, the full names of each core is longer than what we provided to openSession
targets = [session1.getName(), session2.getName()]

# Assume we have connected, loaded a program, etc. on both cores.

# Step both targets simultaneously
ds.simultaneous.asmStepInto(targets)
Parameters:

targets (list[str]) -- A list of the targets to step.

Return type:

None