Comments (3)
more output with make reinstall
root@kali:/opt/goodfet/firmware# make reinstall
cp platforms/apimote2.h include/config.h
./gen_builddate_h
./gen_apps monitor.h spi.h ccspi.h
msp430-gcc -mmcu=msp430f2618 -Wall -O1 -fno-strict-aliasing -g -Duseuart1 -Dapimote -Dmsp430f2618 -Dapimote2 -Dplatform=apimote2 -Dboard=apimote4 -I include -I platforms -Duseuart1 -Dapimote -c -o lib/apps.o lib/apps.c
msp430-gcc -mmcu=msp430f2618 -Wall -O1 -fno-strict-aliasing -g -Duseuart1 -Dapimote -Dmsp430f2618 -Dapimote2 -Dplatform=apimote2 -Dboard=apimote4 -I include -I platforms -mmcu=msp430f2618 goodfet.o lib/msp430f2618.o lib/command.o lib/dco_calib.o lib/apps.o lib/msp430.o lib/arduino.o apps/monitor/monitor.o apps/spi/spi.o apps/radios/ccspi.o -o goodfet
msp430-objcopy goodfet -O ihex goodfet.hex
goodfet.bsl --speed=38400 -e -p goodfet.hex
Unknown board specified. Try board=goodfet41 if unsure.
Press Ctrl+C to cancel, or Enter to continue using unknown board.board=apimote4
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 2.13 (Device ID: f26f)
Checking for info flash... None.
Look at contrib/infos/README.txt for better performance.
Mass Erase...
Transmit default password ...
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 2.13 (Device ID: f26f)
Changing baudrate to 38400 ...
Unknown board specified. Try board=goodfet41 if unsure.
Press Ctrl+C to cancel, or Enter to continue using unknown board.board=apimote4
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Invoking BSL...
Transmit default password ...
Traceback (most recent call last):
File "/usr/local/bin/goodfet.bsl", line 1987, in <module>
main(0);
File "/usr/local/bin/goodfet.bsl", line 1887, in main
bsl.actionStartBSL()
File "/usr/local/bin/goodfet.bsl", line 1166, in actionStartBSL
self.txPasswd(self.passwd) #transmit password
File "/usr/local/bin/goodfet.bsl", line 1136, in txPasswd
wait=wait) #if wait is 1, try to sync forever
File "/usr/local/bin/goodfet.bsl", line 801, in bslTxRx
rxFrame = self.comTxRx(cmd, dataOut, len(dataOut)) #Send frame
File "/usr/local/bin/goodfet.bsl", line 480, in comTxRx
rxHeader, rxNum = self.comRxHeader() #receive header
File "/usr/local/bin/goodfet.bsl", line 386, in comRxHeader
if not hdr: raise BSLException("Timeout")
__main__.BSLException: Timeout
make: *** [Makefile:359: reinstall] Error 1
from goodfet.
All apimotes come pre-flashed. If you need to flash one, please use the flash_apimote.sh script in the Killerbee repository: https://github.com/riverloopsec/killerbee
Thanks!
from goodfet.
@jspiel thank you. This is great, I didn't know about that script. My API Mote did come pre-flashed but I was having issues enough that I got desperate and flashed it.
For reference here is the error I was getting pre-re-flash:
root@kali:/opt/killerbee/tools# python zbstumbler -v -i /dev/ttyUSB0
zbstumbler: Transmitting and receiving on interface '/dev/ttyUSB0'
Setting channel to 11.
Transmitting beacon request.
Warning: waiting for serial read timed out (most likely).
Setting channel to 12.
Warning: waiting for serial read timed out (most likely).
Warning: waiting for serial read timed out (most likely).
Warning: waiting for serial read timed out (most likely).
Warning: waiting for serial read timed out (most likely).
Warning: waiting for serial read timed out (most likely).
Transmitting beacon request.
Warning: waiting for serial read timed out (most likely).
issue in peeking for a register
list index out of range
ERROR: Unable to inject packet: list index out of range
root@kali:/opt/killerbee/tools# python zbid
Dev Product String Serial Number
See the GoodFET FAQ about missing info flash.
Please also note there is nothing at all on the GoodFET FAQ about missing info flash...
Here is the error I am getting with the flash_apimote.sh script.
root@kali:/opt/killerbee/firmware# ./flash_apimote.sh
Flashing apimotev4_gf.hex to the connected USB serial device.
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 2.13 (Device ID: f26f)
Checking for info flash... None.
Look at contrib/infos/README.txt for better performance.
Mass Erase...
Transmit default password ...
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 2.13 (Device ID: f26f)
Changing baudrate to 38400 ...
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Invoking BSL...
Transmit default password ...
Traceback (most recent call last):
File "./goodfet.bsl", line 1982, in <module>
main(0);
File "./goodfet.bsl", line 1882, in main
bsl.actionStartBSL()
File "./goodfet.bsl", line 1164, in actionStartBSL
self.txPasswd(self.passwd) #transmit password
File "./goodfet.bsl", line 1134, in txPasswd
wait=wait) #if wait is 1, try to sync forever
File "./goodfet.bsl", line 800, in bslTxRx
rxFrame = self.comTxRx(cmd, dataOut, len(dataOut)) #Send frame
File "./goodfet.bsl", line 479, in comTxRx
rxHeader, rxNum = self.comRxHeader() #receive header
File "./goodfet.bsl", line 385, in comRxHeader
if not hdr: raise BSLException("Timeout")
__main__.BSLException: Timeout
It looks to be the same error as flashing manually.
Since this script resides in the killerbee repo I will move the issue over there! Thank you for the quick response.
from goodfet.
Related Issues (20)
- DEBUG ERROR: Haven't got ASM to flash-pulse SBW. HOT 2
- Duplicate jtag430 app (easy, with patch) HOT 1
- Changing goodfet.bsl DEBUG flag changes program behaviour HOT 2
- pyserial setTimeout issue HOT 13
- mspgcc is obsclete HOT 6
- Broken Pipe
- goodfet.monitor seems not working with facedancer21 HOT 1
- Facedancer OTG? HOT 1
- Stuck in loop in client/goodfet.nrf Autotune::selftune HOT 2
- Not possile to make facedancer21 build HOT 1
- USB Enumeration in OSX Fails
- Non existing attribute "device_vendor" HOT 1
- ccspi TX does not write the last byte to TX_FIFO HOT 5
- goodfet42Can't open the port?
- make error HOT 2
- Question on CC2420 HOT 2
- Ubuntu 20.04 "No module named serial" HOT 2
- Chip ID is 0xffff, implying a wiring problem. HOT 11
- Support (possible) for board=eZ430U HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goodfet.