This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Programming application on CC1310f32 using XDS100v3 fails

Other Parts Discussed in Thread: CC1310

Hi all,

I am trying to program a CC1310f32 with a basic TI resource explorer example : rfPacketTx/rfPacketRx using XDS100v3 but I'm getting the following error message : 

Cortex_M3_0: GEL Output: Memory Map Initialization Complete.

Cortex_M3_0: GEL Output: Board Reset Complete.

Cortex_M3_0: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.

Cortex_M3_0: File Loader: Verification failed: Values at address 0x000000000001FFA8 do not match Please verify target memory and memory map.

Cortex_M3_0: GEL: File: C:\Users\user\workspace_v6_1\rfPacketTx_CC1310DK_7XD_TI\Release\rfPacketTx_CC1310DK_7XD_TI.out: a data verification error occurred, file load failed.

I already tried to program the same example using a smartRF06 board and a CC1310f128 and everything went well. 

I also know that the CC1310f32 is a Sub-1 GHz so I modified the following line in the rf_mailbox.h :

#define RF_MODE_PROPRIETARY        RF_MODE_PROPRIETARY_SUB_1

as seen on this topic : e2e.ti.com/.../490937

I am using CCS 6.1.2 to flash the chip.

Thanks by advance 

Florian

#define RF_MODE_PROPRIETARY        RF_MODE_PROPRIETARY_SUB_1

  • Hello Florian,
    This type of error ("data verification error") is a fairly common one that is documented in the below wiki article:
    processors.wiki.ti.com/.../Troubleshooting_CCS_-_Data_Verification_Errors

    Please see the above link for more details and troubleshooting suggestions.

    Thanks
    ki
  • Thank you very much Ki-Soo Lee !

    I solved my problem.

    In fact there was a memory map problem because I was using a CC1310f128 program for a CC1310f32.

    I just had to modify the constant FLASH_SIZE in CC1310DK_7XD.cmd file :

    #define FLASH_BASE              0x0

    #define FLASH_SIZE              0x8000

    #define RAM_BASE                0x20000000

    #define RAM_SIZE                0x5000

     

    So I changed the FLASH_SIZE from 0x20000 to 0x8000.

     

    But now I have another problem of programming. I obtain this error when the debugger and the JTAG are launched.

    Cortex_M3_0: GEL Output: Memory Map Initialization Complete.

    Cortex_M3_0: GEL Output: Board Reset Complete.

    Cortex_M3_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.14.5) 

    Cortex_M3_0: Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

    I think I have set up well the configuration because the test connection was successful.

  • Following this guide, I tried to connect with the CC1310 : e2e.ti.com/.../926061

    I passed through the 5 first point, without any problem.
    Now, correct me if I'm wrong, but I believe I had to write a 0 at the last address possible (0xFFFF_FFFE in the post, 0x7FFE in my case) to generate a system reset.
    Once I write 0 and type Return, the content of the memory (which was 0xFF before) sets itself to the last value : 0xFF.

    Then I click to connect and then, just below te emulator/Cortex_M3_0, appears an error : 0x10003A12 (no symbols are defined for 0x10003A12)
    I can then click on "view disassembly", but I don't know much of assembly so it doesn't helps me..

    Thanks
    Florian