HIZ 이런게 나오길래 생각을 해보니 SDConfigEx 라는 툴에서 XDS510USB로 했을때 나오던 거랑 비슷한 느낌이다?
TCK 주파수가 13에서 10으로 설정된걸 제외하면 사실상 같은 설정인 느낌.
겸사겸사 SDConfigEx에서도 해보니
TMS320F2808 보드에 전원과 JTAG 연결하고 emulator - test 하면 아래와 같이 성공한다.
** Emulator Test ** $$ EmuProductName=XDS510USB $$ EmuPortAddr=0x510 $$ EmuPortMode=USB $$ ProductId=510 $$ ProductVersion=84 ** Emulator Scan Test -- Found JTAG IR length of 3 -- Found 1 JTAG device(s) in the scan chain
emulator - diagnostics 누르고 하면
최소한 에러는 안나는데 멀까?
** Checking for a valid emulator/eZdsp ** Running diagnostic scan on EmuProductName=XDS510USB
** Checking emulator/eZdsp scan connection
Performed 1 test loops with 0 errors.
SDConfigEx 에서 저장되는 파일은 아래 경로에 존재하는데 XML인걸 제외하면 설정값들은 동일하다.
$ sudo dmesg [ 147.175141] usb 1-2: new full-speed USB device number 13 using xhci_hcd [ 147.338105] usb 1-2: New USB device found, idVendor=0c55, idProduct=0510, bcdDevice= 0.02 [ 147.338123] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 147.338131] usb 1-2: Product: XDS510 USB [ 147.338136] usb 1-2: Manufacturer: Spectrum Digital, Inc. [ 147.338141] usb 1-2: SerialNumber: S000000000000000
$ lsusb -t -v /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M ID 1d6b:0002 Linux Foundation 2.0 root hub |__ Port 1: Dev 2, If 0, Class=, Driver=, 12M ID 2109:0103 VIA Labs, Inc. |__ Port 2: Dev 13, If 0, Class=Vendor Specific Class, Driver=, 12M ID 0c55:0510 Spectrum Digital, Inc. Spectrum Digital XDS510 JTAG Debugger
JTAG쪽인줄 알았는데 USB Bus가 작동하면 불이 들어온다니, 항상 불이 들어오는게 아닐 듯.
리눅스에서는 v7 v8 모두 Spectrum Digital XDS510 시리즈 자체가 안보인다.
그래서 윈도우에서 하니 먼가 뜨긴 한데.. 빌드가 안되네
+
readme.txt만 있고 xml이 없어서 읽어보니 CCS 설치시에 자동으로 설치되는 듯.
Applies to Windows installations CCSv4 and higher: --------------------------------------------------- xds510usb and xd510usb_win64 files have been removed and replaced with signed windows drivers and placed in: Program Files\SpectrumDigital\Emulation\Drivers for 32-bit Windows and Program Files (x86)\SpectrumDigital\Emulation\Drivers for 64-bit Windows
During the CCS installation process windows system level drivers are quietly pre-installed. On Vista, the system level drivers install may not succeed as security checks may block the install. When you plug in a USB HW device if Vista does not automatically find the USB drivers then the install did not succeed and you have two options:
1) When the install Wizard cannot find the drivers simply have the Wizard search the directories listed above with the search subdirectory check box checked.
2) Manually pre-install the drivers before plugging in the USB HW. To do this use Explorer and go to the appropriate driver directory listed above and the appropriate subdirectory, i386 for 32-bit Windows or amd64 for 64-bit Windows and run DPInst.exe. If you are not sure if drivers were pre-installed during the CCS install you can safely run DPInst.exe again.
>> Check power to your emulator/eZdsp >> Then check your port mode/address
CCS(eclipse)에서는 아래와 같은 에러가 나온다.
Error connecting to the target: Error 0x80000200/-2082 Fatal Error during: OCS, Device driver: Emulation Connection Loss Detected on Target CPU. It is recommended to RESET EMULATOR. This will disconnect each target from the emulator. The targets should then be power cycled or hard reset followed by an emureset and reconnect to each target.
타겟 보드 연결해서 전원 연결해주고 하면 다음과 같이 나온다.
** Checking emulator/eZdsp scan connection ** Emulator Test ** $$ EmuProductName=XDS510USB $$ EmuPortAddr=0x510 $$ EmuPortMode=USB $$ ProductId=510 $$ ProductVersion=84 ** Emulator Scan Test -- Found JTAG IR length of 3 -- Found 1 JTAG device(s) in the scan chain
왜 CCS에서 디버깅이나 load 하려고 하면 아래와 같은 에러가 나올까..
Error connecting to the target: Error 0x80000200/-1135 Fatal Error during: OCS, Unrecoverable emulation error
Windows 32bit is not supported with CCSv9. If you are using a 32bit Windows System please use CCSv8.3.1 or earlier. XDS510 class debug probes are not supported with CCSv9. Support for XDS510 class probes was deprecated years ago for Linux and MacOS. If you need to use one of these older probes please use CCSv8.3.1 or earlier.
Things to know before installing Licensing: CCSv7 and laLicensing: CCSv7 and later are Technology Software Publicly Available (TSPA) compliant. This means that it does not require a paid license.
아래 Spectrum Digital Debug Probes and Boards 라고 되어 있어서 일단 원래 제조사 걸 추가.
+
리눅스랑 윈도우에서 한번 시도를 해봐야겠네..
현재로서는 USB 커넥터가 좀 불량해서 오락가락하는데
속도가 좀 느려도 패러럴 포트가 있는 메인보드 있으면 패러럴로도 연결해서 테스트는 해봐야겠다.
+
데이터 시트 상으로는 C2000 마이크로 컨트롤러를 위한 CCS IDE가 필요하다고 하는데..
결국은 하나로 통합된걸려나?
Code Composer Studio™ (CCS) Integrated Development Environment (IDE) for C2000 Microcontrollers
Code Composer Studio is an integrated development environment (IDE) that supports TI's Microcontroller and Embedded Processors portfolio. Code Composer Studio comprises a suite of tools used to develop and debug embedded applications. It includes an optimizing C/C++ compiler, source code editor, project build environment, debugger, profiler, and many other features. The intuitive IDE provides a single user interface taking the user through each step of the application development flow. Familiar tools and interfaces allow users to get started faster than ever before. Code Composer Studio combines the advantages of the Eclipse software framework with advanced embedded debug capabilities from TI resulting in a compelling feature-rich development environment for embedded developers.
C2000 Real-time Control MCUs are C28x-based 32-bit microcontrollers with a high-performance core and application-tuned peripherals designed for real-time control applications.