B.3.5 CS+ Python function (for debug tool)

Below is a list of CS+ Python functions (for the debug tool).

Table B.5

CS+ Python Function (For Debug Tool)

Function Name

Function Description

debugger.ActionEvent.Delete

This function deletes an action event.

debugger.ActionEvent.Disable

This function disables an action event setting.

debugger.ActionEvent.Enable

This function enables an action event setting.

debugger.ActionEvent.Get

This function references the result of the action event (Printf event).

debugger.ActionEvent.Information

This function displays action event information.

debugger.ActionEvent.Set

This function sets an action event.

debugger.Address

This function evaluates an address expression.

debugger.Assemble.Disassemble

This function performs disassembly.

debugger.Assemble.LineAssemble

This function performs line assembly.

debugger.Breakpoint.Delete

This function deletes a break point.

debugger.Breakpoint.Disable

This function disables a break point setting.

debugger.Breakpoint.Enable

This function enables a break point setting.

debugger.Breakpoint.Information

This function displays break point information.

debugger.Breakpoint.Set

This function configures a break point.

debugger.Connect

This function connects to the debug tool.

debugger.CurrentConsumption.Clear

This function clears current consumption data.

debugger.CurrentConsumption.Disable

This function disables acquiring current consumption data.

debugger.CurrentConsumption.Enable

This function enables acquiring current consumption data.

debugger.CurrentConsumption.Get

This function is used to display the maximum and average values of data on current consumption data that have been acquired.

debugger.CurrentConsumption.Information

This function displays information on acquiring current consumption data.

debugger.DebugTool.Change

This function changes the debug tool.

debugger.DebugTool.GetType

This function displays information about the debug tool.

debugger.DebugTool.RestoreState

This function restores the state of the debug tool to the one saved in the file.

debugger.DebugTool.SaveState

This function saves the state of the debug tool to a file.

debugger.Disconnect

This function disconnects from the debug tool.

debugger.Download.Binary

This function downloads a binary file.

debugger.Download.Binary64Kb

This function downloads a binary file in within-64 KB format.

debugger.Download.BinaryBank

This function downloads a binary file in memory bank format.

debugger.Download.Coverage

This function downloads coverage data.

debugger.Download.Hex

This function downloads a hex file.

debugger.Download.Hex64Kb

This function downloads a hex file in within-64 KB format.

debugger.Download.HexBank

This function downloads a hex file in memory bank format.

debugger.Download.HexIdTag

This function downloads a hex file with ID tag.

debugger.Download.Information

This function displays download information.

debugger.Download.LoadModule

This function downloads a load module.

debugger.Erase

This function erases the Flash memory.

debugger.GetBreakStatus

This function displays a break condition.

debugger.GetCpuStatus

This function displays the current CPU status.

debugger.GetIeStatus

This function displays the current IE status.

debugger.GetIORList

This function displays a list of the IORs and SFRs.

debugger.GetPC

This function displays the PC value.

debugger.Go

This function continues program execution.

debugger.Ie.GetValue

debugger.Ie.SetValue

This function sets or refers to the IE register or DCU register.

debugger.Interrupt.DeleteTimer

This function deletes the timer interrupt setting.

debugger.Interrupt.Notification

This function sets exception cause codes whose notification is accepted.

debugger.Interrupt.OccurEI

This function generates EI-level interrupts.

debugger.Interrupt.OccurFE

This function generates FE-level interrupts.

debugger.Interrupt.ReferTimer

This function displays the timer interrupt setting information.

debugger.Interrupt.SetTimer

This function sets the timer interrupt.

debugger.IsConnected

This function checks the connection status of the debug tool.

debugger.IsRunning

This function checks the execution status of the debug tool.

debugger.Jump.File

debugger.Jump.Address

This function displays each panel.

debugger.Map.Clear

This function clears the mapping settings.

debugger.Map.Information

This function displays map information.

debugger.Map.Set

This function configures memory mapping.

debugger.Memory.Copy

This function copies the memory.

debugger.Memory.Fill

This function fills the memory.

debugger.Memory.Read

