Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XIVN1987/MCUProg
/ functions
Functions
1,066 in github.com/XIVN1987/MCUProg
⨍
Functions
1,066
◇
Types & classes
129
↓ 3 callers
Method
read_memory_block32
(self, addr, size)
pyocd/debug/cache.py:449
↓ 3 callers
Function
sysm_to_psr_mask
(sysm)
pyocd/coresight/cortex_m.py:194
↓ 3 callers
Method
write8
(self, addr, value)
pyocd/core/memory_interface.py:51
↓ 3 callers
Method
write_memory
(self, addr, data, transfer_size=32)
pyocd/core/memory_interface.py:25
↓ 2 callers
Method
EraseSector
(self, addr)
device/flash.py:48
↓ 2 callers
Method
__init__
(self, context, io_handler=None, console=None)
pyocd/debug/semihost.py:358
↓ 2 callers
Method
_abort_all_transfers
Abort any ongoing transfers and clear all buffers
pyocd/probe/pydapaccess/dap_access_cmsis_dap.py:1003
↓ 2 callers
Method
_apply_to_all_components
(self, action, filter=None)
pyocd/core/coresight_target.py:212
↓ 2 callers
Method
_check_cache
(self)
pyocd/debug/cache.py:104
↓ 2 callers
Method
_check_cache
(self)
pyocd/debug/cache.py:238
↓ 2 callers
Method
_check_regions
(self, addr, count)
pyocd/debug/cache.py:400
↓ 2 callers
Method
_convert_and_check_registers
(self, reg_list)
pyocd/debug/cache.py:114
↓ 2 callers
Method
_flush_all
(self)
pyocd/debug/breakpoints/manager.py:173
↓ 2 callers
Method
_get_input
! @brief Extract requested amount of data from the read buffer.
pyocd/utility/server.py:131
↓ 2 callers
Function
_get_interfaces
Get the connected USB devices
pyocd/probe/pydapaccess/dap_access_cmsis_dap.py:50
↓ 2 callers
Method
_init_deferred_buffers
Initialize or reinitalize all the deferred transfer buffers Calling this method will drop all pending transactions so use wi
pyocd/probe/pydapaccess/dap_access_cmsis_dap.py:844
↓ 2 callers
Method
_map_to_vector_catch_mask
(mask)
pyocd/coresight/cortex_m.py:1212
↓ 2 callers
Method
_start
(self)
pyocd/utility/progress.py:63
↓ 2 callers
Method
add_provider
(self, provider, type)
pyocd/debug/breakpoints/manager.py:32
↓ 2 callers
Method
addr2sect
(cls, addr)
device/STM32F405_LS.py:34
↓ 2 callers
Method
available_breakpoints
(self)
pyocd/debug/breakpoints/provider.py:42
↓ 2 callers
Method
available_breakpoints
(self)
pyocd/coresight/fpb.py:90
↓ 2 callers
Function
bitmask
! @brief Returns a mask with specified bit ranges set. An integer mask is generated based on the bits and bit ranges specified by the arg
pyocd/utility/mask.py:17
↓ 2 callers
Method
can_support_address
(self, addr)
pyocd/coresight/fpb.py:97
↓ 2 callers
Method
clear
(self)
pyocd/utility/sequencer.py:74
↓ 2 callers
Method
clear_debug_cause_bits
(self)
pyocd/coresight/cortex_m.py:707
↓ 2 callers
Method
clear_sticky_err
(self)
pyocd/coresight/dap.py:315
↓ 2 callers
Method
close
! @brief Close the session. Uninits the board and disconnects then closes the probe.
pyocd/core/session.py:286
↓ 2 callers
Method
contains_range
! @return Whether the given range is fully contained by the region.
pyocd/core/memory_map.py:71
↓ 2 callers
Function
filter_device_by_class
! @brief Test whether the device should be ignored by comparing bDeviceClass. This function checks the device's bDeviceClass to determine whe
pyocd/probe/pydapaccess/interface/common.py:45
↓ 2 callers
Function
filter_device_by_usage_page
! @brief Test whether the device should be ignored by comparing the HID usage page. This function performs device-specific tests to determine
pyocd/probe/pydapaccess/interface/common.py:63
↓ 2 callers
Method
find_watchpoint
(self, addr, size, type)
pyocd/coresight/dwt.py:118
↓ 2 callers
Method
get_all_connected_interfaces
returns all the connected devices which matches PyUSB.vid/PyUSB.pid. returns an array of PyUSB (Interface) objects
pyocd/probe/pydapaccess/interface/pyusb_backend.py:153
↓ 2 callers
Method
get_device
Return the DAPAccess device with the give ID
pyocd/probe/pydapaccess/dap_access_api.py:103
↓ 2 callers
Method
get_intersecting_regions
(self, start, end=None, length=None, range=None)
pyocd/core/memory_map.py:370
↓ 2 callers
Method
get_regions_of_type
(self, type)
pyocd/core/memory_map.py:374
↓ 2 callers
Method
get_result
Get the result of this transfer.
pyocd/probe/pydapaccess/dap_access_cmsis_dap.py:128
↓ 2 callers
Method
get_state
(self)
pyocd/core/target.py:201
↓ 2 callers
Method
get_target_context
(self, core=None)
pyocd/core/coresight_target.py:326
↓ 2 callers
Method
halt
(self)
openocd.py:148
↓ 2 callers
Method
halt
(self)
xlink.py:166
↓ 2 callers
Method
has_task
(self, name)
pyocd/utility/sequencer.py:84
↓ 2 callers
Method
init
(self)
pyocd/utility/sockets.py:29
↓ 2 callers
Method
init
(self)
pyocd/coresight/ap.py:157
↓ 2 callers
Method
invalidate
(self)
pyocd/debug/cache.py:496
↓ 2 callers
Method
invoke
(self)
pyocd/utility/sequencer.py:187
↓ 2 callers
Function
is_known_cmsis_dap_vid_pid
! @brief Test whether a VID/PID pair belong to a known CMSIS-DAP device.
pyocd/probe/pydapaccess/interface/common.py:41
↓ 2 callers
Method
is_running
(self)
pyocd/core/target.py:208
↓ 2 callers
Method
load
(self)
pyocd/debug/svd.py:33
↓ 2 callers
Method
lock
(self)
device/STM32F103_LS.py:35
↓ 2 callers
Method
lock
(self)
device/STM32F405_LS.py:48
↓ 2 callers
Method
open
(self, fnptr, fnlen, mode)
pyocd/debug/semihost.py:121
↓ 2 callers
Function
parseHex
解析 .hex 文件,提取出程序代码,没有值的地方填充0xFF
MCUProg.py:410
↓ 2 callers
Method
read
! @brief Return bytes read from the connection.
pyocd/utility/server.py:148
↓ 2 callers
Method
read8
(self, addr, now=True)
pyocd/core/memory_interface.py:63
↓ 2 callers
Method
read_id_code
(self)
pyocd/coresight/dap.py:109
↓ 2 callers
Method
read_id_registers
(self)
pyocd/coresight/rom_table.py:188
↓ 2 callers
Method
read_memory_block32
read a block of aligned words in memory. Returns an array of word values
pyocd/coresight/cortex_m.py:646
↓ 2 callers
Method
read_reg
(self, reg)
openocd.py:133
↓ 2 callers
Method
read_reg
Read a single word to a DP or AP register
pyocd/probe/pydapaccess/dap_access_api.py:230
↓ 2 callers
Method
read_reg
(self, addr, now=True)
pyocd/coresight/dap.py:124
↓ 2 callers
Method
read_reg
(self, addr, now=True)
pyocd/coresight/ap.py:170
↓ 2 callers
Method
reg_add_alias
(self)
xlink.py:27
↓ 2 callers
Method
remove
(self, ptr, length)
pyocd/debug/semihost.py:145
↓ 2 callers
Method
reset
! @brief Reset the core. The reset method is selectable via the reset_type parameter as well as the reset_type session option
pyocd/coresight/cortex_m.py:847
↓ 2 callers
Method
resetStopOnReset
perform a reset and stop the core on the reset handler
xlink.py:295
↓ 2 callers
Method
reset_did_occur
(self)
pyocd/coresight/ap.py:234
↓ 2 callers
Method
resume
(self, addr=None)
openocd.py:157
↓ 2 callers
Method
sections
(self)
pyocd/debug/elf/elf.py:205
↓ 2 callers
Method
seek
(self, fd, pos)
pyocd/debug/semihost.py:139
↓ 2 callers
Method
set_clock
(self, frequency)
pyocd/coresight/dap.py:162
↓ 2 callers
Method
set_swj_clock
(self, clock=1000000)
pyocd/probe/pydapaccess/cmsis_dap_core.py:260
↓ 2 callers
Method
set_target_context
(self, context)
pyocd/coresight/cortex_m.py:1278
↓ 2 callers
Method
stop_swo
(self)
pyocd/probe/pydapaccess/interface/pyusb_v2_backend.py:138
↓ 2 callers
Method
swj_sequence
Send sequence to activate JTAG or SWD on the target
pyocd/probe/cmsis_dap_probe.py:181
↓ 2 callers
Method
swo_configure
Enable or disable SWO and set the baud rate.
pyocd/probe/pydapaccess/dap_access_api.py:201
↓ 2 callers
Method
swo_mode
(self, mode)
pyocd/probe/pydapaccess/cmsis_dap_core.py:408
↓ 2 callers
Method
swo_transport
(self, transport)
pyocd/probe/pydapaccess/cmsis_dap_core.py:391
↓ 2 callers
Function
to_str_safe
(v)
pyocd/utility/compatibility.py:51
↓ 2 callers
Method
unlock
(self)
device/STM32F103_LS.py:31
↓ 2 callers
Method
unlock
(self)
device/STM32F405_LS.py:44
↓ 2 callers
Method
wait_ready
(self)
device/STM32F103_LS.py:38
↓ 2 callers
Method
wait_ready
(self)
device/STM32F405_LS.py:51
↓ 2 callers
Method
write_core_register
write a CPU register. Will need to pack floating point register values before writing.
pyocd/debug/context.py:84
↓ 2 callers
Method
write_core_registers_raw
Write one or more core registers Write core registers in reg_list with the associated value in data_list. If any register i
pyocd/coresight/cortex_m.py:1104
↓ 2 callers
Method
write_mem_
(self, addr, data, width)
openocd.py:82
↓ 2 callers
Method
write_mem_U8
(self, addr, data)
xlink.py:104
↓ 2 callers
Method
write_memory_block32
(self, addr, data)
pyocd/debug/cache.py:493
↓ 2 callers
Method
write_reg
Write a single word to a DP or AP register
pyocd/probe/pydapaccess/dap_access_api.py:226
↓ 1 callers
Method
EraseChip
(self)
device/flash.py:73
↓ 1 callers
Method
FlashInfo
parse Flash Info defined in struct FlashDevice, that defined in file FlashDev.c
device/flashAlgo.py:79
↓ 1 callers
Method
ProgramPage
(self, addr, data)
device/flash.py:55
↓ 1 callers
Method
Read
(self, addr, size)
device/flash.py:83
↓ 1 callers
Method
Verify
(self, addr, data)
device/flash.py:64
↓ 1 callers
Method
__init__
(self, parent=None)
MCUProg.py:33
↓ 1 callers
Method
__init__
(self, probe, options=None, **kwargs)
pyocd/core/session.py:90
↓ 1 callers
Method
__init__
(self, filename=None, vendor=None, is_local=False)
pyocd/debug/svd.py:27
↓ 1 callers
Method
__init__
(self, context)
pyocd/debug/cache.py:226
↓ 1 callers
Method
__init__
(self, provider)
pyocd/debug/breakpoints/software.py:23
↓ 1 callers
Method
__init__
(self, size)
pyocd/probe/pydapaccess/dap_access_cmsis_dap.py:162
← previous
next →
101–200 of 1,066, ranked by callers