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.

CCS/TMS320F28069M: Cannot get any Motorware Projects to work with CCS7 and XDS110

Part Number: TMS320F28069M
Other Parts Discussed in Thread: DRV8301-69M-KIT, MOTORWARE, DRV8301, UNIFLASH

Tool/software: Code Composer Studio

Hello everyone,

I've managed to go through most of the InstaSpin labs on the DRV8301-69M-KIT with a lot of success. I've transitioned to my own hardware and can't run anything (even lab1) without issues. 

I've done a fresh install of both CCS7 and Motorware 18. I've added a single project (Lab1) from the appropriate directory. Under target configuration, I have changed it to XDS110. I've selected TI v16.9.3.LTS as the compiler. The linker file is F28069F_ram_Ink.cmd.. The runtime library is rts2800_ml.lib. I'm trying to do a RAM debug, not FLASH. 

When I run, I can step through code(F6) until I get to:

HAL_setParams(halHandle,&gUserParams);

Once this happens, I suspend the debugger and see it has stopped at (3ff787:   6F00        SB           0, UNC)

On the hardware, I have left GPIO34 open instead of having a switch, but I have actually measured a high on this pin via the oscilloscope. When the emulator is attached, it seems that it defaults to a get mode state. With an unmodified 28069.gel file found somewhere in the ccs7 directories, I get a startup 0xD00/0xD01 value of 55AA / 0003, respectively. However, if I uncomment the EMU_BOOT_SARAM();, I get the correct 0x55AA/0x000A, indicating boot from RAM. 

Am I missing something? 

I'd appreciate any input on this, thank you!

Stephen