I was trying to upload the hello-world program on a Texas Instruments EXP5438 experimenter board using Instant Contiki 2.7 in VMware (Ubuntu12.04). The compilation is done but when I try to upload I get this error
msp430flasher -n msp430x5438a -e ERASE_MAIN -w hello-world.hex -v -z [VCC] /bin/sh: 1: msp430flasher: not found
Then I installed msp430flasher from Texas instruments. But when I try to run it i get another error:
can not load msp430lib.so..no such file or directory
Although I have the missing file in the same folder. I'm stuck with this.
Related
I have followed the Getting started with the dev board for the Google Coral dev board https://coral.ai/docs/dev-board/get-started/ on Windows 10 through step 3, but I have changed
echo "alias python3='winpty python3.exe'" >> ~/.bash_profile
echo "alias mdt='winpty mdt'" >> ~/.bash_profile
to
alias python3='winpty C:/Users/jimmu/AppData/Local/Programs/Python/Python39/python.exe'
alias mdt='winpty C:/Users/jimmu/AppData/Roaming/Python/Python39/site-packages/mdt'
because I got the error winpty: ... Not found in PATH. While
python3 --version
correctly returns the python version (Python 3.9.7), executing
mdt devices
results in the error
winpty: error: cannot start 'C:/Users/jimmu/AppData/Roaming/Python/Python39/site-packages/mdt devices': Access is denied. (error 0x5)
I have already turned off App execution aliases as in the StackOverflow issue winpty python.exe whenever you enter python. I'm really stuck as almost all of the articles I can find are using MACs or Linux, so I'm not seeing what I need to do to make the Coral dev board work with Windows 10. Any help would be greatly appreciated!
(I have seen other solutions to "Errno 48" issues on StackOverflow, but none have been successful yet.)
I am trying to develop a botnet using byob on github here: https://github.com/malwaredllc/byob
I am encountering a address in use error every time I run the command sudo ./startup.sh. It returns OSError: [Errno 48] Address already in use.
However when I attempt to use the ps -fA | grep python and kill the associated 502 18126 16973 0 9:16PM ttys000 0:00.00 grep python by using kill -9 181216, I get this error: kill: kill 18126 failed: no such process.
Does anyone have any idea what to do?
I am using a "MacOS M1Pro Chip OS V12.0.1 Monterey". Also the program byob is trying to run on port 5000 of IPv4 127.0.0.1 (this is a generic IP not specifically mine). http://127.0.0.1/5000.
In case you try to duplicate the problem you need to install docker.io or the docker desktop app depending on os then navigate to cd <outer-dir>/byob-master/web-gui then execute sudo ./startup.sh. The code will not work without access to docker, and the program needs to be ran with admin perms using the prefix sudo. The actual downloads take a while and it will prompt you to restart once. Then when you run it again, I encounter this problem...
Please let me know if someone was able to fix this. Thanks!
I am currently trying to learn Hyperledger Fabric. I have followed all the instructions till here. I have gotten all the necessary binaries and downloaded all the required samples. When I go into the Fabcar folder and use the "ls" command, I can see all the files expected according to the document EXCEPT chaincode.
$ ls
creds/ invoke.js package.json query.js startFabric.sh*
When I run "./startFabric.sh" command, I get the following errors:
$ ./startFabric.sh
cp: cannot stat '/c/Users/Vaibhav': No such file or directory
cp: cannot stat 'Shah/fabric-samples/fabcar/creds/*': No such file or directory
I am attaching a screenshot of the entire Docker interface below.
Thank you very much.
Screenshot of error in Docker
Check this example in https://github.com/hyperledger/fabric/tree/release/examples/e2e_cli
This is the end-to-end test of the fabric using the command line interface. It helps you understand installation, setting up channels and executing if I recall chaincode_example02. Obviously, this runs on Ubuntu 14.04.
If you are a Windows user, you may want to spin up an Ubuntu 14.04 VM and try out, after installing all the pre-requisites.
I want to perform imaging Android RAM. But I got this error.
$ dev/mem 4561 | dev/mem/nc -l -p 6666
sh: dev/mem: can't execute: Permission denied
sh: dev/mem/nc: not found
My devices running Android 5.1.1. In the dev directory with mem.
I think you meant /dev/mem instead of dev/mem? That beginning slash is important.
I'm trying to upload the blink.c file in Contiki on a exp5438 board. I'm running Instant Contiki 2.6 on my MacBook inside VirtualBox.
When I try to do the upload to the board, it gives me this error for the msp430 flasher! Is there a work around which can help me run the blink program on the board? I'm really pulling my hair out on this. :D
msp430flasher -n msp430x5438a -e ERASE_MAIN -w blink.hex -v -z [VCC]
/bin/sh: 1: msp430flasher: not found
make: *** [test-blink.upload] Error 127
Help appreciated!
You need to install the MSP430Flasher tool from TI (available for win32 and linux), and also of course a MSP430 FET progammer: http://processors.wiki.ti.com/index.php/MSP430_Flasher_-_Command_Line_Programmer
You might need to edit also the platform/exp5438/Makefile.exp5438 file and change the msp430flasher commands at the bottom for MSP430Flasher (mind the case-sensitiveness!).