Skip to content

Commit 586643b

Browse files
committed
Initial commit
1 parent 12aa3b4 commit 586643b

40 files changed

+17133
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Pub Python dist to TestPyPi
2+
3+
on: push
4+
5+
jobs:
6+
build-n-publish:
7+
name: Build/pub python to testpypi
8+
runs-on: ubuntu-18.04
9+
steps:
10+
- uses: actions/checkout@master
11+
- name: Setup Python 3.7
12+
uses: actions/setup-python@v1
13+
with:
14+
python-version: 3.7
15+
- name: Build ChipShover
16+
run: >-
17+
python host-python/setup.py sdist
18+
- name: Publish to pypi
19+
if: startsWith(github.ref, 'refs/tags')
20+
uses: pypa/gh-action-pypi-publish@master
21+
with:
22+
password: ${{ secrets.py_pi_deploy }}

LICENSE renamed to LICENSE.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
Apache License
23
Version 2.0, January 2004
34
http://www.apache.org/licenses/

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# ChipShover®
2+
3+
ChipShover is an XYZ table & driver, with handy Python interface. It's designed for close analysis of ICs using tools like Electromagnetic Fault Injection (EMFI), EM Probes for side-channel, and more. In both specifications and cost it falls somewhere between between 3D printers & microscope stages.
4+
5+
## Python Interface
6+
7+
A Python interface simplifies use from existing Jupyter notebooks and similar.
8+
9+
Here is an example usage to sweep an IC surface from (10.0, 10.0) to (12.5, 12.5) in 0.05mm steps. Also plunge the Z-axis down to touch a probe to the surface at each location (useful when probe cannot be dragged across surface safely).
10+
11+
from chipshover import ChipShover
12+
13+
shv = ChipShover('com3')
14+
15+
shv.home()
16+
17+
for x,y in shv.sweep_x_y(10, 12.5, 10, 12.5, step=0.05, z_plunge=1.5):
18+
print("At %f, %f"%(x,y))
19+
20+
## Installing ChipShover Python
21+
22+
Install `chipshover` like any other Python package. It should be available on [pypi.org](https://pypi.org/project/chipshover/) so you can do:
23+
24+
pip install chipshover
25+
26+
## Full Python Documentation
27+
28+
See [chipshover.readthedocs.io](http://chipshover.readthedocs.io/) for the full API documentaiton (auto-built from Python).

chipshover/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from .cs import *
2+
from .cs import firmware_update

0 commit comments

Comments
 (0)