Other Parts Discussed in Thread: Z-STACK
I create a new project on IAR for CC2650EM, when I press the debug and download button, I see such erros on the logs:
Verify error at address 0x000007F7, target byte: 0x00, byte in file: 0x40
and it allows me to run the code line by line, but it uses "debug without downloading" functions. it doesn't load the compiled binary. However, if I load the binary via Flash Programmer 2, it works correctly.
Here is the full debug log:
Mon Sep 07, 2015 14:03:07: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm\config\debugger\TexasInstruments\CC26xx.dmac Mon Sep 07, 2015 14:03:08: Connecting to TI XDS100 (Probe no: 06EB12200BF0) Mon Sep 07, 2015 14:03:11: TI XDS ARM, device revision: 0x00000001, big endian: false, cache: false, board revision: 0x00000000, driver revision: 0x0B020200 Mon Sep 07, 2015 14:03:11: Initial reset was performed Mon Sep 07, 2015 14:03:11: Watchdog disabled Mon Sep 07, 2015 14:03:11: 2230 bytes downloaded and verified (10.73 Kbytes/sec) Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x0000079A, target byte: 0x15, byte in file: 0x14 Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007A4, target byte: 0x13, byte in file: 0x12 Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007B4, target byte: 0x0D, byte in file: 0x0F Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007BA, target byte: 0x0D, byte in file: 0x0E Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007C4, target byte: 0x0B, byte in file: 0x0A Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007F0, target byte: 0xA0, byte in file: 0x3F Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007F1, target byte: 0x20, byte in file: 0x42 Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007F2, target byte: 0x02, byte in file: 0x0F Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007F3, target byte: 0x40, byte in file: 0x00 Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007F4, target byte: 0x3F, byte in file: 0xA0 Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007F5, target byte: 0x42, byte in file: 0x20 Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007F6, target byte: 0x0F, byte in file: 0x02 Mon Sep 07, 2015 14:03:11: Warning: Verify error at address 0x000007F7, target byte: 0x00, byte in file: 0x40 Mon Sep 07, 2015 14:03:25: Warning: There were warnings during download, see Log Window Mon Sep 07, 2015 14:03:25: Loaded debugee: C:\ti\cc26xxware_2_21_03_15980\examples\gpio\Debug\Exe\c.out Mon Sep 07, 2015 14:03:26: Target reset Mon Sep 07, 2015 14:03:26: There was 1 warning during the initialization of the debugging session.
How can I fix the problem so that I can download and debug the code through IAR Embedded Workbench (v7.40.3.8938)?

