```sh write(){ str="" for arg do str+=" ${arg}" done /home/mameluc/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI -c port=SWD mode=UR -q -ob "${str}" } echo RDP: Read Out protection Level 1 write RDP=0xBB echo RDP+ESE: Read Out protection Level 0 + Security disabled write RDP=0xAA ESE=0x0 echo WRP: Write Protection disabled write WRP1A_STRT=0x7F WRP1A_END=0x0 WRP1B_STRT=0x7F WRP1B_END=0x0 echo ------ User Configuration ------ echo nRST: No reset generated when entering the Stop/Standby/Shutdown modes write nRST_STOP=0x1 nRST_STDBY=0x1 nRST_SHDW=0x1 echo WDG_SW: Software window/independent watchdogs write WWDG_SW=0x1 IWDG_SW=0x1 echo IWDG: Independent watchdog counter frozen in Stop/Standby modes write IWGD_STDBY=0x0 IWDG_STOP=0x0 echo BOOT: CPU1+CPU2 CM0+ Boot lock disabled write BOOT_LOCK=0x0 C2BOOT_LOCK=0x0 echo ------ Security Configuration ------ echo HDPAD: User Flash hide protection area access disabled write HDPAD=0x1 echo SPISD: SPI3 security disabled write SUBGHSPISD=0x1 echo SBRSA: Reset default value of SRAM Start address secure write SNBRSA=0x1F SBRSA=0x1F echo SBRV: Reset default value of CPU2 Boot start address write SBRV=0x8000 ```