Commit Graph

34 Commits

Author SHA1 Message Date
Petr Nechaev 1bbe448f3a Limit automatic read burst length to 64K
Reading of very large binaries (e.g. 32 MB) can cause stack overflow.
Put a reasonable limit on read burst length.
2022-10-16 15:44:33 +03:00
Gwenhael Goavec-Merou c64f1970d6 spiFlash: stop if jedec_id == 0xffffff 2022-06-02 08:52:56 +02:00
Gwenhael Goavec-Merou d7365495aa spiFlash: fix display: when bp_len==0 -> set bp/tb = 0, otherwise parse reg 2022-04-23 17:58:33 +02:00
Gwenhael Goavec-Merou 7a8ed993f3 spiFlash: bulk_erase: check bp before erase 2022-03-31 06:36:37 +02:00
Gwenhael Goavec-Merou f615627b3c
Merge pull request #204 from rstephan/p_one_flash
Support for the Microchip SST25VF040B flash
2022-03-30 06:45:53 +02:00
Stephan Ruloff 648d8b9e3b Removed `must_relock` part for the "SST25VF040B" as requested 2022-03-29 18:30:23 +02:00
Gwenhael Goavec-Merou f9eb32c778 spiFlash: handle case where TB is not configurable 2022-03-29 07:49:08 +02:00
Stephan Ruloff 8c4b1b3afd Support for the Microchip SST25VF040B flash.
Programming is slow, only one byte at a time :-(
2022-03-25 21:15:09 +01:00
Gwenhael Goavec-Merou 86fa1e01de spiFlash: force subsector only for SST26VF032B 2022-02-26 19:10:18 +01:00
Gwenhael Goavec-Merou add794ab67 spiFlashdb: add microchip SST26VF032B 2022-02-26 16:31:41 +01:00
Gwenhael Goavec-Merou aada7fe26b spiFlash: when no subsector_erase compute end_addr with correct block size 2022-02-26 16:17:49 +01:00
Gwenhael Goavec-Merou 655f2c61ec spiFlash: add no block protect use case 2022-02-26 16:15:50 +01:00
Gwenhael Goavec-Merou 498c01889f spiFlash: fix overflow test (#172) 2022-02-07 07:44:11 +01:00
Gwenhael Goavec-Merou b25e2e0125 spiFlash: enable/disable protection. now handle correctly device with protection enabled 2021-12-22 19:07:00 +01:00
Gwenhael Goavec-Merou 859c1a1a0f spiFlash: erase using 4 or 64Kb 2021-10-20 08:00:21 +02:00
Gwenhael Goavec-Merou c043da874c spiFlash: enable_protection method 2021-10-20 07:43:47 +02:00
Gwenhael Goavec-Merou 3730e8189d spiFlash: extract status register display from read_status_reg 2021-10-19 07:06:46 +02:00
Gwenhael Goavec-Merou d8b8afce99 spiFlash: fix len_to_bp mask 2021-10-18 07:34:27 +02:00
Gwenhael Goavec-Merou dd4e3e40df spiFlash: typo 2021-10-10 18:27:41 +02:00
Gwenhael Goavec-Merou ddcf8fd1b1 spiFlash: add flash_model, method to convert len to block protect and block protect to len 2021-10-10 18:26:04 +02:00
Gwenhael Goavec-Merou 28cbd1faad spiFlash: workaround for dump > 1M 2021-10-02 19:25:04 +02:00
Gwenhael Goavec-Merou b77c5a22df spiFlash: add verify and dump method 2021-07-11 11:32:10 +02:00
Gwenhael Goavec-Merou 8f95303daf move to APACHE-2.0 license 2021-06-26 15:24:07 +02:00
Gwenhael Goavec-Merou 6ae29125ed spiFlash: add a workaround for microchip SST26VF032B / SST26VF032BA 2021-05-05 06:59:02 +02:00
Gwenhael Goavec-Merou c82257c9ba spiFlash: introduce jedec_id 2021-05-05 06:25:00 +02:00
Gwenhael Goavec-Merou ad21a3bb36 recast verbose to int8_t to have more level of verbosity (-1 quiet, 0 normal, 1 verbose), add --quiet option, display progress bar when verbosity level >= 0 2021-01-30 07:57:49 +01:00
Gwenhael Goavec-Merou 31bc9cf988 spiFlash: drop annoying message in write_enable method 2020-08-24 08:52:00 +02:00
Gwenhael Goavec-Merou 4bfb764e75 spiFlash: fix base addr, add method to read flash content and (non)volatile registers + cleanup 2020-08-23 17:14:21 +02:00
Gwenhael Goavec-Merou 0409263f87 unlock block if locked before erase/flash 2020-04-21 19:25:35 +02:00
Gwenhael Goavec-Merou 95f247a25e spiFlash: read extented ID only when len != 0 2020-04-21 09:02:48 +02:00
Gwenhael Goavec-Merou c94f031025 spiFlash: use spiInterface to hide communication details 2020-04-21 09:00:57 +02:00
Vlatko Kosturjak 81d8a8494d Initial Mac OS X support 2020-03-15 08:22:29 +01:00
Gwenhael Goavec-Merou 9c9348f7d0 rename ftdijtag to jtag
- drop everything about ftdi
- use jtagInterface to communicate with hardware
- for all class using jtag: rename FtdiJtag -> Jtag
2020-03-06 09:05:57 +01:00
Fabien Marteau a86eff6b57 Update cmake according to trabucayre request https://github.com/trabucayre/openFPGALoader/pull/17 2020-01-27 09:47:42 +01:00