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.

HV DC AC Inverter - Unable to Program F28M35 - TMDSHV1PHINVKIT


I am unable to program m3 and c28 into the F28M35

I am using a +15V lab supply and CCS V5.3.  

I get to "Target -> Load Program" section and it goes from "Suspended" to "Running" but never finishes.

 

Here is what the CCS TI Window Explorer says when I try to "Target -> Load Program":

Cortex_M3_0: GEL Output: Memory Map Initialization Complete
Cortex_M3_0: Error connecting to the target: (Error -1141 @ 0x0) Device is not responding to the request. 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 5.0.872.0) 
Cortex_M3_0: GEL Output: Watchdog Timers Enabled
Cortex_M3_0: GEL Output: UARTs Enabled
C28xx_0: GEL Output: 
Memory Map Initialization Complete
C28xx_0: Trouble Writing Memory Block at 0x4922 on Page 1 of Length 0x2: (Error -1141 @ 0x0) Device is not responding to the request. 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 5.0.872.0) 
C28xx_0: GEL Output: 
RAM Initialization 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: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x204ef0: (Error -1066 @ 0x204EF0) Unable to set requested breakpoint in memory. Verify that the breakpoint address is in writable memory. (Emulation package 5.0.872.0) 
Cortex_M3_0: Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x206d78: (Error -1066 @ 0x206D78) Unable to set requested breakpoint in memory. Verify that the breakpoint address is in writable memory. (Emulation package 5.0.872.0) 
C28xx_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.

  • Daniel,

    1) Were you able to program this device at least once before you got this issue?
    2) Did you check for updates in CCS and install the updates related to your emulator, 'DebugServer Flash' and 'C2000 Device Support'?
    3) What is the configuration of the boot mode pins that you are using?
    4) What is the revision of the device?

    Thanks and regards,
    Vamsi
  • Vamsi-

    1) No. Just got it and tried to program it following a process on the E2E community.
    2) What is my emulator? The USB cable that came with my kit?
    3) Not sure - how do I check? I followed the TMDSHV1PHINVKIT quick start guide Page 6 picture with jumper placement on the F28M35.
    4) How do I check?

    I followed the following steps (from E2E community) - getting to 15 - but never got the flashing to complete - it was running.


    You can follow the following steps to load the .out file on the control card:

    1. the control card should be powered and a green LED, indication power should light up on the control card.
    2. Open “Code Composer Studio"
    3. Once Code Composer Studio opens, the workspace launcher may appear that would ask to select a workspace location,: (please note workspace is a location on the hard drive where all the user settings for the IDE i.e. which projects are open, what configuration is selected etc. are saved, this can be anywhere on the disk, the location mentioned below is just for reference. Also note that if this is not your first-time running Code Composer this dialog may not appear)
    4. Click the “Browse…” button
    5. Create the path below by making new folders as necessary.
    6. “C:\Documents and Settings\My Documents\ CCS_workspaces\Concerto_Inv”
    7. Un check the box that says “Use this as the default and do not ask again”.
    8. Click “OK”
    9. Next we will configure Code Composer to know which MCU it will be connecting to. Click “Target -> New Target Configuration…”. Name the new configuration xds100v2-f28M35x.ccxml. Make sure that the “Use shared location” checkbox is checked and then click Finish.
    10. A new tab will now appear. Select and enter the options as shown:
    i. Connection – Texas Instruments XDS100v2 USB Emulator
    ii. Device – TMS320F28M35H52C1
    iii. Click Save
    iv. Close the xds100v2-f28m35x.ccxml tab
    11. Go to “View->Target Configurations”. In the “User Defined” section, right-click on the xds100v2-f28m35x.ccxml file and click launch selected configuration. CCS will now switch to the debug perspective and two controllers will appear in the debug window.
    12. Now in the Debug window right click on the M3 and click connect Target. Do same for the C28x.
    13.Now select the M3 tab in the debug window and click Target-> Load Program, and browse to the M3 image
    Solar_HV_DC-AC_Concertot_M3.out
    14. Then select the C28x tab and click Target-> Load Program, and browse to the image
    Solar_HV_DC-AC_Concerto_C28.out
    15. Once the flashing is complete, terminate the debug session in CCS by clicking . and close CCSv4
    16. Power cycle the board and see if you see the LED blinking now..
    Thanks,
    Dan
  • Dan,

    1) Ok.
    2) Texas Instruments XDS100V2 USB debug probe.
    3) Check Table 6-1. M-Boot ROM Boot Mode in TRM (www.ti.com/.../spruh22g.pdf)
    4) Check DID0 register in TRM.

    Thanks and regards,
    Vamsi
  • Dan,

    Any update?
    Did you try serial boot mode configuration for the boot mode GPIOs before using CCS Flash Plugin?

    Thanks and regards,
    Vamsi
  • Dan,

    Were you able to program F28M35x using CCS Flash Plugin?
    Can we close this thread?

    Thanks and regards,
    Vamsi