Skip to main content

A microcontroller simulation Python package

Project description

McuSimulate

一个单片机仿真python包

技术栈

  1. C语言实现仿真引擎,封装为python包
  2. python写脚本控制启动运行等

开发环境

Visual StudioC++ 的桌面开发,conda的python3.13,setuptools wheel

发布

pypi

需要实现:(要求:可以启动仿真后动态添加外部硬件。先写一个外部硬件脚本,用命令运行脚本控制硬件运行)

  1. 主控芯片
  2. 最小外部电路
  3. 可以连接到主控的硬件。例如:可以创建一个uart发生器,给主控芯片发送uart信号
  4. 主控芯片寄存器,引脚电平等监视器
  5. daplink

使用

只要openocd+arm-eabi-none-toolchains+cmake工具链和McuSimulatepython包

方案一:利用OpenOCD的remote_bitbang,启动仿真时让python监听localhost:3335

修改daplinkcfg文件为如下:

adapter driver remote_bitbang
remote_bitbang_port 3335

然后F5cortex-debug启动openocd连接gdb

方案二:启动仿真时让python调用facedancer包虚拟成一个daplink

直接F5cortex-debug启动openocd连接gdb(让openocd自己找虚拟的这个daplink)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcusimulate-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mcusimulate-0.1.0-cp313-cp313-win_amd64.whl (7.2 kB view details)

Uploaded CPython 3.13Windows x86-64

