1 问题现象
Fpga固化flash时提示:cannot set cannot set write enable bit or block(s) protected,如下图所示:

2 问题查询与定位
a. 下载release flash protect中的bit到fpga;
b. 读FLASH状态寄存器SR的值(RDSR 05h):在VIO中设置debug _opcode[7:0] =8’h05,debug_dat_len[6:0]=08,然后点击update_tri按钮,然后观察rd_data读回的值;

根据下图可知,SR1的值为1c代表BP[2:0]全为1,block protected。

c. 读FLASH配置寄存器CR的值(RDCR 35h):在VIO中设置debug _opcode[7:0] =8’h35,debug_dat_len[6:0]
订阅专栏 解锁全文
4538




被折叠的 条评论
为什么被折叠?