This function refers to the memory.

debugger.Memory.ReadRange

This function refers to the specified number of locations in memory.

debugger.Memory.Write

This function writes to the memory.

debugger.Memory.WriteRange

This function writes multiple data to the memory.

debugger.Next

This function performs procedure step execution.

debugger.Performance.Delete

This function deletes a condition of performance measurement.

debugger.Performance.Disable

This function disables performance measurement.

debugger.Performance.Enable

This function enables performance measurement.

debugger.Performance.Get

This function references the result of performance measurement.

debugger.Performance.Information

This function displays performance measurement information.

debugger.Performance.Set

This function sets performance measurement.

debugger.PseudoError.Clear

This function clears the error status of all pseudo-errors.

debugger.PseudoError.Get

This function references ECM error information.

debugger.PseudoError.SetGo

This function sets conditions of a pseudo-error and runs a program.

debugger.Register.GetValue

This function refers to register/IO register/SFR.

debugger.Register.SetValue

This function sets the value of a register/IO register/SFR.

debugger.Reset

This function resets the CPU.

debugger.ReturnOut

This function runs until control returns to the program that called the current function.

debugger.Run

This function resets and then run the program.

debugger.SoftwareTrace.Delete

This function deletes a software trace.

debugger.SoftwareTrace.Disable

This function disables a software trace.

debugger.SoftwareTrace.Enable

This function enables a software trace.

debugger.SoftwareTrace.Get

This function refers to the software trace data for the specified number of frames.

This function also outputs the acquired software trace data to a file.

debugger.SoftwareTrace.Information

This function displays software trace information.

debugger.SoftwareTrace.Set

This function sets a software trace.

debugger.Step

This function performs step execution.

debugger.Stop

This function stops the execution of the debug tool.

debugger.Timer.Clear

This function clears the result measured by a conditional timer.

debugger.Timer.Delete

This function deletes a conditional timer.

debugger.Timer.Detail

This function sets measurement conditions of a conditional timer.

debugger.Timer.Disable

This function disables a conditional timer.

debugger.Timer.Enable

This function enables a conditional timer.

debugger.Timer.Get

This function references the result measured by a conditional timer.

debugger.Timer.Information

This function displays conditional timer information.

debugger.Timer.Set

This function sets a conditional timer.

debugger.Trace.Clear

This function clears the trace memory.

debugger.Trace.Delete

This function deletes a conditional trace.

debugger.Trace.Disable

This function disables a conditional trace.

debugger.Trace.Enable

This function enables a conditional trace.

debugger.Trace.Get

This function dumps the trace data.

debugger.Trace.Information

This function displays conditional trace information.

debugger.Trace.Set

This function sets a conditional trace.

debugger.Upload.Binary

This function saves the memory data in binary format.

debugger.Upload.Coverage

This function saves the coverage data.

debugger.Upload.Intel

This function saves the memory data in Intel format.

debugger.Upload.IntelIdTag

This function saves the memory data in ID-tagged Intel format.

debugger.Upload.Motorola

This function saves the memory data in Motorola format.

debugger.Upload.MotorolaIdTag

This function saves the memory data in ID-tagged Motorola format.

debugger.Upload.Tektronix

This function saves the memory data in Techtronics format.

debugger.Upload.TektronixIdTag

This function saves the memory data in ID-tagged Techtronics format.

debugger.Watch.GetValue

This function refers to a variable value.

debugger.Watch.SetValue

This function sets a variable value.

debugger.Where

This function displays a stack backtrace.

debugger.Whereami

This function displays a location.

debugger.XCoverage.Clear

This function clears the coverage memory.

debugger.XCoverage.GetCoverage

This function gets the coverage.

debugger.XRunBreak.Delete

This function deletes XRunBreak setting information.

debugger.XRunBreak.Refer

This function displays XRunBreak setting information.

debugger.XRunBreak.Set

This function configures XRunBreak settings.

debugger.XTime

This function displays timing information between Go and Break.

debugger.XTrace.Clear

This function clears the trace memory.

debugger.XTrace.Dump

This function dumps the trace data.