connections seen by a PSoC. It uses m8cutil's libprog. Here is an interim
release of m8cutils with the connection checker:
The connection checker is in the directory connchk/. To use it, you need
- a Linux system to run the connection checker on,
- a circuit with a PSoC that talks ISSP and uses reset mode,
- a programmer supported by libprog, e.g., the ridiculously cheap and easy to build
Next, you need to define what the environment of your chip looks like. For example,
a bare chip with two ports without anything connected to them could be defined as:
- Code: Select all
#define ANY Z, 0R, 1R, 0, 1
P0, P1 allow ANY external Z
Then run connchk -d wadsp the_file_from_above
and it'll detect and report any shorted pins and other inconsistencies.
It can of course do more. See connchk/example/README for a few simple examples.
You could do a similar kind of testing already with m8csim, but connchk simplifies this
task by generating all the (possibly hundreds if not thousands) test cases
automatically from the environment description.
This is still very experimental, but I'd be curious about any feedback you may have.