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

[РЕШЕНО] mspdebug может убить программатор ?

Добрый день. Ubuntu 15.04 64bit, mspdebug 0.23, отладочная плата msp-exp430f5529lp (програматор/отладчик eZ-FET lite). При попытке использования mspdebug запросил обновления прошивки программатора:

$ /usr/local/bin/mspdebug tilib gdb
MSPDebug version 0.23 - debugging tool for MSP430 MCUs
Copyright © 2009-2015 Daniel Beer <[email protected]>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright © 2013 TI, Inc.

MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: ttyACM0
MSP430_Initialize: ttyACM0
FET firmware update is required.
Re-run with --allow-fw-update to perform a firmware update.
tilib: device initialization failed

Ок, запустил с требуемым ключём. К сожалению, обновиться не получилось:

$ /usr/local/bin/mspdebug tilib gdb  --allow-fw-update 
MSPDebug version 0.23 - debugging tool for MSP430 MCUs
Copyright © 2009-2015 Daniel Beer <[email protected]>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright © 2013 TI, Inc.

MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: ttyACM0
MSP430_Initialize: ttyACM0
FET firmware update is required.
Starting firmware update (this may take some time)...
Initializing bootloader...
Programming new firmware...
   75 percent done
   84 percent done
   84 percent done
   91 percent done
  100 percent done
tilib: MSP430_FET_FwUpdate: MSP-FET / eZ-FET core(communication layer) update failed (error = 74)
tilib: device initialization failed

У программатора поменялся vid и pid (с 2047:0013 на 2047:0203), пропали порты /dev/ttyACM0 и /dev/ttyACM1. Mspdebug программатор находит (правда вместо Found FET: ttyACM0 теперь Found FET: HID_FET), но работать с ним отказывается:

$ /usr/local/bin/mspdebug tilib gdb
MSPDebug version 0.23 - debugging tool for MSP430 MCUs
Copyright © 2009-2015 Daniel Beer <[email protected]>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright © 2013 TI, Inc.

MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: HID_FET
MSP430_Initialize: HID_FET
FET firmware update is required.
Re-run with --allow-fw-update to perform a firmware update.
tilib: device initialization failed

$ /usr/local/bin/mspdebug tilib gdb  --allow-fw-update 
MSPDebug version 0.23 - debugging tool for MSP430 MCUs
Copyright © 2009-2015 Daniel Beer <[email protected]>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright © 2013 TI, Inc.

MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: HID_FET
MSP430_Initialize: HID_FET
FET firmware update is required.
Starting firmware update (this may take some time)...
tilib: MSP430_FET_FwUpdate: MSP-FET / eZ-FET recovery failed (error = 73)
tilib: device initialization failed

Собственно вопрос как оживить программатор и подружить его с mspdebug?

 

Сам спросил, сам нашёл ответ: несмотря на добавленные правила в /etc/udev/rules при обновлении прошивки mspdebug необходимо запускать с правами суперпользователя. http://electronix.ru/redirect.php?http://a...unchpad430.html

Изменено пользователем arhiv6

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


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

Гость
Эта тема закрыта для публикации ответов.
×
×
  • Создать...