Tool/software: Code Composer Studio
I'm trying to bringup my board using AM3352 and Blackhawk USB100v2 JTAG Emulator.
I followed the below article and I can read some data such as device_id and control_status but I can't read tracing vectors.
The DSS script occured an error, "Error reading memory: Errors during memory.readData(): Address: 0x4030ce40 Error: 0x1".
How can I fix this problem?
Addtionally how can I read memory map using a DSS script?
Analyzing Boot Issues with CCS and JTAG
Using a DSS script for CCS you can easily parse some of the important register details into easily digestible info.
- Download am335x-boot.dss.
- Launch CCS.
- Create an appropriate target configuration file for connecting to your board.
- File -> New -> Target Configuration File
- Supply a name/location for the file.
- View -> Target Configurations to see the available target configurations (yours should now be among them!).
- Double-click your file in the Target Configurations panel to open it for editing.
- Select your emulator and processor. Save.
- Launch the debugger, but do not connect to any CPUs.
- In the Target Configurations window, right-click on your ccxml file and select "Launch Selected Configuration"
- Launch the scripting console by going to View -> Scripting Console.
- Load am335x-boot.dss in the scripting console by executing "loadJSFile <path-to-dss-file>/am335x-boot.dss".
- It will generate a am335x-boot-analysis_yyyy-mm-dd_hhmmss.txt file on your desktop that can be used for quick analysis.