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

61 Commits

Author SHA1 Message Date
Gerry Stellenberg
b493bc702a Merge branch 'dev' of git@github.com:preble/libpinproc into dev 2010-12-30 18:01:16 -06:00
Gerry Stellenberg
b58c868a8f Removed debug printf from aux logic 2010-12-30 18:01:04 -06:00
Gerry Stellenberg
e08e4cde52 Minor changes to avoid compilation errors in MSVC 2010-12-29 17:21:34 -06:00
Gerry Stellenberg
3ffb3b6f53 Added delay param to aux_output commands 2010-12-04 22:28:16 -06:00
preble
23cf3b374b Minor improvements. Fixed PRSleep() on POSIX platforms. 2010-06-14 01:02:49 -04:00
Gerry Stellenberg
c29a6daa48 Added additional includes for better cross-platform compilation support. 2010-05-12 18:10:00 -05:00
gstellenberg
e7ffc77566 Set reloadActive bit on switch rule updates. 2010-04-30 20:38:37 -05:00
gstellenberg
25c4fe2d0b Added kPRMachineTypeWPCAlphanumeric to differentiate between WPC machines needing an Aux port for alphanumeric control versus those using a DMD. Also added default driver code to configure the FPGA's Manager Config register. 2010-04-10 23:17:55 -05:00
gstellenberg
f5754d961b Added support for Aux Port and Pulsed Patter 2010-04-04 14:19:43 -05:00
preble
ed7f0153f0 Improved error reporting. PRGetEvents() now returns -1 if an error occurred. 2010-03-28 14:23:07 -04:00
gstellenberg
00009be170 Fixed linked rules free list maintenance bug. 2010-02-23 13:20:21 -06:00
gstellenberg
3155dc9a10 Fixed switch event typo. 2010-02-17 10:35:37 -06:00
gstellenberg
c7367fc5ee Changed VerifyChipID retries to 5 now that it's ignoring unrequested data. Should really only need to be 1. 2009-10-30 23:50:44 -05:00
gstellenberg
8f6357fcb4 Changed VerifyChipID to use SortReturningData instead of just ReadData so it will ignore nonrequested events like DMD events. 2009-10-30 23:30:47 -05:00
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