Tom Collins
ed6540858b
cleanup: unbuffered stdout to avoid fflush()
...
By setting stdout to unbuffered, the user always sees our output and we
can eliminate the fflush() calls sprinkled throughout the programs.
2020-08-18 13:13:16 -05:00
Tom Collins
bb14a68037
cleanup: move "\n" from start to end of printf() output
2020-08-18 13:13:16 -05:00
Tom Collins
83f8f116f9
pinprocfw: code cleanup
2020-08-18 13:13:16 -05:00
Tom Collins
286cb1aa38
Merge remote-tracking branch 'preble/bug/pinprocfw_p3roc_rev' into dev
2020-06-24 18:12:32 -07:00
Tom Collins
a14aaef0b2
pinprocfw: always print an error if file parsing fails
2020-06-24 10:01:00 -07:00
Tom Collins
acd55d6d69
pinprocfw: call PRDelete() even if file doesn't parse
...
Previously we'd fail to call PRDelete(), which may have been causing
some of my problems with attempting to re-connect to the P-ROC.
I assume PRDelete() closes out the connection in some way.
2020-06-24 10:00:00 -07:00
Tom Collins
f44cacd54e
pinprocfw: use correct checkPROCFile() return type
...
Quiets a compiler warning, and matches the `file_board_id` declaration.
2020-06-23 22:35:22 -07:00
Tom Collins
fed1d7e398
pinprocfw: add missing return to verifyP3ROCImage()
2020-06-23 22:34:13 -07:00
p3
31e7b0b784
Parsing of board ID for P3-ROC and P-ROC are now different. Both read from address 3, but P3-ROC is bits 11:8, and P-ROC is bits 7:4.
2020-05-22 12:54:19 -05:00
Tom Collins
50a6bbc7a6
utils: fix fprintf() compiler warnings in pinprocfw
2015-04-20 16:58:25 -07:00
Gerry Stellenberg
7d7c1b8d04
Fixed P3-ROC verify bug with readback timing.
2013-07-07 09:05:42 -05:00
Gerry Stellenberg
a9f35706da
Changes for p3-roc
2013-06-25 18:54:54 -05:00
Gerry Stellenberg
d47694682a
Changed version to 1.1
2012-02-19 10:18:47 -06:00
Gerry Stellenberg
7a77f9c03b
Changed pinprocfw's version to 1.0
2011-07-08 16:40:38 -05:00
Gerry Stellenberg
5fb16ba80a
Moved display of updating/erasing messages to after the XSVF data starts being processed. These messages will no longer get displayed if the XSVF data is corrupt.
2011-06-29 12:40:29 -05:00
Gerry Stellenberg
95b9cb8193
Changed some error message formatting.
2011-06-29 00:53:50 -05:00
Gerry Stellenberg
23a0d02803
Added .p-roc file format version check so that p.roc file format changes won't be misinterpreted.
2011-06-28 11:24:07 -05:00
Gerry Stellenberg
5c61bd2bf0
Added support for the .p-roc file format.
2011-06-28 11:02:12 -05:00
Gerry Stellenberg
c53227c90e
Added progress status to pinprocfw. Also added the drive_outputs_now parameter to PRSwitchUpdateRule() and associated methods. When true and FPGA version is 1.17 (non-debug) or higher), the P-ROC will check the switch state to see if the drivers should be processed immediately.
2011-02-17 21:40:06 -06:00
preble
f02e9464ce
Merge branch 'dev' of github.com:preble/libpinproc into dev
...
Conflicts:
utils/pinprocfw/pinprocfw.cpp
2011-02-02 21:56:42 -05:00
preble
9adb4c6c6b
Fixed pinprocfw compile warnings.
2011-02-02 21:51:39 -05:00
Gerry Stellenberg
a7130131f3
More tweaks for MSVC support, and eliminated deprecated conversion warnings from pinprocfw.cpp.
2011-01-16 18:06:29 -06:00
Gerry Stellenberg
a07206ff39
More small tweaks for MSVC.
2011-01-02 18:02:07 -06:00
Gerry Stellenberg
93274c40bd
Use custom machine type so that it will run regards of the machine the P-ROC is installed in.
2009-10-02 15:56:19 -05:00
gstellenberg
0ca7e4c9f1
Replace sleep() with PRSleep() for cross-platform compiling
2009-07-12 22:17:03 -05:00
gstellenberg
583b7113c5
Fixed bug due to unitialized variables in PRJTAGDriveOutputs calls
2009-07-12 17:41:32 -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