Hi,
I'm following this instructions (https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0428-cn0429-programming-with-custom-firmware#software) step by step to program cn0429 with custom firmware. Attached is the log I get after clicking Download and Debug in IAR.
Mon Mar 28, 2022 18:29:22: IAR Embedded Workbench 9.20.4 (C:\Program Files\IAR Systems\Embedded Workbench 9.0\arm\bin\armPROC.dll)
Mon Mar 28, 2022 18:29:23: Loading the CMSIS-DAP driver
Mon Mar 28, 2022 18:29:23: Probe: CMSIS-DAP probe SW module ver 1.24
Mon Mar 28, 2022 18:29:23: Probe: Connecting to DAPLink CMSIS-DAP:0600000054164e450047600706ee0013b4a1000197969900 firmware v.1.0
Mon Mar 28, 2022 18:29:23: Emulation layer version 4.97
Mon Mar 28, 2022 18:29:23: Notification to core-connect hookup.
Mon Mar 28, 2022 18:29:23: Connected DAP v1 on SWD. Detected DP ID=0x2ba01477.
Mon Mar 28, 2022 18:29:23: Connecting to TAP#0 DAP AHB-AP-CM port 0x0 (IDR=0x2477'0011).
Mon Mar 28, 2022 18:29:23: Recognized CPUID=0x412fc231 Cortex-M3 r2p1 arch ARMv7-M
Mon Mar 28, 2022 18:29:23: Debug resources: 2 instruction comparators, 1 data watchpoints.
Mon Mar 28, 2022 18:29:23: LowLevelReset(system, delay 200)
Mon Mar 28, 2022 18:29:23: CPU status - IN RESET
Mon Mar 28, 2022 18:29:23: Loaded debugee: C:\Analog Devices\ADuCM355V2.1.0.54\examples\M355_CN0429\iar\Debug\Exe\M355_CN0429.out
Mon Mar 28, 2022 18:29:23: The downloaded program doesn't seem to match the expected memory layout of the target system:
Mon Mar 28, 2022 18:29:23: There are linked memory segments outside known memory areas or with incompatible memory attributes.
Mon Mar 28, 2022 18:29:23: Memory is specified as follows:
Mon Mar 28, 2022 18:29:23: 0x0 - 0x1fff'ffff ROM/Flash
Mon Mar 28, 2022 18:29:23: 0x2000'0000 - 0x21ff'ffff RAM
Mon Mar 28, 2022 18:29:23: 0x2200'0000 - 0x23ff'ffff RAM
Mon Mar 28, 2022 18:29:23: 0x4000'0000 - 0x41ff'ffff Uncached/SFR
Mon Mar 28, 2022 18:29:23: 0x4200'0000 - 0x43ff'ffff Uncached/SFR
Mon Mar 28, 2022 18:29:23: 0xe000'0000 - 0xffff'ffff Uncached/SFR
Mon Mar 28, 2022 18:29:23: Segments are linked as follows:
Mon Mar 28, 2022 18:29:23: 0x0 - 0x13f ROM/Flash
Mon Mar 28, 2022 18:29:23: 0x180 - 0x197 ROM/Flash
Mon Mar 28, 2022 18:29:23: 0x7fc - 0x7ff RAM
Mon Mar 28, 2022 18:29:23: 0x800 - 0x5d69 ROM/Flash
Mon Mar 28, 2022 18:29:23: 0x2000'0000 - 0x2000'05c6 RAM
Mon Mar 28, 2022 18:29:23: 0x2000'05c8 - 0x2000'0bab RAM
Mon Mar 28, 2022 18:29:23: 0x2000'1c00 - 0x2000'1fff RAM
Mon Mar 28, 2022 18:29:23: 0x2004'0000 - 0x2004'464f RAM
Mon Mar 28, 2022 18:29:23: Verification error at 0x1: mem = 0x40, file = 0x20
Mon Mar 28, 2022 18:29:23: Download completed but verification failed.
Mon Mar 28, 2022 18:29:24: LowLevelReset(software, delay 200)
Mon Mar 28, 2022 18:29:24: Target reset
Mon Mar 28, 2022 18:29:24: INFO: Configuring trace using 'SWO,ETB' setting...
Mon Mar 28, 2022 18:29:24: INFO: SWO trace mode is not supported by the probe (use I-jet/I-jet-Trace probe) - trace is disabled.
Mon Mar 28, 2022 18:29:24: There were 1 error and 4 warnings during the initialization of the debugging session.
Could you please advise where the problem is?
Thank you,
Ehsan