Alexey Starikovskiy
1908ccd83b
make output buffer const
2023-08-29 19:51:41 +03:00
Gwenhael Goavec-Merou
4bf4b94bbb
cables: verbose type coherency
2023-07-30 08:39:15 +02:00
Gwenhael Goavec-Merou
3babd5d07d
spiInterface: add read method
2023-03-05 10:13:08 +01:00
Rod Whitby
c36eb1d0a8
spiFlash: Fix return value checking polarity and error reporting in protect_flash() and unprotect_flash()
...
The return value fro flash.enable_protection is an integer, where 0 means success. So it must be compared to 0 to result in a true value for ret.
If flash.disable_protect() returns non-zero, then ret will be false, so there's no point in doing a std::to_string on ret. You would need an integer intermediate value if you wanted to print the error value.
2022-11-06 18:56:07 +10:30
Rod Whitby
de5aff7a96
spiFlash: Add --bulk-erase command line option
...
Adds a --bulk-erase command line option for bulk erasure of SPI flash.
2022-11-06 18:56:07 +10:30
Gwenhael Goavec-Merou
051e2ecbfb
add option to bypass reset in SPI write mode. Adapt altera accordingly
2022-05-24 07:29:35 +02:00
Simon Buhrow
847a5040cf
add skip_load_bridge cmd-line parameter
2022-05-23 11:51:16 +02:00
Gwenhael Goavec-Merou
db410839af
spiInterface: unprotect_flash: fix return. Improve messages
2022-04-30 20:16:30 +02:00
Gwenhael Goavec-Merou
de2917428e
spiInterface: add common method to (un)protect, write and dump SPI flash content
2021-12-22 19:01:58 +01:00