-
Notifications
You must be signed in to change notification settings - Fork 23
MiniPro programmer how‐to
This is currently an experimental feature in CRT, evaluating if this brings value and how it can be improved. The feature may or may not be removed in a future version, depending on general user acceptance of its implementation.
- Go to
Configurationtab:- Check the
Enable experimental mode for MiniPro prgrammer - There is no need for you to enable the simulated demo mode, as this is used for CRT development only
- Check the
If you use Windows then the MiniPro application is distributed with the CRT application, and it can be used out-of-the-box, but if you use Linux or macOS, then you will need to compile the sources for the MiniPro and make the executable avilable in PATH.
Source for MiniPro on Linux and macOS:
- https://gitlab.com/DavidGriffith/minipro/-/releases (0.7.4 as-of this writing)
Nothing special needed here as Windows binary included.
sudo apt install build-essentialsudo apt install pkg-configsudo apt install libusb-1.0-0-devsudo apt install zlib1g-devvi ~/.profile- Add at bottom the path for the
miniproexecutable:export PATH="$PATH:/home/user/path-to-minipro-executable"
- Check from anywhere in a terminal session, that you can execute the
miniproapplication
brew install minipro
This should install everything automatically, but if you need to build it manually, then you can try these steps, and let me know what to change if it does not work (as a help for others):
brew install pkg-configbrew install libusbbrew link libusbvi ~/.profile- Add at bottom the path for the
miniproexecutable:export PATH="$PATH:/home/user/path-to-minipro-executable"
- Check from anywhere in a terminal session, that you can execute the
miniproapplication
- Go to a logic component (e.g.
7406or74LS139or alike) and open the component information popup- Click the
Test this IC with MiniPro programmerbutton - Click the
Run testbutton - it should finalize almost instantly
- Click the
- Go to the PLA component
- Click the
Test this IC with MiniPro programmerbutton - Check both the two
Quick (25)andStandard (512)forTest depth - Click the
Run testbutton - it should finalize almost instantly - Do not run the
Full (65536)test depth, as this will take too long and fail (will be fixed in future versions) - Click the
Run testbutton
- Click the
You can for sure trust the result, if test reports as FAIL... then the IC is for sure broken, but if the test reports as SUCCESS, then you need to pay attention to this fact:
- Truth-table is tested OK - no issues in that, so logically the IC is working
- Timing is not tested, so in some cases it could potentially be problematic or fail in the real physical C64, if it switches faster than what is being tested in CRT
The reason for this is that the MiniPro hardware (TL866/T48/T56) is simply not fast enough for this timing test! As a best-guess then the IC most likely will work without any issues in the C64 if tested OK in CRT.
We have already discovered an issue with the PLA 65K test taking "too long time" to execute - from ~1 minute to ~5 minutes, depending on system. Jonathan will be investigating this, but ideally we should know first IF this should be implemented in a public version (question above).
There currently is a "Demo mode" checkbox - just ignore that, as this is only needed for Jonathans development :-)
UI is not final and we need to figure out exactly how it should be implemented. Maybe the current as-is is fine for the first public version, but ideas are welcome - does the current UI work well (except that UI stall when testing PLA 65K)?