1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00
Commit Graph

111 Commits

Author SHA1 Message Date
gstellenberg
672c48c61d Added code to parse Fxxx notation for WPC flipper coils, distinguish between WPC and WPC95 in coil numbering, and remap WPC coils between 37 and 44 to x + 101 to use P-ROC's enable[8] which goes to the 8-driver board 2009-10-10 23:02:03 -05:00
gstellenberg
e496c5d35e Split kPRMachineWPC into WPC and WPC95 2009-10-10 22:58:58 -05:00
Gerry Stellenberg
9b0322a4fc Only set up machine type defaults if not kPRMachineCustom. 2009-10-02 15:55:30 -05:00
Gerry Stellenberg
2efa0ad54c Added function IsStern() to assest PRDevice.cpp in determining the machineType. 2009-10-01 22:46:18 -05:00
Gerry Stellenberg
2a48ff79c9 Added high current drive protection to default WPC and Stern coils. Adjusted Stern driver group times to reflect latest FPGA 1.11, and moved some machineType determination logic into a function in PRHardware.cpp. 2009-10-01 22:45:37 -05:00
Gerry Stellenberg
12e81a4510 Separated kPRMachineStern into ...SternSAM and ...SternWhitestar and added SternWhitestar decodes. 2009-09-28 23:35:42 -05:00
Gerry Stellenberg
3f36b408ca Separated machineType stern into sternSAM and sternWhitestar. 2009-09-28 23:33:09 -05:00
gstellenberg
d767e74258 Fix error in Stern switch mappings. 2009-09-27 01:05:57 -05:00
gstellenberg
24a2ab662e Use kPRMachineCustom as an override to the machineType protection 2009-09-27 00:37:47 -05:00
gstellenberg
600845fe52 Added an internal variable readMachineType to hold the machineType read from the board. 2009-09-27 00:27:27 -05:00
gstellenberg
fba3d5354b Made some adjustments for initial Stern experiments. Also added a check of the requested machineType against the machineType read from the P-ROC. Create() fails if the check fails 2009-09-27 00:26:46 -05:00
gstellenberg
08d7655d27 Added Stern code to PRDecode 2009-09-27 00:25:13 -05:00
Adam Preble
5dbe3e696f libpinproc: fixed uninitialized memory that could cause memory consumption leading to a crash.
pypinproc: changed linker path to point to ../bin.  Added note about running in 64-bit environment (Snow Leopard).
pyprocgame: debug printing enhancements
jdtest: Fixed bug (not clearing out drop target mode).  Added initial Splash.dmd.
2009-09-21 23:12:41 -04:00
gstellenberg
0a4aefdd6c Added support for DMD frame events and new switch event enable. 2009-07-12 16:11:19 -05:00
gstellenberg
71255a0034 Merge branch 'master' of git@github.com:preble/P-ROC 2009-06-28 22:35:58 -05:00
gstellenberg
6b810edd78 Added pinprocfw, a utility to verify/update the P-ROC's firmware (FPGA image). 2009-06-28 22:33:02 -05:00
Adam Preble
b106f44e8a Python progress. Bugfix in PRDevice.cpp. 2009-06-22 18:31:38 -04:00
gstellenberg
3926fbb84e Resolved a number of build issues with WIN32 builds 2009-06-12 10:03:18 -05:00
gstellenberg
a2cf25620b Resolved a number of build issues with WIN32 builds 2009-06-12 10:00:20 -05:00
gstellenberg
b1ce47989c Resolved a number of build issues with WIN32 builds 2009-06-12 09:57:00 -05:00
gstellenberg
789ac049db Resolved a number of build issues with WIN32 builds 2009-06-12 09:47:43 -05:00
gstellenberg
419269a60d Added D2XX support 2009-06-01 11:07:56 -05:00
gstellenberg
f1e47d6a75 Merge branch 'master' of git@github.com:preble/P-ROC 2009-05-31 17:32:40 -05:00
gstellenberg
7543c30881 Added public PRWriteData and PRReadData for low level debug 2009-05-31 17:32:29 -05:00
Adam Preble
cd1d74db81 Added missing switch matrix formula for PRDecode(). 2009-05-31 17:29:03 -04:00
Adam Preble
c91d32dc3f Added PRDecode(), updated TZ.yaml to reflect it. 2009-05-31 17:23:09 -04:00
Adam Preble
084c9160a5 Resolved conflict in PRDevice.cpp. Also bringing in Ruby and Python ext progress. 2009-05-31 13:12:21 -04:00
Adam Preble
33351abf41 Added & integrated PRDriverLoadMachineTypeDefaults(). 2009-05-31 13:05:32 -04:00
gstellenberg
1045923258 Merge branch 'switch_dev' 2009-05-31 11:26:01 -05:00
gstellenberg
2fc0732908 Implemented PRSwitchGetStates to retrieve the current state of each switch 2009-05-31 11:25:09 -05:00
Adam Preble
71fc6c9b52 Added PRGetLastErrorText(). 2009-05-31 10:47:51 -04:00
Adam Preble
87d5b17c74 Added kPRLogVerbose. 2009-05-30 15:08:14 -04:00
Adam Preble
269ad3df71 Added PRLogSetLevel() implementation. 2009-05-30 14:57:42 -04:00
Adam Preble
87c73a1f06 Added log levels. Fixed bug in PRDevice::Open() if VerifyChipID() worked the first time. 2009-05-30 14:43:48 -04:00
Adam Preble
495d688106 Changed outputDriverTime to 8 bits. Also changed Pulse function param. 2009-05-30 14:07:24 -04:00
Adam Preble
afc63b4460 Added setting of FTDI latency timer to improve PRHardwareRead() times that were slowing down reading switch events. 2009-05-29 21:41:47 -04:00
gstellenberg
528d3b4842 Made FlushWriteData public. 2009-05-29 12:14:51 -05:00
gstellenberg
183046ce8c Added PRFlushWriteData 2009-05-29 12:13:53 -05:00
gstellenberg
375f2f4005 Implement ganged writes to improve USB utilization 2009-05-29 12:05:25 -05:00
Adam Preble
9b1765e94c Reworked PRReset() logic with respect to switch rules. 2009-05-28 23:43:23 -04:00
Adam Preble
b3b1298d23 Reworked PRReset() and added kPRResetFlag* #defs. 2009-05-27 21:29:18 -04:00
gstellenberg
06442264a1 Made PRDevice::Reset public for use in pinproctest and added a parameter to allow the disabled driver and switch rule structures to be written to the P-ROC. 2009-05-27 19:10:44 -05:00
gstellenberg
a26a9f5ce8 Merge branch 'master' of git@github.com:preble/P-ROC 2009-05-26 23:09:45 -05:00
Adam Preble
059c096531 Updated pinproctest to load switches and coils from command-line specified YAML file.
Removed Makefiles.  Added instructions to install yaml-cpp in /usr/local so CMake can find it (relative paths == bad).
2009-05-26 23:36:09 -04:00
gstellenberg
8fd8939ee8 Added private Shutdown() method to PRDevice to disable all drivers and switch rules before Close(). 2009-05-26 21:05:55 -05:00
Adam Preble
c5ca833732 Merge branch 'dev' 2009-05-26 20:23:39 -04:00
Adam Preble
511d5d49c4 Moved libftdi-specific code to PRHardware.cpp and added abstract PRHardware*() functions.
Added PRCommon.h.
2009-05-26 20:18:36 -04:00
gstellenberg
0f4976c5e5 Implemented PRSwitchUpdateConfig 2009-05-25 22:27:50 -05:00
Adam Preble
dcd9c560d3 Added CMake building and instructions to README.markdown.
Removed YAML loading code from libpinproc.
2009-05-25 01:40:08 -04:00
gstellenberg
f1f31b846b resolved merge conflicts 2009-05-22 22:36:20 -05:00