Regarding the MASS ERASE, I was trying on my own to erase either part or all of the memory to try any interaction with it.
- Have you tried writing without MASS ERASE?
- Are you trying to write a hex file for the first time? Or were you able to write them before without any problems?
- Is the connection between ST-Link and the target board correct?
ST-Link Target Board
SWCLK <----> CLK
SWDIO <----> DIO
GND <----> GND
Please refer to the following connection.
‘Programming LoRa-E5 with Arduino, LoRa-E5 mini Point to Point Comminucation over 24 km - #8 by msfujino’