First, some background. I am updating a project and hardware which allows updates over the CAN bus.I updated to the latest CCSv5 5.2.0.00069 and v6.1.0 compiler and FlashAPI 3.10 and rts2800_fpu32.lib. All the code loads to FLASHA and runs from SARAM. I'm debugging with JTAG.
With this setup, I now get a bunch of linker warnings (which I ignored). With previous tools I had a clean compile.
#16002-D build attribute vendor section TI missing in "../Flash28335_API_V210.lib<Flash28_ClearLoop.obj>": compatibility cannot be determined XXXX C/C++ Problem
My code changes included:
FLASH_ST FlashStatus; // Flash erase status.
status=Flash_Erase(SECTORA,&FlashStatus);
if (STATUS_SUCCESS == status)
which was failing with status=13 which corresponds to STATUS_FAIL_INCORRECT_PARTID.
After getting this fault, I made some code changes and now I get the following when I try to debug"
C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx: GEL Output:
ADC Calibration not complete, check if device is unlocked and recalibrate.C28xx: GEL Output:
ADC Calibration not complete, check if device is unlocked and recalibrate.C28xx: Flash Programmer: Error erasing flash memory. Device is locked or not connected. Operation cancelled
C28xx: Flash Programmer: Error erasing Flash memory.
C28xx: Flash Programmer: Device is locked or not connected. Operation cancelled.
C28xx: Trouble Writing Memory Block at 0x338000 on Page 0 of Length 0x54
C28xx: GEL: File: F:\Users\XXXXX.out: Load failed.
My Properties/General selects the Device Family: C2000, TMS320F28335 which matches my hardware.
If I connect JTAG to an eZDSP board it connects and downloads fine.
Did I inadvertently lock my device? How do I get rid of the link warnings?