Hi All,
While debugging, I get a weird warning/error at the console at every single-step through the code.
* Code Composer Studio Version 4.2.3.0004 - Single Node-Locked License, Microcontroller Edition
* Blackhawk USB510L JTAG Emulator
* EKS-LM3S9863 Evaluation Kit
Initially, when I bought the eval kit, I had the demo version of CCS with a direct USB connection to the eval board. In this situation, the JTAG circuitry is built directly on eval board. In CCS, the target configuration is configured as "Connection = Stellaris In-Circuit Debug Interface" and "Board or Device = LM3S8962". Under this situation, I can debug fine, single-step, etc with no strange errors or warnings.
Next, I wanted to get the real development and debug tool chain up and running (i.e. full CCS license with external JTAG device). I ordered a full CCS license as described above, and the Blackhawk USB510L. Our custom board is not yet ready, but the eval board still supports external JTAG device via its 20-pin ARM connector. The USB510L uses the 14-Pin TI header, so I also bought the TMDSADPEMU-20A adapter making it possible to connect the eval board and the 510L.
I installed the license file and re-configured the target configuration settings to support the new setup. Now the "Connection = Blackhawk USB510L Emulator" and the the "Board or Device" is the same.
(A side note here: This setup did not initially work. The 20-Pin ARM to 14-Pin TI adapter is wrong. You have to install a jumper between RTCK and TCK so that the JTAG device is happy. TI should fix the drivers for the Blackhawk USB510L so that when you select an ARM-based device, which does not use adaptive clocking, it instructs the JTAG device to ignore RTCK. Even after identifying the problem with the adapter, this setup still didn't work. I kept getting errors during the debug launch processor, something related to wrong revision of silicon on the target. After searching through the E2E forums, I found a post that said to change the "Access Port Designator" in the Cpu Properties of the target configuration from 0x02000003 to 0x02000000. This fixed the problem and I was then able to debug. I have to get my jab in here because these issues caused a lot of wasted time. I am now up and running, but I don't have any idea why 0x02000000 works and 0x02000003 doesn't work. I don't even understand what these values mean. I tried to find documentation about what these settings mean but couldn't find anything. It just doesn't give me a lot of confidence when I have to change magical numbers that I don't understand. I believe that TI is still getting up to speed on support for the Luminary stuff, but overall, I have been disappointed. This stuff shouldn't be this hard to get a basic setup working.)
Anyway, back to the issue of this post. I am able to launch debug sessions and single-step, watch variables, check registers, etc. But at every single-step, I get the following message at the console output:
"CORTEX_M3_0: Warning: Error 0x40020004/-1064 Warning during: Register, Internal, PTI_ERR_REG_INVALID Error Occured at 0x61003009"
Whatever this is, it doesn't seem to be causing negative behavior, yet. I am just worried that in a month or two when I am in full code development mode, with a schedule to meet, the meaning and impact of this message will become clear and will be a roadblock that I can't fix to workaround.
Does anyone have any idea what this message means, what the cause is, and how to fix the problem?
Thanks
Kevin