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

47 Commits

Author SHA1 Message Date
gstellenberg
6a0c819939 When setting up defaults, set up the driver groups before enabling the drivers since the FPGA now uses the groups to set the initial polarity. 2009-10-29 00:02:26 -05:00
gstellenberg
df1bbb084e Added code to set the polarity of driver group 18 and drivers 144-151 for WPC machineTypes to 1 for the 8-driver board. 2009-10-26 12:03:55 -05:00
gstellenberg
a6ac5122e5 Cleanup for VerifyChipID logic. 2009-10-25 15:24:33 -05:00
gstellenberg
9550ba1223 Added debug for startup crashes, and put a while loop of 50 max iterations around VerifyChipID(). 2009-10-25 15:05:58 -05:00
preble
b81b80c311 Fixed compiler warnings. 2009-10-25 10:43:06 -04:00
gstellenberg
c51af65a05 Initialize buffer pointers before using. 2009-10-24 23:11:30 -05:00
gstellenberg
96093802a6 Display chip_id and version as Errors so they are always printed. 2009-10-24 11:46:39 -05:00
gstellenberg
dd12016b0f Double flush read buffer on startup. 2009-10-23 22:18:48 -05:00
gstellenberg
520a8a5b17 Added support for WPC switch matrix columns 8 and 9. 2009-10-21 21:03:16 -05:00
gstellenberg
cee4aab5a2 Fixed logic comparing the requested machineType against the P-ROC's machine type. 2009-10-20 23:41:21 -05:00
Adam Preble
4ac76276d0 Added handling for 'custom' machineType to pypinproc. Set error text on machine type failure in PRCreate. 2009-10-17 18:09:09 -04: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
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
3f36b408ca Separated machineType stern into sternSAM and sternWhitestar. 2009-09-28 23:33:09 -05:00
gstellenberg
24a2ab662e Use kPRMachineCustom as an override to the machineType protection 2009-09-27 00:37:47 -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
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
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
7543c30881 Added public PRWriteData and PRReadData for low level debug 2009-05-31 17:32:29 -05: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
87c73a1f06 Added log levels. Fixed bug in PRDevice::Open() if VerifyChipID() worked the first time. 2009-05-30 14:43:48 -04: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
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
gstellenberg
a609cfdb42 Fixed switch rule linking and completed DMD configuration 2009-05-22 21:46:35 -05:00
Adam Preble
77fe39aec5 Resolved watchdog change conflicts. 2009-05-20 23:20:25 -04:00
Adam Preble
9716e222a7 Reworked eventType out of PRSwitchRule and into the PRSwitchesUpdateRule() param list.
Added PRDriverState* functions for manipulating PRDriverState, removed helper functions for same from PRDevice.
2009-05-20 23:11:48 -04:00
gstellenberg
ec47b8fac1 Added support for configuring and tickling the watchdog timer. 2009-05-20 21:01:20 -05:00
Adam Preble
c46d928ee3 Added new PRSwitchesUpdateSwitch() call, removed old PRSwitchesUpdateSwitches(). Added maintaining switch rules in memory. Fixed license formatting in README.markdown. 2009-05-20 20:17:00 -04:00
Adam Preble
62d3176463 Tabs to spaces. 2009-05-19 21:21:20 -04:00
Adam Preble
0a0756c2b5 Initial commit. 2009-05-19 21:08:38 -04:00