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

Lapunou

Свой
  • Постов

    127
  • Зарегистрирован

  • Посещение

Репутация

0 Обычный

Информация о Lapunou

  • Звание
    Частый гость
    Частый гость

Посетители профиля

1 339 просмотров профиля
  1. Огромное спасибо! Все заработало сразу!!!
  2. Огромное спасибо за ответ! Дело в том что файлы: SAU510USBIsoPlus_Connection.xml SAU510USBPlus_Connection.xml sau510c28x.xml (они старые) я взял из каталога CCS3.3 так как после установки драйверов версии 1.2.2.7 их на компе я не нашел. Файл sm510usb.dll я нашел в c:\CCStudio_v3.3\cc\bin а файл jscsauris.dll не нашел вообще. Поэтому убедительная просьба пришлите на емейл [email protected]
  3. вручную скопировал файлы: SAU510USBIsoPlus_Connection.xml SAU510USBPlus_Connection.xml в каталог c:\ti\ccsv7\ccs_base\common\targetdb\connections\ и файл sau510c28x.xml в каталог c:\ti\ccsv7\ccs_base\common\targetdb\drivers\ теперь CCS7 дает ошибку: C28xx: Error connecting to the target: (Error -600 @ 0x0) A required dynamic library could not be located. The library isn't on the search path. (Emulation package 6.0.504.1)
  4. Поменял комп. На старом стояла CCS3.3 Win XP все нормально работало (SAU510USB Iso-Plus) На новый (win 10) нормально не стала CCS3.3, поставил CCS7, поставил драйвера версии 1.2.2.7 от Sauris в конце установки драйверов даже была запись что файлы драйверов нормально скопированы в директории c:\ti\ccsv7\ccs_base\common ... но в директориях c:\ti\ccsv7\ccs_base\common\TargetDB\drivers c:\ti\ccsv7\ccs_base\common\TargetDB\connections c:\ti\ccsv7\ccs_base\common\uscif не вижу ничего чтобы напоминало SAU510USB Iso-Plus. Может их можно скопировать вручную (тогда где их взять). Или есть другой вариант подключения SAU510USB Iso-Plus к CCS7 под Win10
  5. Получилось. Но обходными путями. Почему то плохо работала утилита Make (возможно нужно чистить систему, у меня XP) Поставил XP на виртуальную машину и все заработало.
  6. Еще раз объясняю ocpu_buid_manager как я понял запускает make.exe а он использует тот же файл MakeFileDef (я это проверил т.к. удалил файл \tool\make.exe) и ocpu_buid_manager не работает, а если make.exe есть то он использует тот же файл MakeFileDef который и я через cmd.exe и выдает те же ошибки что я описывал: В файле MakeFileDef есть строка @if not exist $(BIN_DIR) (mkdir $(BIN_DIR)) и она не выполняется вначале выдавал ошибку /usr/bin/sh: -c: line 1: syntax error near unexpected token `(m' если исправить @if not exist bild mkdir bild то выдает ошибку /usr/bin/sh: -c: line 2: syntax error: unexpected end of file до компиляции с помощью ADS еще дело не доходит. Как только встречается оператор if утилита Mаke почему то его не понимает (ровно как и оператор for). Может кто сталкивался подскажите пожалуйста
  7. Эта процедура все равно использует make.exe а о он натыкаясь на строчку в файле MakeFileDef @if not exist $(BIN_DIR) (md $(BIN_DIR)) дает ошибку. как это исправить?
  8. В файле MakeFileDef есть строка @if not exist $(BIN_DIR) (mkdir $(BIN_DIR)) и она не выполняется вначале выдавал ошибку /usr/bin/sh: -c: line 1: syntax error near unexpected token `(m' если @if not exist bild mkdir bild то выдает ошибку /usr/bin/sh: -c: line 2: syntax error: unexpected end of file
  9. Добрый день! Помогите новичку. Хочу откомпилировать простой пример, но ничего не получается запускаю в make custom а в ответ получаю ошибки C:\temp\M12\OpenCPU>make custom Скопировано файлов: 1. *******make customer customerlib tools\make.exe[1]: Entering directory `C:/temp/M12/OpenCPU' /usr/bin/sh: -c: line 1: syntax error near unexpected token `(m' /usr/bin/sh: -c: line 1: `if not exist build (md build)' tools\make.exe[1]: *** [mngdir] Error 258 tools\make.exe[1]: Leaving directory `C:/temp/M12/OpenCPU'
  10. SAURIS GmbH большое спасибо за помощь. Разобрался: Основной момент это то что вместо 3.3В было подано 5В Далее посмотревши сигнал TCK осцилом увидел что он достаточно коряв (POD_TCKDIV = 10) частота TCK приблизительно 8МГц. Уже уменьшив частоту TCK до 7.5 МГц (POD_TCKDIV = 11 в файле sm510usb-iso.cfg) Форма сигнала улучшилась и подключился микроконтроллер. БОЛЬШОЕ СПАСИБО!!!
  11. Хорошо а как объяснить тот факт что при подключении SAU100-USB все работает. Подключается и шьется. И просто без JTAGа он работает(выполняется записаная программы при помощи SAU100-USB). Да при поднлючении через SAU510-USB JTAG ISO Plus Emulator программа записаная в контроллер продолжает работать при комманде Connect.
  12. Посмотрел действительно приходило на 5-й контакт 5 вольт исправил на 3.3 вольта начал проходить второй тест ( C:\CCStudio_v3.3\cc\bin>xdsprobe.exe -f brddat\ccBrd1.dat -iv ) но при подключении CCS выдает ошибку (пробовал разные платы): Error connecting to the target: Error 0x00000202/-1156 Error during: Memory, OCS, Lost processor clock. Device may be operating in a low-power mode. Do you want to bring it out of this mode? I/O Port = 240 Board Name: F28335 SAU510 Iso Emulator Cpu Name: CPU_1 Abort: Close Code Composer Studio. Retry: Try to connect to the target again. Cancel: Remain disconnected from the target Diagnostic: Run diagnostic utility. Вот как выглядит схема подключения JTAG: Вот результаты второго теста: C:\CCStudio_v3.3\cc\bin>xdsprobe.exe -f brddat\ccBrd0.dat -iv -----[Print the controller-open software log-file]----------------------- This utility has selected an XDS510 class product. This utility will load the adapter 'sm510usb.dll'. This utility will operate on port address '0x0A48'. The controller does not use a programmable FPGA. The emulator adapter is named 'sm510usb.dll'. The emulator adapter is titled 'SM510USB block-mode adapter'. 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). -----[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 succeeded. The JTAG IR instruction path-length is 38 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. Scan tests: 2, skipped: 0, failed: 0 Do a test using 0xFE03E0E2. Scan tests: 3, skipped: 0, failed: 0 Do a test using 0x01FC1F1D. Scan tests: 4, skipped: 0, failed: 0 Do a test using 0x5533CCAA. Scan tests: 5, skipped: 0, failed: 0 Do a test using 0xAACC3355. Scan tests: 6, skipped: 0, failed: 0 All of the values were scanned correctly. The JTAG IR Integrity scan-test has succeeded. -----[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. Scan tests: 1, skipped: 0, failed: 0 Do a test using 0x00000000. Scan tests: 2, skipped: 0, failed: 0 Do a test using 0xFE03E0E2. Scan tests: 3, skipped: 0, failed: 0 Do a test using 0x01FC1F1D. Scan tests: 4, skipped: 0, failed: 0 Do a test using 0x5533CCAA. Scan tests: 5, skipped: 0, failed: 0 Do a test using 0xAACC3355. Scan tests: 6, skipped: 0, failed: 0 All of the values were scanned correctly. The JTAG DR Integrity scan-test has succeeded.
  13. Пробовал менять драйвера ничего не помогло. Поставил даже отладочную плату eZdsp tms320F2812 не помогло. Может надо задать какие то специфические настройки в sm510usb-iso.cfg файле (номер эмулятора устанавливал). запускал xdsprobe ключ -yv и -iv Еще CCS по мимо ошибки 1041 выдает еще ошибки 1156, 1135 при подключении. Вот что выдает xdsprobe ключ -yv : далее с ключем -iv (правда я не знаю что эти ключи значат) C:\CCStudio_v3.3\cc\bin>xdsprobe.exe -f brddat\ccBrd1.dat -yv -----[Print the controller-open software log-file]----------------------- This utility has selected an XDS510 class product. This utility will load the adapter 'sm510usb.dll'. This utility will operate on port address '0'. The controller does not use a programmable FPGA. The emulator adapter is named 'sm510usb.dll'. The emulator adapter is titled 'SM510USB block-mode adapter'. 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). -----[Test the emulator's JTAG controller hardware]---------------------- Starting the Control Register Reset Test. Finished the Control Register Reset Test. Starting the Control Register Read-Write Test. Finished the Control Register Read-Write Test. Starting the Serial Buffer Normal Read-Write Test. Finished the Serial Buffer Normal Read-Write Test. Starting the Serial Buffer Reverse Read-Write Test. Finished the Serial Buffer Reverse Read-Write Test. Starting the Status0 Register Test. Finished the Status0 Register Test. Starting the Status1 Register Test. Finished the Status1 Register Test. Starting the Status2 Register Test. Finished the Status2 Register Test. Starting the Status3 Register Test. Finished the Status3 Register Test. Starting the Counter Capture Test. Finished the Counter Capture Test. Starting the Loop-Back with Reads and Writes Test. Finished the Loop-Back with Reads and Writes Test. Starting the Loop-Back Test with All-Ones Test. Finished the Loop-Back Test with All-Ones Test. Starting the Loop-Back Test Using All-Zeros Test. Finished the Loop-Back Test Using All-Zeros Test. Starting the Loop-Back with Recirculation Test. Finished the Loop-Back with Recirculation Test. Starting the Serial Buffer Observe Flag Test. Finished the Serial Buffer Observe Flag Test. Starting the State Command's State Machine Test. Finished the State Command's State Machine Test. Starting the Counter1 and Counter2 Test. Finished the Counter1 and Counter2 Test. None of the test-cases have detected errors. ========== КЛЮЧ -iv ============== C:\CCStudio_v3.3\cc\bin>xdsprobe.exe -f brddat\ccBrd1.dat -iv -----[Print the controller-open software log-file]--------------------------- This utility has selected an XDS510 class product. This utility will load the adapter 'sm510usb.dll'. This utility will operate on port address '0'. The controller does not use a programmable FPGA. The emulator adapter is named 'sm510usb.dll'. The emulator adapter is titled 'SM510USB block-mode adapter'. 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). -----[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 JTAG IR instruction scan-path is stuck-at-ones. The test for the JTAG DR bypass path-length failed. The JTAG DR bypass scan-path is stuck-at-ones. -----[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. Test 1 Word 0: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 1: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 2: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 3: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 4: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 5: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 6: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 7: scanned out 0xFFFFFFFF and scanned in 0x00000000. The details of the first eight errors have been provided. The utility will now report only the count of failed tests. Scan tests: 1, skipped: 0, failed: 1 Do a test using 0x00000000. 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 - 99.8 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 0: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 1: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 2: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 3: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 4: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 5: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 6: scanned out 0xFFFFFFFF and scanned in 0x00000000. Test 1 Word 7: scanned out 0xFFFFFFFF and scanned in 0x00000000. The details of the first eight errors have been provided. The utility will now report only the count of failed tests. Scan tests: 1, skipped: 0, failed: 1 Do a test using 0x00000000. 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 - 99.8 percent. The JTAG DR Integrity scan-test has failed.
  14. Ситуация похожа как и у leonlush Установлена CCS v.3.3. Запускаю CCS Setup и создаю конфигурацию для SAU510-USB JTAG ISO Plus Emulator и процессора F28335. Нажимаю Save и происходит запуск CCS. Появляется надпись: No target connected. В диспетчере устройств SAU510-USB JTAG ISO Plus Emulator прописан нормально. При подключении выдает ошибку Error connecting to the target: Error 0x80000200/-1041 Fatal Error during: OCS, Device driver: Problem with the Emulation Controller. 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.
  15. В datasheet spru514d.pdf раздел 8.4 стр. 164 написано (у меня cgt v5.0.2): void _register_lock (void ( *lock)()); void _register_unlock(void (*unlock)()); The arguments to _register_lock() and _register_unlock() should be functions which take no arguments and return no values, and which implement some sort of global semaphore locking: extern volatile sig_atomic_t *sema = SHARED_SEMAPHORE_LOCATION; static int sema_depth = 0; static void my_lock(void) { while (ATOMIC_TEST_AND_SET(sema, MY_UNIQUE_ID) != MY_UNIQUE_ID); sema_depth++; } static void my_unlock(void) { if (!--sema_depth) ATOMIC_CLEAR(sema); } не могу использовать ATOMIC_TEST_AND_SET, ATOMIC_CLEAR для чего нужно я понимаю но как использовать?
×
×
  • Создать...