你好,
我有DA14580开发板,我试图用Keil MDK运行“blinky”测试应用程序。
我面临下面的错误122命令窗口:
运行代码大小限制:32K
将JLink项目文件设置为“C:\Users\ALMA1090004\Documents\SDK 5.0.4\SDK 5.0.4 _devkt - pro \SDK 5.0.4\DA1458x_SDK_5.0.4\DA1458x_SDK\5.0.4\projects\target_apps\peripheral_examples\blinky\Keil_5\JLinkSettings.ini”* JLink Info: Device“cortexm0”selected。
JLink信息:
------------
DLL: V5.12e, Apr 29 2016 15:03:58编译
固件:J-Link OB-SAM3U128 V1编译2016年3月29日18:48:55
硬件:V1.00
S / N: 480067800
* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: Found Cortex-M0 r0p0, Little endian。
* JLink Info: FPUnit: 4 code (BP)插槽和0字面值插槽
* JLink信息:corelight组件:
* JLink信息:ROMTbl 0 @ E00FF000
* JLink Info: ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 000BB00B fbb
ROMTableAddr = 0 xe00ff000
目标信息:
------------
设备:ARMCM0
VTarget = 3.300 v
引脚状态:TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
监测点:2
JTAG速度:5000千赫
加载“C:\\SDK 5.0.4\\SDK 5.0.4 _devkt - pro \\SDK 5.0.4\\DA1458x_SDK_5.0.4\\DA1458x_SDK\ 5.0.4\项目\target_apps\ peripheral_examples\ blinky\ Keil_5\ out\ blinky.axf”
***受限版本32768字节代码大小限制
***当前使用:3276字节(9%)
**JLink Warning: misaligned memory write: Address: 0x20000000, NumBytes: 3276, Alignment: 2(半字对齐)
**JLink Warning: misaligned memory read: Address: 0x000000C0, NumBytes: 60, Alignment: 2 (Halfword-aligned)
**JLink Warning: misaligned memory read: Address: 0x000000C0, NumBytes: 60, Alignment: 2 (Halfword-aligned)
**JLink Warning: misaligned memory read: Address: 0x000000C0, NumBytes: 60, Alignment: 2 (Halfword-aligned)
**JLink Warning: misaligned memory read: Address: 0x000000C2, NumBytes: 2, Alignment: 2 (Halfword-aligned)
**JLink Warning: misaligned memory read: Address: 0x000000C2, NumBytes: 2, Alignment: 2 (Halfword-aligned)
**JLink Warning: misaligned memory read: Address: 0x000000C2, NumBytes: 2, Alignment: 2 (Halfword-aligned)
**JLink Warning: misaligned memory read: Address: 0x000000C4, NumBytes: 60, Alignment: 2(半字对齐)
**JLink Warning: misaligned memory read: Address: 0x000000C4, NumBytes: 60, Alignment: 2(半字对齐)
**JLink Warning: misaligned memory read: Address: 0x000000C4, NumBytes: 60, Alignment: 2(半字对齐)
**JLink Warning: misaligned memory read: Address: 0x000000C6, NumBytes: 2, Alignment: 2 (Halfword-aligned)
**JLink Warning: misaligned memory read: Address: 0x000000C6, NumBytes: 2, Alignment: 2 (Halfword-aligned)
**JLink Warning: misaligned memory read: Address: 0x000000C6, NumBytes: 2, Alignment: 2 (Halfword-aligned)
*** error 122: AGDI: memory read failed (0x000000C6)告警解释
TeraTerm窗口也没有像预期的那样出现。
请建议。
谢谢你!
minor-latin;mso-bidi-theme-font:minor-latin;background:white;mso-ansi-language:
EN-US">嗨nabilahderes,
minor-latin;mso-bidi-theme-font:minor-latin;background:white;mso-ansi-language:
EN-US">请试着推断路径例如:
minor-latin;mso-bidi-theme-font:minor-latin;background:white;mso-ansi-language:
EN-US">c: \ myWorkshop \ DA1458x_SDK \ 5.0.4 \ \ target_apps \作品peripheral_examples \ \项目
minor-latin;mso-bidi-theme-font:minor-latin;background:white;mso-ansi-language:
EN-US">另外,请尝试禁用代码中设置的所有断点
minor-latin;mso-bidi-theme-font:minor-latin;border:none windowtext 1.0pt;
mso-border-alt:none windowtext 0cm;padding:0cm;background:white;mso-ansi-language:
EN-US">谢谢,PM_Dialog mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:
minor-latin;background:white;mso-ansi-language:EN-US">
我尝试了两个建议,但同样的错误仍然发生
minor-latin;mso-bidi-theme-font:minor-latin;border:none windowtext 1.0pt;
mso-border-alt:none windowtext 0cm;padding:0cm;background:white;mso-ansi-language:
EN-US">嗨nabilahderes,
minor-latin;mso-bidi-theme-font:minor-latin;border:none windowtext 1.0pt;
mso-border-alt:none windowtext 0cm;padding:0cm;background:white;mso-ansi-language:
EN-US">你能告诉我,如果你只有闪烁的例子有这个问题吗?你试过运行SDK的其他项目吗?还有,你改变了Keil上的配置吗?
minor-latin;mso-bidi-theme-font:minor-latin;border:none windowtext 1.0pt;
mso-border-alt:none windowtext 0cm;padding:0cm;background:white;mso-ansi-language:
EN-US">谢谢,PM_Dialog
我也尝试了其他项目(例如I2C_eeprom)。同样的错误发生。我不改变任何构型。我使用默认配置。
嗨nabilahderes,
尝试将SDK解压到一个新的导出路径文件夹中,然后重新安装Keil工具和JLink。在那之后,尝试建立项目。你能正确地构建它们吗?请注意,我不能复制你的出版物,所以请尝试这个,让我知道。
谢谢,PM_Dialog