Bonjour,
Suite à un reboot de mon rpi 4b pas fait depuis des lustres je n'arrive plus à activer ma pizigate (le tools renvoi rien).
La LED reste allumé faiblement et ce même au boot ou si je passe en mode "flash" comme l'indique la doc.
J'ai en posession un pi zero w et j'ai le même symptôme. Voici l'output de celui-ci:
root@raspberrypi:~/PiZiGate-tools/test# cat /boot/cmdline.txt
console=tty1 root=PARTUUID=738a4d67-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
root@raspberrypi:~/PiZiGate-tools/test# grep -E "(uart|pi3)" /boot/config.txt
dtoverlay=pi3-disable-bt
enable_uart=1
root@raspberrypi:~/PiZiGate-tools/test# ls -l /dev/serial*
lrwxrwxrwx 1 root root 7 May 5 08:01 /dev/serial0 -> ttyAMA0
lrwxrwxrwx 1 root root 5 May 5 08:01 /dev/serial1 -> ttyS0
root@raspberrypi:~/PiZiGate-tools/test# systemctl status hciuart
● hciuart.service - Configure Bluetooth Modems connected by UART
Loaded: loaded (/lib/systemd/system/hciuart.service; disabled; vendor preset: enabled)
Active: inactive (dead)
root@raspberrypi:~/PiZiGate-tools/test# ./PiZiGate_test /dev/serial0
RPI Model searching ...
Warning !!! you must modify /boot/config.txt
Verifying /boot/cmdline.txt ...
+ /boot/cmdline.txt seems to be OK
Verifying /boot/config.txt ...
+ /boot/config.txt seems to be OK
Warning !!! if it's not the case, you have to execute the following commands :
sudo systemctl disable hciuart
sudo usermod -aG gpio pi
then reboot the PI
Searching /dev/serial0...
+ Port : /dev/serial0 is not used
Verif GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Config GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Opening : /dev/serial0 ...
+ /dev/serial0 opened --> OK
+ Packet 01 02 10 10 02 10 02 10 10 03 sent --> OK
- No packet received - size sent : 11 - error : 11
root@raspberrypi:~/PiZiGate-tools/test# ./PiZiGate_test /dev/serial1
RPI Model searching ...
Warning !!! you must modify /boot/config.txt
Verifying /boot/cmdline.txt ...
+ /boot/cmdline.txt seems to be OK
Verifying /boot/config.txt ...
+ /boot/config.txt seems to be OK
Warning !!! if it's not the case, you have to execute the following commands :
sudo systemctl disable hciuart
sudo usermod -aG gpio pi
then reboot the PI
Searching /dev/serial1...
+ Port : /dev/serial1 is not used
Verif GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Config GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Opening : /dev/serial1 ...
+ /dev/serial1 opened --> OK
- Error from tcgetattr: Input/output error
+ Packet 01 02 10 10 02 10 02 10 10 03 sent --> OK
- Error from write: -1, 5
- No packet received - size sent : -1 - error : 5
Essayons un RAZ:
root@raspberrypi:~/JennicModuleProgrammer/Build# ./JennicModuleProgrammer -V 6 -e -P 115200 -f ZiGate_v3.1d.bin -s /dev/serial0
JennicModuleProgrammer Version: 0.7(r56124)
Setting baudrate: 115200
Error setting baudrate
Mais rien :-/
Avez-vous une idée ?
Merci d'avance pour votre aide
Bonjour,
Suite à un reboot de mon rpi 4b pas fait depuis des lustres je n'arrive plus à activer ma pizigate (le tools renvoi rien).
La LED reste allumé faiblement et ce même au boot ou si je passe en mode "flash" comme l'indique la doc.
J'ai en posession un pi zero w et j'ai le même symptôme. Voici l'output de celui-ci:
root@raspberrypi:~/PiZiGate-tools/test# cat /boot/cmdline.txt
console=tty1 root=PARTUUID=738a4d67-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
root@raspberrypi:~/PiZiGate-tools/test# grep -E "(uart|pi3)" /boot/config.txt
dtoverlay=pi3-disable-bt
enable_uart=1
root@raspberrypi:~/PiZiGate-tools/test# ls -l /dev/serial*
lrwxrwxrwx 1 root root 7 May 5 08:01 /dev/serial0 -> ttyAMA0
lrwxrwxrwx 1 root root 5 May 5 08:01 /dev/serial1 -> ttyS0
root@raspberrypi:~/PiZiGate-tools/test# systemctl status hciuart
● hciuart.service - Configure Bluetooth Modems connected by UART
Loaded: loaded (/lib/systemd/system/hciuart.service; disabled; vendor preset: enabled)
Active: inactive (dead)
root@raspberrypi:~/PiZiGate-tools/test# ./PiZiGate_test /dev/serial0
RPI Model searching ...
Warning !!! you must modify /boot/config.txt
Verifying /boot/cmdline.txt ...
+ /boot/cmdline.txt seems to be OK
Verifying /boot/config.txt ...
+ /boot/config.txt seems to be OK
Warning !!! if it's not the case, you have to execute the following commands :
sudo systemctl disable hciuart
sudo usermod -aG gpio pi
then reboot the PI
Searching /dev/serial0...
+ Port : /dev/serial0 is not used
Verif GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Config GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Opening : /dev/serial0 ...
+ /dev/serial0 opened --> OK
+ Packet 01 02 10 10 02 10 02 10 10 03 sent --> OK
- No packet received - size sent : 11 - error : 11
root@raspberrypi:~/PiZiGate-tools/test# ./PiZiGate_test /dev/serial1
RPI Model searching ...
Warning !!! you must modify /boot/config.txt
Verifying /boot/cmdline.txt ...
+ /boot/cmdline.txt seems to be OK
Verifying /boot/config.txt ...
+ /boot/config.txt seems to be OK
Warning !!! if it's not the case, you have to execute the following commands :
sudo systemctl disable hciuart
sudo usermod -aG gpio pi
then reboot the PI
Searching /dev/serial1...
+ Port : /dev/serial1 is not used
Verif GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Config GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Opening : /dev/serial1 ...
+ /dev/serial1 opened --> OK
- Error from tcgetattr: Input/output error
+ Packet 01 02 10 10 02 10 02 10 10 03 sent --> OK
- Error from write: -1, 5
- No packet received - size sent : -1 - error : 5
Essayons un RAZ:
root@raspberrypi:~/JennicModuleProgrammer/Build# ./JennicModuleProgrammer -V 6 -e -P 115200 -f ZiGate_v3.1d.bin -s /dev/serial0
JennicModuleProgrammer Version: 0.7(r56124)
Setting baudrate: 115200
Error setting baudrate
Mais rien :-/
Avez-vous une idée ?
Merci d'avance pour votre aide