diff --git a/manufacturing/programming/firmware_v21_20211028.bin b/manufacturing/programming/firmware_v21_20211028.bin new file mode 100755 index 0000000..579990e Binary files /dev/null and b/manufacturing/programming/firmware_v21_20211028.bin differ diff --git a/manufacturing/programming/program.sh b/manufacturing/programming/program.sh index 85f0894..4594d1b 100755 --- a/manufacturing/programming/program.sh +++ b/manufacturing/programming/program.sh @@ -1,2 +1,3 @@ #!/bin/bash -/Applications/STMicroelectronics/STM32Cube/STM32_Programmer_CLI -c port=SWD -e all -w /Users/willem/Documents/PROJECTS/Leo-led-truck/manufacturing/programming/firmware20210720_short.bin 0x08000000 -ob RDP=0xBB \ No newline at end of file +/Applications/STMicroelectronics/STM32Cube/STM32_Programmer_CLI -c port=SWD -ob RDP=0xAA +/Applications/STMicroelectronics/STM32Cube/STM32_Programmer_CLI -c port=SWD -e all -w /Users/willem/Documents/PROJECTS/Leo-led-truck/manufacturing/programming/firmware_v21_20211028.bin 0x08000000 -ob RDP=0xBB \ No newline at end of file diff --git a/manufacturing/programming/unlockOB.sh b/manufacturing/programming/unlockOB.sh new file mode 100755 index 0000000..b296728 --- /dev/null +++ b/manufacturing/programming/unlockOB.sh @@ -0,0 +1,3 @@ +#!/bin/bash +/Applications/STMicroelectronics/STM32Cube/STM32_Programmer_CLI -c port=SWD -ob RDP=0xAA +/Applications/STMicroelectronics/STM32Cube/STM32_Programmer_CLI -c port=SWD -e all