# F042等無BOOT0_Pin 的MCU燒入後不執行處理

1. 開啟 STM32CubeProgrammer
![image](https://hackmd.io/_uploads/HkgkwOvAxg.png)
2. 點選左邊的「OB (Option Bytes)」
![image](https://hackmd.io/_uploads/H1F7r_PCel.png)
![image](https://hackmd.io/_uploads/SybAXdwCel.png)
4. 依下表修改：

| 參數 | 建議值 | 說明|
| -------- | -------- | -------- |
|nBOOT_SEL	|0	|使用 BOOT0 腳決定啟動來源|
|nBOOT0	|0|	BOOT0=0 時啟動 Flash|
|RDP	|0xAA	|關閉讀取保護|
|BOOT_LOCK|	0	|不鎖定啟動|

4. 點擊「Apply」
5. 確保 BOOT0 接地（0）
6. 再燒錄一次程式，然後拔掉 ST-Link，重新上電測試。