Hi,
I wish to evaluate InstaSPIN with Piccolo MCU, I was given the following setup:
Windows 7 Pro x64, CCS 5.4.0, XDS100v2, Piccolo 28027 controlCARD, DRV8312EVM RevD driver board.
I am having problem launching debug session using MotorWare example projects.
I imported the projects under C:\ti\MotorWare\MotorWare_1_01_00_09\sw\solutions\instaspin_foc\boards\drv8312kit_revD\f28x\f2802xF\projects\ccs5 and tried to launch debug session but got the follow error message (with verbose output enabled under Debug configurations>Target>F28027 Flash Settings).
C28xx: Writing Flash @ Address 0x003F16BF of Length 0x00000035
C28xx: Erasing Flash Sector A
C28xx: Finish Writing Flash @ Address 0x003F16BF of Length 0x00000035
C28xx: Writing Flash @ Address 0x003F0000 of Length 0x000016BF
C28xx: Erasing Flash Sector A
C28xx: Flash Programmer: Error encountered when writing to flash memory
C28xx: Error Writing Flash @ Address 0x003F0000 of Length 0x000016BF
C28xx: GEL: File: C:\ti\MotorWare\MotorWare_1_01_00_09\sw\solutions\instaspin_foc\boards\drv8312kit_revD\f28x\f2802xF\projects\ccs5\proj_lab01\Debug\proj_lab01.out: Load failed.
Launching debugging session with "Load symbol only" option (in Debug configurations>Program) selected is having no problem.
Using UniFlash to Erase the flash sectors returned the following error:
[16:47:18] ERROR >> C28xx: Flash Programmer: Error erasing flash memory. Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
[16:47:19] Flash operation Erase failed on core Texas Instruments XDS100v2 USB Emulator/C28xx .
The DIP switches on the controlCARD is currently set to below (as in the hardware guide):
SW2: DOWN-UP
SW3: UP-DOWN
SW4: DOWN-UP
BOOT: UP-UP
Is there anything wrong with my setup? Both the controlCARD and XDS100v2 are newly bought.
Thank & regards,.
chancsy