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.

Compiler/TMS320F28379D: Debug problem

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

Hii,

I am trying to generate SVPWM using LAUNCHXL-28379D. The progem run successfully without any error but it shows me an error during debug. The error are shown below:

C28xx_CPU1: Error adding memory map range: invalid page specified
C28xx_CPU1: Error adding memory map range: invalid page specified
C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1LINKPOINTER1"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1LINKPOINTER1"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1LINKPOINTER2"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1LINKPOINTER3"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1PSWDLOCK"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1CRCLOCK"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1OTPBOOTCTRL"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1GRABSECT"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1GRABRAM"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1EXEONLYSECT"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z1EXEONLYRAM"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2LINKPOINTER1"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2LINKPOINTER1"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2LINKPOINTER2"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2LINKPOINTER3"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2PSWDLOCK"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2CRCLOCK"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2OTPBOOTCTRL"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2GRABSECT"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2GRABRAM"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2EXEONLYSECT"
C28xx_CPU1: Error occurred during flash operation: Unknown property "Z2EXEONLYRAM"
C28xx_CPU1: Error occurred during flash operation: Unknown property "FlashCoreSelection"
C28xx_CPU1: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.
C28xx_CPU1: Flash Programmer: Missing Flash Programming Settings.
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File: C:\Users\HP\workspace_v6_1\adc_soc_epwm_cpu01\CPU1_FLASH\adc_soc_epwm_cpu01.out: Load failed.

Please suggest me where the problem is.

  • Hi Roohi,

    It looks like CPU2 is running while you are trying to load the code into CPU1, hence you are getting this error. 

    Also, there are multiple errors occurring related to linker command file.

    Are you using one of the example codes in C2000Ware?

    Did you make sure memory allocation is done correctly?

    Did you compile the code with build configuration set to Flash?

    Regards,

    Nirav

  • Hii,

    Yes I compile the code with build configuration set to flash, I am using adc_soc_epwm_cpu01 code and had done some modification in it. Even after using other examples without any modification it shows a debug problem when running from flash while it debug successfully when running from ram.

  • What is the state of CPU2, did you connect it to debugger? Maybe you want to disconnect CPU2 if it is connected and then try to load your code?

    If that does not work, can you try it on a different part?

    Regards,

    Nirav