Перейти к содержанию
    

TMS320F240 и XDS51-

Имеется устройство с TMS320F240PQ. Обновляли прошивку через спец. утилиты по UART и она запоролась (плохой контакт, я думаю). Утилита пишет, что теперь используйте JTAG.

OK. 14-пин гребенка выведена, OUT файл имеется, был приобретен китайский XDS510.

 

Китаец скинул ссылку на USB-драйвер, драйвер для ССS 3.3, дистрибутивы CCS.

CCStudio 3.3 запускается, устройство видит, но On-Chip flash programmer вроде не умеет программировать F240 (так в хелпе написано, The flash programmer does not support TMS320LF24x devices (240, 241, 243)).

 

Setup ccstudio настроен как на скриншоте.

 

xdsprobe пишет вот так, все тесты проходит

[quoute]

This utility has selected an XDS510 class product.

This utility will load the adapter 'XDS510U2.dll'.

This utility will operate on port address '0x0240'.

TDS510USB Emulator found (USB 2.0 port)

The controller does not use a programmable FPGA.

The emulator adapter is named 'XDS510U2.dll'.

The emulator adapter is titled 'Custom block-mode adapter for use with an TDS510'.

The emulator adapter is version '33.0.0.0'.

The emulator adapter is using 'Block-Mode'.

The controller has a version number of '1' (0x0001).

The controller has an insertion length of '16' (0x0010).

The local memory has a base address of '0' (0x000000).

The local memory has a word capacity of '262144' (0x040000).

...

None of the test-cases have detected errors.

[/quoute]

 

 

Нашел инструкцию http://emulators.spectrumdigital.com/utili...sh_faq.html#1.5, как заставить sdflash 1.64 программировать F240 (скрещивается с sdflash 1.12). Драйвер указываю C:\CCStudio_v3.3PLA\drivers\tixds24x.dvr (как в setup ccstudio)

