Comments (13)
Which version of python-serial are you running?
from goodfet.
I met the same issue!!
Meanwhile, goodfet.bsl does't support goodthopter12 board!!!
from goodfet.
The BOARDS did not define the Goodthopter12!
BOARDS = {
#'apimote': "apimote1", # .hex not uploaded yet
#'apimote1': "apimote1",
#'apimote2': "apimote2",
#'apimote3': "apimote2",
#'apimote4': "apimote2",
'facedancer10': "facedancer10",
'facedancer11': "facedancer11",
'facedancer20': "facedancer20",
'facedancer21': "facedancer21",
'goodfet10': "goodfet11", # 1612
'goodfet11': "goodfet11", # 1612
'goodfet20': "goodfet11", # 1612
'goodfet21': "goodfet41", # 2618
'goodfet22': "goodfet41", # 2618 w/ADG1634
'goodfet30': "goodfet31", # 2274
'goodfet31': "goodfet31", # 2274
'goodfet31l': "goodfet31", # 2274 (QFN)
'goodfet32': "goodfet31", # 2274
'goodfet40': "goodfet41", # 2618
'goodfet41': "goodfet41", # 2618
'goodfet42': "goodfet42", # 2618
'badfet20': "goodfet41", # 2618 w/74HC4053
'goodthopter10': "goodthopter10",
'goodthopter11': "goodthopter11",
'telosb': "telosb",
'telosbbt': "telosb",
'z1': "z1",
'zolertiaz1': "z1",
}
from goodfet.
I compiled the code and run the command as follows to download goodthopter12 to MCU:
goodfet.bsl -e -p goodthopter12.hex
It appeared program successfully.
After that, I run goodfet.monitor test, it will appear
AttributeError: 'Serial' object has no attribute 'setTimeout'
After comment commenting out the line "264" makes command work , but still have many issues:
it prompt:
See the GoodFET FAQ about missing info flash.
Performing monitor self-test.
Warning: waiting for serial read timed out (most likely).
ERROR, P1OUT not cleared.
Warning: waiting for serial read timed out (most likely).
Echo test failed.
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).
ERROR Fetched 0100, 0302
Warning: waiting for serial read timed out (most likely).
Warning: waiting for serial read timed out (most likely).
ERROR, P1OUT not cleared.
Warning: waiting for serial read timed out (most likely).
Warning: waiting for serial read timed out (most likely).
Anyone can help me?
from goodfet.
Run the command " goodfet.bsl --fromweb", it seems program successfully. But the goodthopther still not working. Cannot run goodfet.monitor test probly
Use -h for help
Use --fromweb to upgrade a GoodFET.
Unknown board specified. Try board=goodfet41 if unsure.
Press Ctrl+C to cancel, or Enter to continue using unknown board.
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Invoking BSL...
Transmit default password ...
Use -h for help
Use --fromweb to upgrade a GoodFET.
Unknown board specified. Try board=goodfet41 if unsure.
Press Ctrl+C to cancel, or Enter to continue using unknown board.
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 2.2 (Device ID: f227)
Checking for info flash... None.
Look at contrib/infos/README.txt for better performance.
Grabbing goodthopter12 firmware from http://goodfet.sourceforge.net/dist/goodthopter12.hex
Mass Erase...
Transmit default password ...
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 2.2 (Device ID: f227)
Program ...
4994 bytes programmed.
from goodfet.
What was your board environment variable set to? Can you show the command line if you set it there? It seems like it didn't recognize it but later in the output it looks like it did get it?
from goodfet.
I set export board=goodthopter12, and it appears successfully.
Right, it didn't recognize it as goodfet.bsl does not include this board.
I specify the hex files to flash the board.
from goodfet.
It appears from the output above that it did find the hex files on the website and it grabbed them. I can't tell for sure though as I don't see the command lines entered.
However, upon looking more I think that the issue may be with your pySerial and GoodFET versions. You don't want to have to comment out the line of setTimeout, you want to work with a version of GoodFET and pySerial that make that available to you.
from goodfet.
thanks rmsspeers!
could u let know which version of pySerial and GoodFET is correct? and how to check it?
from goodfet.
FYI: Usually the message posted above indicates that you're using a pyusb that doesn't support the timeout.
AttributeError: 'Serial' object has no attribute 'setTimeout'
Changing to self.serialport.timeout = 12 or similar should work.
from goodfet.
Was this not fixed by #25?
@rmspeers Do you have time to chase this down and apply a fix?
Cheers from Philly,
--Travis
from goodfet.
Sure -- will follow up.
@bensya - Please let me know if this is still happening for you, and your pySerial version. I'll work this out with you in a branch and then we'll merge once it's working.
from goodfet.
Thanks rmspeers, I will check later today. My pySerial version is 3.1.1. Linux version: 4.7.0-rc3; Python version: 2.7.11
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
- 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
- Unable to flash API Mote HOT 3
- 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.