ecpprog.git
3 years agoFix typo in error message
Simeon Miteff [Sun, 8 Aug 2021 03:25:04 +0000 (13:25 +1000)]
Fix typo in error message

3 years agoecpprog: Improve reset procedure
Sylvain Munaut [Tue, 8 Jun 2021 16:25:56 +0000 (18:25 +0200)]
ecpprog: Improve reset procedure

Doesn't work 100% of the time, for 100% of the flashes but for windbond
ones, it at least goes from 0% success if it was in QPI to 100% if
I try twice in a row.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
3 years agojtag_tap: Rewrite jtag_tap_shift to support non-multiple-of-8 data_bits
Sylvain Munaut [Tue, 8 Jun 2021 16:24:51 +0000 (18:24 +0200)]
jtag_tap: Rewrite jtag_tap_shift to support non-multiple-of-8 data_bits

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
3 years agojtag_tap: Make the MIN macro safer
Sylvain Munaut [Tue, 8 Jun 2021 16:24:16 +0000 (18:24 +0200)]
jtag_tap: Make the MIN macro safer

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
3 years agojtag_tap: Whitespace fixes
Sylvain Munaut [Tue, 8 Jun 2021 16:23:56 +0000 (18:23 +0200)]
jtag_tap: Whitespace fixes

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
3 years agoAdd a new option to reboot the ECP5 after any operation (#5)
Luigi Ungaro [Fri, 26 Mar 2021 00:08:05 +0000 (01:08 +0100)]
Add a new option to reboot the ECP5 after any operation (#5)

* add a new option to reboot the ECP5 after any operation

4 years agosram mode: don't transmit trailing invalid bytes
Greg Davill [Sun, 20 Sep 2020 10:30:02 +0000 (20:00 +0930)]
sram mode: don't transmit trailing invalid bytes

4 years agoMerge pull request #2 from edbordin/master
Gregory Davill [Sun, 26 Jul 2020 03:28:43 +0000 (12:58 +0930)]
Merge pull request #2 from edbordin/master

set file_size in read mode

4 years agoset file_size in read mode
Ed Bordin [Sun, 26 Jul 2020 03:24:50 +0000 (13:24 +1000)]
set file_size in read mode

currently it stays set to -1 and ecpprog reports e.g. "reading..    4190208/4294967295" (the latter number being 0xFFFFFFFF)

4 years agoupdated readme
Greg Davill [Sun, 19 Apr 2020 10:27:51 +0000 (19:57 +0930)]
updated readme

4 years agoprogress output on read/write. Add SR2 readout
Greg Davill [Sun, 19 Apr 2020 10:20:02 +0000 (19:50 +0930)]
progress output on read/write. Add SR2 readout

4 years agotidy up code
Greg Davill [Sun, 19 Apr 2020 08:31:25 +0000 (18:01 +0930)]
tidy up code

4 years agointial loading bitstream logic works
Greg Davill [Sun, 19 Apr 2020 08:09:10 +0000 (17:39 +0930)]
intial loading bitstream logic works

4 years agoshift out bytes instead of bits, when possible
Greg Davill [Sun, 19 Apr 2020 05:30:11 +0000 (15:00 +0930)]
shift out bytes instead of bits, when possible

4 years agoadd readme
Greg Davill [Sun, 19 Apr 2020 04:10:03 +0000 (13:40 +0930)]
add readme

4 years agomove project into folder
Greg Davill [Sun, 19 Apr 2020 04:00:19 +0000 (13:30 +0930)]
move project into folder

4 years agocleanup warnings and errors
Greg Davill [Sun, 19 Apr 2020 03:53:21 +0000 (13:23 +0930)]
cleanup warnings and errors

4 years agoflash functions soould now operate correctly
Greg Davill [Sun, 19 Apr 2020 03:43:07 +0000 (13:13 +0930)]
flash functions soould now operate correctly

4 years agoupdate jtag_shift
Greg Davill [Sun, 19 Apr 2020 03:38:15 +0000 (13:08 +0930)]
update jtag_shift

4 years agocleanup of un-used code
Greg Davill [Sun, 19 Apr 2020 03:13:17 +0000 (12:43 +0930)]
cleanup of un-used code

4 years agofix issue with missing data
Greg Davill [Sun, 19 Apr 2020 03:05:35 +0000 (12:35 +0930)]
fix issue with missing data

4 years agoFix clock divider
Greg Davill [Sun, 19 Apr 2020 02:02:02 +0000 (11:32 +0930)]
Fix clock divider

4 years agomore speedups
Greg Davill [Sat, 18 Apr 2020 16:36:18 +0000 (02:06 +0930)]
more speedups

4 years agosome more jtag speedups
Greg Davill [Sat, 18 Apr 2020 16:28:30 +0000 (01:58 +0930)]
some more jtag speedups

4 years agospeed up jtag xfers
Greg Davill [Sat, 18 Apr 2020 15:57:35 +0000 (01:27 +0930)]
speed up jtag xfers

4 years agoslight speedup to jtag-tap
Greg Davill [Sat, 18 Apr 2020 15:24:41 +0000 (00:54 +0930)]
slight speedup to jtag-tap

4 years agofix flag decoding
Greg Davill [Sat, 18 Apr 2020 14:49:10 +0000 (00:19 +0930)]
fix flag decoding

4 years agoupdate program name
Greg Davill [Sat, 18 Apr 2020 14:46:40 +0000 (00:16 +0930)]
update program name

4 years agoadd readout of status register
Greg Davill [Sat, 18 Apr 2020 14:35:15 +0000 (00:05 +0930)]
add readout of status register

4 years agoremove some ice40 specifics
Greg Davill [Sat, 18 Apr 2020 14:05:30 +0000 (23:35 +0930)]
remove some ice40 specifics

4 years agoupdate copyright
Greg Davill [Sat, 18 Apr 2020 13:58:54 +0000 (23:28 +0930)]
update copyright

4 years agoupdate to background spi entry
Greg Davill [Sat, 18 Apr 2020 13:54:41 +0000 (23:24 +0930)]
update to background spi entry

4 years agoadd idcode readout
Greg Davill [Sat, 18 Apr 2020 12:20:04 +0000 (21:50 +0930)]
add idcode readout

4 years agoadd jtag_tap logic from luna
Greg Davill [Sat, 18 Apr 2020 11:59:53 +0000 (21:29 +0930)]
add jtag_tap logic from luna

4 years agoinitial commit, start with iceprog as a base
Greg Davill [Sat, 18 Apr 2020 09:52:27 +0000 (19:22 +0930)]
initial commit, start with iceprog as a base