@György-Farkas said in Can I recover the Omega Arduino-Dock bad bootloader?:
Are you really talking about the first version of Arduino Dock please?
No .The Board is Arduino-Dock R2. Thanks
@György-Farkas said in Can I recover the Omega Arduino-Dock bad bootloader?:
Are you really talking about the first version of Arduino Dock please?
No .The Board is Arduino-Dock R2. Thanks
Has this problem happened to anyone?
I'm desperate. It's happened to me on 2 boards
I need your help.
Apparently I loaded a sketch and I lost the bootloader of the atmega 328p AU of the dock.
I tried to recover it using ICSP and an Arduino UNO card following the tutorial:
https://www.arduino.cc/en/Tutorial/ArduinoISP
I have connected pins 13-12-11-10 from the Arduino Uno board to the Omega dock ISCP 13 with SCK, 12 with MISO, 11 with MOSI, 10 with RST, Vcc to 5v and GND
I charge the sketch in the arduino but when I burn the booloader:
I always get an error:
Should we put some capacitor? It has a solution ? Can not the ATMEL 328pAU be programmed?
Puff.... Thanks
Best Regards
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\ArduinoBIS\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM8
Using Programmer : arduino
Overriding Baud Rate : 19200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x02
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10
Hardware Version: 4744608
Firmware Version: 0.4611299
Topcard : STK502
Error quemando bootloader
Vtarget : 1.8 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: stk500_initialize(): (b) protocol error, expect=0x10, resp=0x01
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x10
avrdude done. Thank you.
hello,
seems to install maximilian but when I want to use it, the following error appears
Expression 'ioctl( devHandle, SNDCTL_DSP_SPEED, &sr )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 421
Any ideas
Many thanks
Yes its installed.How repair library Maximilian?
/usr/bin/ld: cannot find -lportaudio????
root@Omega-138B:/www/a/PyAudio-0.2.11# find / -name "libport*"
/overlay/upper/usr/lib/libportaudio.so.2
/overlay/upper/usr/lib/libportaudio.so.2.0.0
/usr/lib/libportaudio.so.2
/usr/lib/libportaudio.so.2.0.0
root@Omega-138B:/www/a/PyAudio-0.2.11#
mipsel-openwrt-linux-musl-gcc -shared -L/root/source/staging_dir/target-mipsel_24kc_musl-1.1.16/usr/lib -L/root/source/staging_dir/target-mipsel_24kc_musl-1.1.16/lib -L/root/source/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/root/source/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro -L/root/source/build_dir/target-mipsel_24kc_musl-1.1.16/Python-2.7.14 build/temp.linux-mips-2.7/src/_portaudiomodule.o -L/usr/lib -lportaudio -lpython2.7 -o build/lib.linux-mips-2.7/_portaudio.so
/usr/bin/ld: cannot find -lportaudio
collect2: error: ld returned 1 exit status
error: command 'mipsel-openwrt-linux-musl-gcc' failed with exit status 1
Hello,I have installed PorAudio
php7-mod-xml - 7.1.1-1
portaudio - 19_20140130-1
In file included from /usr/include/python2.7/Python.h:8:0,
from src/_portaudiomodule.c:28:
/usr/include/python2.7/pyconfig.h:1212:0: warning: "_XOPEN_SOURCE" redefined
#define _XOPEN_SOURCE 600
^
In file included from /usr/include/stdio.h:8:0,
from src/_portaudiomodule.c:27:
/usr/include/features.h:12:0: note: this is the location of the previous definition
#define _XOPEN_SOURCE 700
I copied portaudio.h to usr / include:
New Error:
Very Thanks for help me
mipsel-openwrt-linux-musl-gcc -shared -L/root/source/staging_dir/target-mipsel_24kc_musl-1.1.16/usr/lib -L/root/source/staging_dir/target-mipsel_24kc_musl-1.1.16/lib -L/root/source/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/root/source/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro -L/root/source/build_dir/target-mipsel_24kc_musl-1.1.16/Python-2.7.14 build/temp.linux-mips-2.7/src/_portaudiomodule.o -L/usr/lib -lportaudio -lpython2.7 -o build/lib.linux-mips-2.7/_portaudio.so
/usr/bin/ld: cannot find -lportaudio
collect2: error: ld returned 1 exit status
error: command 'mipsel-openwrt-linux-musl-gcc' failed with exit status 1
root@Omega-138B:/www/a/PyAudio-0.2.11#
I want to use ibm watson with python and this library requires me. PyAudio
I really need a method that allows me to pick up the speech to text and I was going to use its API.
Do you know any other method to collect voice to text in real time?
I have installed:
python - 2.7.14-5
python-base - 2.7.14-5
python-codecs - 2.7.14-5
python-compiler - 2.7.14-5
python-ctypes - 2.7.14-5
python-db - 2.7.14-5
python-decimal - 2.7.14-5
python-dev - 2.7.14-5
python-distutils - 2.7.14-5
python-email - 2.7.14-5
python-gdbm - 2.7.14-5
python-lib2to3 - 2.7.14-5
python-light - 2.7.14-5
python-logging - 2.7.14-5
python-multiprocessing - 2.7.14-5
python-ncurses - 2.7.14-5
python-openssl - 2.7.14-5
python-pip - 8.1.2-1
python-pydoc - 2.7.14-5
python-pyserial - 3.1.1-1
python-setuptools - 27.2.0-1
python-sqlite3 - 2.7.14-5
python-unittest - 2.7.14-5
python-xml - 2.7.14-5
When execute python setup.py install:
Thanks
running build_ext
building '_portaudio' extension
mipsel-openwrt-linux-musl-gcc -fno-strict-aliasing -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mno-mips16 -mno-interlink-mips16 -iremap /root/source/build_dir/target-mipsel_24kc_musl-1.1.16/Python-2.7.14:Python-2.7.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fno-inline -DNDEBUG -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mno-mips16 -mno-interlink-mips16 -iremap /root/source/build_dir/target-mipsel_24kc_musl-1.1.16/Python-2.7.14:Python-2.7.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -I/usr/include/python2.7 -c src/_portaudiomodule.c -o build/temp.linux-mips-2.7/src/_portaudiomodule.o
In file included from /usr/include/python2.7/Python.h:8:0,
from src/_portaudiomodule.c:28:
/usr/include/python2.7/pyconfig.h:1215:0: warning: "_XOPEN_SOURCE" redefined
#define _XOPEN_SOURCE 600
^
In file included from /usr/include/stdio.h:8:0,
from src/_portaudiomodule.c:27:
/usr/include/features.h:12:0: note: this is the location of the previous definition
#define _XOPEN_SOURCE 700
^
src/_portaudiomodule.c:29:23: fatal error: portaudio.h: No such file or directory
compilation terminated.
error: command 'mipsel-openwrt-linux-musl-gcc' failed with exit status 1
root@Omega-138B:/www/a/PyAudio-0.2.11#
Hello, now when I execute python setup.py install I have this error:
Puff... thanks to everyone
*running install
running bdist_egg
running egg_info
writing src/PyAudio.egg-info/PKG-INFO
writing top-level names to src/PyAudio.egg-info/top_level.txt
writing dependency_links to src/PyAudio.egg-info/dependency_links.txt
reading manifest file 'src/PyAudio.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/PyAudio.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-mips/egg
running install_lib
running build_py
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building '_portaudio' extension
mipsel-openwrt-linux-musl-gcc -fno-strict-aliasing -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mno-mips16 -mno-interlink-mips16 -iremap /root/source/build_dir/target-mipsel_24kc_musl-1.1.16/Python-2.7.14:Python-2.7.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fno-inline -DNDEBUG -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mno-mips16 -mno-interlink-mips16 -iremap /root/source/build_dir/target-mipsel_24kc_musl-1.1.16/Python-2.7.14:Python-2.7.14 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -I/usr/include/python2.7 -c src/_portaudiomodule.c -o build/temp.linux-mips-2.7/src/_portaudiomodule.o
src/_portaudiomodule.c:28:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'mipsel-openwrt-linux-musl-gcc' failed with exit status 1*
Hi Maximilian:
I have modified the repositories and installed GCC. I have re-run pip install pyaudio and the following error appears.
Can you help me?
Thanks
Collecting pyaudio
Using cached https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a 6b/PyAudio-0.2.11.tar.gz
Building wheels for collected packages: pyaudio
Running setup.py bdist_wheel for pyaudio ... error
Failed building wheel for pyaudio
Running setup.py clean for pyaudio
Failed to build pyaudio
Installing collected packages: pyaudio
Running setup.py install for pyaudio ... error
Command "/usr/bin/python2.7 -u -c "import setuptools, tokenize;file='/tmp/pip-install-vnIsuA/pyaudio/setup.py';f=ge tattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exe c'))" install --record /tmp/pip-record-oDrbi4/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-vnIsuA/pyaudio/
Hi, I want to install pip install pyaudio but I have not been able every time I do it I get an error
Running setup.py install for pyaudio ... error
Command "/ usr / bin / python -u -c" import setuptools, tokenize; __ file __ = '/ tmp / pip-i nstall-1S0LTg / pyaudio / setup.py'; f = getattr (tokenize, 'open', open) (__file __); code = f.read (). replace ('\ r \ n', '\ n'); f.close (); exec (compile (code, file, 'exec')) "install - record /tmp/pip-record-soyc9h/install-record.txt --single-version-ext ernally-managed --compile "failed with error code 1 in / tmp / pip-install-1S0LTg / p yaudio /
Can you help me install it?
Many thanks
B. Regards
I would like to do a speech to text project. Do you know any platform?
I need to process the audio from the microphone and convert it to a text string and its possible in realtime. Many thanks Iam working with php.
Hello, I have Omega2 + and Arduino dock I have installed nodejs and everything is perfect. Now I want to write in the serial port a text variable inside nodejs.I have installed the library npm install github: sdesalas / node-serialport-omega2 but I have errors WARN engine serialport@7.0.2: wanted: {"node": "> = 6.0.0"} (current: {"node": "4.3.1", "npm": "2.14.12"})
Can you help me with a library?
Thank you very much
Best regards.