On Fri, 2021-11-26 at 16:35 +0300, Ivan Ivanov wrote:
Both CMP and WPS bits got set in the status register. The chip was successfully flashed after both bits were cleared.
I'm curious: Please tell, how you clear these CMP and WPS bits? What command do you run to do this?
https://github.com/yanovich/spitest.git
The head commit is for SR3 (it is where WPS is).
I've used a debian bullseye bootstrap and schroot with multiarch to build this tools for raspberry pi. Then from RPi (with raspberry provided fork of debian):
$ ./spitest /dev/spidev0.0