Но ДСП не видит =(

ERR: Failed emulation connection to the target

ERR: DSP reset failed

 

 

Так же вместе с драйвером идет консольная утилита flash.exe, которая умеет F204, но она так же не видит =(

У нее даже нет опции какой драйвер/порт использовать =(

***************************************************

* C2XX FAST PROGRAMMER V2.0 *

***************************************************

= =

===================================================

= PROGRAMMER COMMAND OPTIONS =

===================================================

= =

= -h Help, print options =

= -t [F206|F240|F243] Specify DSP target device =

= -c [0|1] Clear before programming =

= -e [0|1] Erase before programming =

= =

***************************************************

* Wintech Digital System Techology Co.,LTD *

* Copyright 1998-2002 *

***************************************************

 

 

board.cfg я подредактировал, для xdsprobe/xdsreset не нужно указывать устройство/порт.

 

Есть какая-то возможность ведения лога, чтобы посмотреть, к какому драйверу и по какому адресу эти программы обращаются? И что еще можно посмотреть?

 

post-14713-1490962245_thumb.jpg

post-14713-1490962281_thumb.jpg

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Сделал

dbgjtag -f brddat\ccBrd0.dat -rv -o -F inform,logfile=yes -S pathlength -S integrity

 

 

Кабель JTAG - короткий, 5 см. На Vref ноге 5V. Что еще можно сделать? =(

 

 

-----[Print the reset-command software log-file]-----------------------------

 

This utility has selected an XDS510 class product.

This utility will load the adapter 'XDS510U2.dll'.

This utility will operate on port address '0x0240'.

TDS510USB Emulator found (USB 2.0 port)

The controller does not use a programmable FPGA.

The emulator adapter is named 'XDS510U2.dll'.

The emulator adapter is titled 'Custom block-mode adapter for use with an TDS510'.

The emulator adapter is version '33.0.0.0'.

The emulator adapter is using 'Block-Mode'.

The controller has a version number of '1' (0x0001).

The controller has an insertion length of '16' (0x0010).

The local memory has a base address of '0' (0x000000).

The local memory has a word capacity of '262144' (0x040000).

This utility will now attempt to reset the controller.

This utility has successfully reset the controller.

 

-----[Print the reset-command hardware log-file]-----------------------------

 

The scan-path will be reset by toggling the JTAG TRST signal.

The controller type is the production TBC (74ACT8990).

The controller has been hardware reset via its support logic.

The controller has been software reset via its support logic.

The software is configured to use only TBC features.

The software is configured for slower clock operation.

The controller has a logic ONE on its EMU[0] input pin.

The controller has a logic ONE on its EMU[1] input pin.

The controller will use rising-edge timing on output pins.

The controller may use rising edge timing on input pins.

The support logic has not previously detected a power-loss.

The scan-path link-delay has been set to exactly '0' (0x0000).

TDS510USB Emulator found (USB 2.0 port)

 

-----[The log-file for the JTAG TCLK output generated from the PLL]----------

 

There is no hardware for programming the JTAG TCLK frequency.

 

-----[Perform the standard path-length test on the JTAG IR and DR]-----------

 

This path-length test uses blocks of 512 32-bit words.

 

The test for the JTAG IR instruction path-length failed.

The many-ones then many-zeros tested length was -13713 bits.

The many-zeros then many-ones tested length was 8 bits.

 

The test for the JTAG DR bypass path-length succeeded.

The JTAG DR bypass path-length is 1 bits.

 

-----[Perform the Integrity scan-test on the JTAG IR]------------------------

 

This test will use blocks of 512 32-bit words.

This test will be applied just once.

 

Do a test using 0xFFFFFFFF.

Scan tests: 1, skipped: 0, failed: 0

Do a test using 0x00000000.

Test 2 Word 81: scanned out 0x00000000 and scanned in 0xFFFFFFFF.

Test 2 Word 82: scanned out 0x00000000 and scanned in 0xFFFFFFFF.

Test 2 Word 83: scanned out 0x00000000 and scanned in 0xFFFFFFFF.

Test 2 Word 84: scanned out 0x00000000 and scanned in 0x0000FFFF.

Scan tests: 2, skipped: 0, failed: 1

Do a test using 0xFE03E0E2.

Test 3 Word 0: scanned out 0xFE03E0E2 and scanned in 0x03E0E2FE.

Test 3 Word 1: scanned out 0xFE03E0E2 and scanned in 0x03E0E2FE.

Test 3 Word 2: scanned out 0xFE03E0E2 and scanned in 0x03E0E2FE.

Test 3 Word 3: scanned out 0xFE03E0E2 and scanned in 0x03E0E2FE.

The details of the first eight errors have been provided.

The utility will now report only the count of failed tests.

Scan tests: 3, skipped: 0, failed: 2

Do a test using 0x01FC1F1D.

Scan tests: 4, skipped: 0, failed: 3

Do a test using 0x5533CCAA.

Scan tests: 5, skipped: 0, failed: 4

Do a test using 0xAACC3355.

Scan tests: 6, skipped: 0, failed: 5

Some of the values were corrupted - 66.7 percent.

 

The JTAG IR Integrity scan-test has failed.

 

-----[Perform the Integrity scan-test on the JTAG DR]------------------------

 

This test will use blocks of 512 32-bit words.

This test will be applied just once.

 

Do a test using 0xFFFFFFFF.

Test 1 Word 79: scanned out 0xFFFFFFFF and scanned in 0x7FFFFFFF.

Test 1 Word 80: scanned out 0xFFFFFFFF and scanned in 0x6619AAD5.

Test 1 Word 81: scanned out 0xFFFFFFFF and scanned in 0x6619AAD5.

Test 1 Word 82: scanned out 0xFFFFFFFF and scanned in 0x6619AAD5.

Test 1 Word 83: scanned out 0xFFFFFFFF and scanned in 0x6619AAD5.

Test 1 Word 84: scanned out 0xFFFFFFFF and scanned in 0xFFFFAAD5.

Scan tests: 1, skipped: 0, failed: 1

Do a test using 0x00000000.

Test 2 Word 80: scanned out 0x00000000 and scanned in 0x80000000.

Test 2 Word 81: scanned out 0x00000000 and scanned in 0xFFFFFFFF.

The details of the first eight errors have been provided.

The utility will now report only the count of failed tests.

Scan tests: 2, skipped: 0, failed: 2

Do a test using 0xFE03E0E2.

Scan tests: 3, skipped: 0, failed: 3

Do a test using 0x01FC1F1D.

Scan tests: 4, skipped: 0, failed: 4

Do a test using 0x5533CCAA.

Scan tests: 5, skipped: 0, failed: 5

Do a test using 0xAACC3355.

Scan tests: 6, skipped: 0, failed: 6

Some of the values were corrupted - 1.5 percent.

 

The JTAG DR Integrity scan-test has failed.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Я уже очень давно не занимался с F240, но навскидку, судя по репорту - снижать частоту JTAG или, если требуется, надо в примерах посмотреть - вставить лишний байт в цепочку.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Сделал

dbgjtag -f brddat\ccBrd0.dat -rv -o -F inform,logfile=yes -S pathlength -S integrity

 

 

Кабель JTAG - короткий, 5 см. На Vref ноге 5V. Что еще можно сделать? =(

MEFF, у меня тоже проблема с прошивкой LF2401, если сможешь, свяжись пожалуйста со мной, вот мой email: [email protected]

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Я уже очень давно не занимался с F240, но навскидку, судя по репорту - снижать частоту JTAG или, если требуется, надо в примерах посмотреть - вставить лишний байт в цепочку.

 

А что за примеры? И как вставить этот байт и снизить частоту?

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.

Гость
Ответить в этой теме...

×   Вставлено с форматированием.   Вставить как обычный текст

  Разрешено использовать не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отображать как обычную ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставлять изображения напрямую. Загружайте или вставляйте изображения по ссылке.

×
×
  • Создать...