Hi,
I have the DA14580 development board and I'm trying to run the "blinky" test app with Keil MDK.
I facing below error 122 in Command window :
Running with Code Size Limit: 32K
Set JLink Project File to "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 "CORTEX-M0" selected.
JLink info:
------------
DLL: V5.12e, compiled Apr 29 2016 15:03:58
Firmware: J-Link OB-SAM3U128 V1 compiled Mar 29 2016 18:48:55
Hardware: 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) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: 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 FPB
ROMTableAddr = 0xE00FF000
Target info:
------------
Device: ARMCM0
VTarget = 3.300V
State of Pins: TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints: 2
JTAG speed: 5000 kHz
Load "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\\projects\\target_apps\\peripheral_examples\\blinky\\Keil_5\\out\\blinky.axf"
* * * 32768字节码尺寸L限制版本imit
*** Currently used: 3276 Bytes (9%)
**JLink Warning: Mis-aligned memory write: Address: 0x20000000, NumBytes: 3276, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C0, NumBytes: 60, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C0, NumBytes: 60, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C0, NumBytes: 60, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C2, NumBytes: 2, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C2, NumBytes: 2, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C2, NumBytes: 2, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C4, NumBytes: 60, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C4, NumBytes: 60, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C4, NumBytes: 60, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C6, NumBytes: 2, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C6, NumBytes: 2, Alignment: 2 (Halfword-aligned)
**JLink Warning: Mis-aligned memory read: Address: 0x000000C6, NumBytes: 2, Alignment: 2 (Halfword-aligned)
*** error 122: AGDI: memory read failed (0x000000C6)
TeraTerm window also did not appear as expected.
Please advise.
Thank you!
minor-latin;mso-bidi-theme-font:minor-latin;background:white;mso-ansi-language:
EN-US">Hi nabilahderes,
minor-latin;mso-bidi-theme-font:minor-latin;background:white;mso-ansi-language:
EN-US">Please try to deduce the path -for example:
minor-latin;mso-bidi-theme-font:minor-latin;background:white;mso-ansi-language:
EN-US">c:\myWorkshop\DA1458x_SDK\5.0.4\projects\target_apps\peripheral_examples\\blinky
minor-latin;mso-bidi-theme-font:minor-latin;background:white;mso-ansi-language:
EN-US">Also please try to disable all the break points you have set inside your code
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">Thanks, 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">
I tried both advice but same error still occured
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">Hi 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">Could you please let me know if you have this problem only with blinky example? Did you try to run any other projects of the SDK? Also, did you change any configuration on 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">Thanks, PM_Dialog
I tried other project also (e.g I2C_eeprom). same error happen. I don't change any configuration. I use default configuration.
Hi nabilahderes,
Try to unzip the SDK in a new deduced path folder and then re-install the Keil tool and the JLink. After that, try to build the projects. Are you able to build them correct? Be aware that I am not able to replicate your publem, so please try this and let me know.
Thanks, PM_Dialog