2022-01-07 10:29:58 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2020-09-28 21:09:19 +00:00
|
|
|
# You probably don't need this - it is a basic test of the serial flash on the TTGO eink board
|
|
|
|
|
2021-01-16 02:34:46 +00:00
|
|
|
nrfjprog --qspiini nrf52/ttgo_eink_qpsi.ini --qspieraseall
|
2020-09-28 21:09:19 +00:00
|
|
|
nrfjprog --qspiini nrf52/ttgo_eink_qpsi.ini --memwr 0x12000000 --val 0xdeadbeef --verify
|
|
|
|
nrfjprog --qspiini nrf52/ttgo_eink_qpsi.ini --readqspi spi.hex
|
|
|
|
objdump -s spi.hex | less
|