mcusimulate-0.1.0-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (10.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mcusimulate-0.1.0-cp313-cp313-macosx_11_0_arm64.whl (4.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcusimulate-0.1.0-cp312-cp312-win_amd64.whl (7.2 kB view details)

Uploaded CPython 3.12Windows x86-64

mcusimulate-0.1.0-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (10.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mcusimulate-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (4.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcusimulate-0.1.0-cp311-cp311-win_amd64.whl (7.2 kB view details)

Uploaded CPython 3.11Windows x86-64

mcusimulate-0.1.0-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (10.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mcusimulate-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (4.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcusimulate-0.1.0-cp310-cp310-win_amd64.whl (7.2 kB view details)

Uploaded CPython 3.10Windows x86-64

mcusimulate-0.1.0-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (10.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mcusimulate-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (4.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

mcusimulate-0.1.0-cp39-cp39-win_amd64.whl (7.2 kB view details)

Uploaded CPython 3.9Windows x86-64

mcusimulate-0.1.0-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (10.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mcusimulate-0.1.0-cp39-cp39-macosx_11_0_arm64.whl (4.9 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file mcusimulate-0.1.0.tar.gz.

File metadata

  • Download URL: mcusimulate-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcusimulate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 366d4f5a7847e2a47007b7c487d24f284a1688f2dcede70a73b99d04cce1d74d
MD5 465de2c6ab037ecde04a44b98bf36702
BLAKE2b-256 1055ae1445c5fbd71315e87c83039ed02cb6469af4d0fe78a1ea849b2f24d967

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0.tar.gz:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 01fe1832517d984f7bfabb2a12cc2917f7f0d03c932a8c3a3bceadccf788d720
MD5 a88e8db1ef0e3d3f9881079e4c04773b
BLAKE2b-256 59c02595c79b070de14e3c073f6fe3df98f4b7327b740327322e9570eabccf84

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp313-cp313-win_amd64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 fef431772582814a03ec5c229f3654e696c6d38ceeaf557d638b9686fce244a2
MD5 5133d7c4d253eed895ae8548bb966f51
BLAKE2b-256 e7e556972acffd6dc74f71e9d087e5e00209082552f9fa56d70a66fd7444d014

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2f74e7ff17168efe2cc5ddba2a8274749a243ffb613f43de602a2f254509bb8b
MD5 a8710904232da6f0c24d214b25ae54d6
BLAKE2b-256 4e388c22a127fd686e2ba5b9a589addc38857a1503b3096f90481b9ff114b6cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b77d4b0043ec0010ee67e13bffb3bc8edb83d52c8f7641b6d275aae1b31cd2b9
MD5 e82bc4b691ce2bb51d97996bf8db65bd
BLAKE2b-256 8028e9e82f7dd12cd27f8402ee16b2975ab29fe69c6e006fa7d36e297fefd16e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp312-cp312-win_amd64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 808073a126fb395173966f4c76522c1fc719497ce0ad5ff3fdb2c2928d9fec4a
MD5 1038673910d5c2f4b69989bb636bb2f6
BLAKE2b-256 fe1961cb6bb0672075614012e5b5535999c3a595adf400e4fb8d223bcc883ac1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 362866c5a028f7284e9a6efc693ef4d3cd86d830d595fc0247335803ce46260e
MD5 47a811983610c7f9d00cb51d320227a9
BLAKE2b-256 4b558a5bc180d491a089513432b7a4286b96d6599547b9bbfba9585e027555a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5a9e20cf19ae6d1ede8b2305039160dd165dd1354eb5e0f137903509b88f8984
MD5 6f8a16abc0a02b468d9e4a1e0da2eaf9
BLAKE2b-256 3044fc4b1c97f0685ae0f5ce4406c43c6052c3ed59b8df7380a9daf123e23324

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp311-cp311-win_amd64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 88da5f5f463d9be5656eddd96f8e05fd1952dbbc07a1db102b05e87e7a00ba6a
MD5 61d4137077eaacc53859da85d388785f
BLAKE2b-256 48b52cc5406a4bf9ea77a2224ddfd496db8cbaf34b0ecaeed702d257e6323052

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff457addb7ef16b672ec2ef8fc20f130143351e9f19ee2f45ba3f856f455ea57
MD5 e0d12eb64ae194e35491e1ae30a5f27b
BLAKE2b-256 3f5a861a112e268ab7e7cef1783975de3ec5607111e859e0e66e2fd961b04a10

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f51a756848096be149eefa434dd69fd88b879260e917b0b6a08632f2fa22a174
MD5 93a5e4dc9ece27fce19843ccbde66c1e
BLAKE2b-256 773e78ce5bd1334b6b49c83ce8d4126b5e27bf7ddb27a1b99efe9972589d6d5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp310-cp310-win_amd64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 508dbc44d89d15782787a5cc59b2ca37ceb0bbe0a910f198206e140698f8a0be
MD5 22c8194cc9099bce15f2fd6202acf738
BLAKE2b-256 a7f6b6bfa36ea95e5d37ce51b260aab2a468cac937c0a891e420eaebc9f04c43

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 93ccd5fe48c0bec363343b4ce984a16cd941f04387fd857e493db5f58fc530fb
MD5 27ed643b44cc194a18a20f8cfaf730c4
BLAKE2b-256 d7d02f226b93a6275dd85b678d5403397811bed55d44e14caf0a37bc99bf1823

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: mcusimulate-0.1.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcusimulate-0.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f53c7c4286b0727f9083721bbebb2cd65542a19f04f61903efb3ff66043872f7
MD5 5c152a6fb841597a793033f4fb0ea484
BLAKE2b-256 2c303a50fbfe142b87e05b1e0aceaa4b420e37199d2d74c87cd6e23a6cbc34f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp39-cp39-win_amd64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 643ac010502f460261de54923c95e1e61f48d48e6636d07b9da3ae0fb09dd66a
MD5 779bc46313628e6c0fa8d42d269cf35a
BLAKE2b-256 ba1b957d02ec2e5fd7ea5de0a28f56c20996fbc442cd11de9fd29741f9092bbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcusimulate-0.1.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcusimulate-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8877c2f3ad7a4a04390d7d48761d125240c4aa991c3407896c2dd356f5b18a78
MD5 1bc9b16a9d96642b91b864f1f0bb439a
BLAKE2b-256 fa232c8f279e93c6757a90bfbb99f25f607bbb232e2297521d7b49c09e2927e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcusimulate-0.1.0-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: workflows.yml on itgz123/McuSimulate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page