你好。我有一个问题。我尝试将 LCD1602 连接到 stm32f100c4t6b。没有 LCD 程序工作没有错误。但是当我连接基于 MCU HD44780 的 LCD1602 时,我的程序失败了。
当我尝试通过 ST-LINK 读取内存时,我出错了。“无法读取内存禁用读出保护并重试”。我知道 MCU 设置了锁定位。在 ST-LINK 中,我可以选择选项字节并禁用“读出保护”。
拆解清单是这样的
- 1ffff759: Failed to execute MI command:
- -data-disassemble -s 536868697 -e 536868742 -- 3
- Error message from debugger back end:
- Cannot access memory at address 0x1ffff758
- 1ffff75a: Failed to execute MI command:
- -data-disassemble -s 536868698 -e 536868742 -- 3
- Error message from debugger back end:
- Cannot access memory at address 0x1ffff75a
- 1ffff75b: Failed to execute MI command:
- -data-disassemble -s 536868699 -e 536868742 -- 3
- Error message from debugger back end:
- Cannot access memory at address 0x1ffff75a
- 1ffff75c: Failed to execute MI command:
- -data-disassemble -s 536868700 -e 536868742 -- 3
- Error message from debugger back end:
- Cannot access memory at address 0x1ffff75c
- 1ffff75d: Failed to execute MI command:
- -data-disassemble -s 536868701 -e 536868742 -- 3
- Error message from debugger back end:
- Cannot access memory at address 0x1ffff75c
这完全是记忆。
为什么会这样?没有 LCD 一切正常,但是当我连接 LCD 时程序崩溃。我在哪里弄错了?
Sheme 连接 LCD 到 stm 看起来像那样。对于 DB0-DB7,RS,E 我使用 stm 的 portb
你好。我有一个问题。我尝试将 LCD1602 连接到 stm32f100c4t6b。没有 LCD 程序工作没有错误。但是当我连接基于 MCU HD44780 的 LCD1602 时,我的程序失败了。
当我尝试通过 ST-LINK 读取内存时,我出错了。“无法读取内存禁用读出保护并重试”。我知道 MCU 设置了锁定位。在 ST-LINK 中,我可以选择选项字节并禁用“读出保护”。
拆解清单是这样的
- 1ffff759: Failed to execute MI command:
- -data-disassemble -s 536868697 -e 536868742 -- 3
- Error message from debugger back end:
- Cannot access memory at address 0x1ffff758
- 1ffff75a: Failed to execute MI command:
- -data-disassemble -s 536868698 -e 536868742 -- 3
- Error message from debugger back end:
- Cannot access memory at address 0x1ffff75a
- 1ffff75b: Failed to execute MI command:
- -data-disassemble -s 536868699 -e 536868742 -- 3
- Error message from debugger back end:
- Cannot access memory at address 0x1ffff75a
- 1ffff75c: Failed to execute MI command:
- -data-disassemble -s 536868700 -e 536868742 -- 3
- Error message from debugger back end:
- Cannot access memory at address 0x1ffff75c
- 1ffff75d: Failed to execute MI command:
- -data-disassemble -s 536868701 -e 536868742 -- 3
- Error message from debugger back end:
- Cannot access memory at address 0x1ffff75c
这完全是记忆。
为什么会这样?没有 LCD 一切正常,但是当我连接 LCD 时程序崩溃。我在哪里弄错了?
Sheme 连接 LCD 到 stm 看起来像那样。对于 DB0-DB7,RS,E 我使用 stm 的 portb
举报