Notifications
Clear all
24/08/2022 8:13 pm
At last I had time to spend testing the new FW.
No result.
These are the steps I followed:
sudo i2cset -y 1 0x6b 0x02 0x10 sudo i2cset -y 1 0x6b 0x02 0x01 sudo python pico_v0.3a.py -l -f ups_pico4_main_Firmware_0133_12062022.hex result: 2022-08-24 21:52:08,223 [WARNING] PICO PCB version: 0x41 PICO model: B Stack 2022-08-24 21:52:08,224 [WARNING] RPi model: Raspberry Pi 4 Model B Rev 1.1 2022-08-24 21:52:08,225 [WARNING] MD5 of the firmware file: 74ffe9faeb89ccecd375ff1eaec63a96 2022-08-24 21:52:08,350 [WARNING] Firmware file verification OK 2022-08-24 21:52:08,352 [WARNING] Current firmware release: 0x11d 2022-08-24 21:52:41,600 [ERROR] Failed to establish serial communication with PICO UPS sudo i2cset -y 1 0x6b 0x02 0x02 sudo i2cset -y 1 0x6b 0x02 0x20 sudo python pico_v0.3a.py -l -f ups_....hex result: 2022-08-24 21:54:19,730 [WARNING] PICO PCB version: 0x41 PICO model: B Stack 2022-08-24 21:54:19,731 [WARNING] RPi model: Raspberry Pi 4 Model B Rev 1.1 2022-08-24 21:54:19,733 [WARNING] MD5 of the firmware file: 74ffe9faeb89ccecd375ff1eaec63a96 2022-08-24 21:54:19,858 [WARNING] Firmware file verification OK 2022-08-24 21:54:19,861 [WARNING] Current firmware release: 0x11d 2022-08-24 21:54:21,302 [WARNING] Serial link with PICO UPS verified Uploading firmware |2022-08-24 21:54:22,212 [ERROR] Failed to recieve data ACK from UPIS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 586, in wait_ack for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 21:54:22,214 [ERROR] Failed to ack the line 16 | sudo i2cset -y 1 0x6b 0x02 0x03 sudo i2cset -y 1 0x6b 0x02 0x30 sudo python pico_v0.3a.py -l -f ups_....hex result: 2022-08-24 22:02:40,803 [WARNING] PICO PCB version: 0x41 PICO model: B Stack 2022-08-24 22:02:40,803 [WARNING] RPi model: Raspberry Pi 4 Model B Rev 1.1 2022-08-24 22:02:40,805 [WARNING] MD5 of the firmware file: 74ffe9faeb89ccecd375ff1eaec63a96 2022-08-24 22:02:40,927 [WARNING] Firmware file verification OK 2022-08-24 22:02:40,929 [WARNING] Current firmware release: 0x11d 2022-08-24 22:02:41,602 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 572, in send_line self.pico_serial.write(line.encode()) AttributeError: 'bytes' object has no attribute 'encode' 2022-08-24 22:03:13,533 [ERROR] Failed to establish serial communication with PICO UPS ... 0x04 + 0x40 : 2022-08-24 22:04:08,667 [WARNING] PICO PCB version: 0x41 PICO model: B Stack 2022-08-24 22:04:08,668 [WARNING] RPi model: Raspberry Pi 4 Model B Rev 1.1 2022-08-24 22:04:08,669 [WARNING] MD5 of the firmware file: 74ffe9faeb89ccecd375ff1eaec63a96 2022-08-24 22:04:08,796 [WARNING] Firmware file verification OK 2022-08-24 22:04:08,798 [WARNING] Current firmware release: 0x11d 2022-08-24 22:04:26,903 [ERROR] Failed to recieve data ACK from UPIS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 586, in wait_ack for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:27,008 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:27,109 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:27,211 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:27,312 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:27,413 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:27,515 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:27,616 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:27,717 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:27,818 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:27,920 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:28,021 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:28,122 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 570, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:04:29,236 [ERROR] Failed to establish serial communication with PICO UPS ... 0x05 + 0x50 : 2022-08-24 22:07:43,147 [WARNING] PICO PCB version: 0x41 PICO model: B Stack 2022-08-24 22:07:43,148 [WARNING] RPi model: Raspberry Pi 4 Model B Rev 1.1 2022-08-24 22:07:43,149 [WARNING] MD5 of the firmware file: 74ffe9faeb89ccecd375ff1eaec63a96 2022-08-24 22:07:43,275 [WARNING] Firmware file verification OK 2022-08-24 22:07:43,278 [WARNING] Current firmware release: 0x11d 2022-08-24 22:07:44,020 [ERROR] Failed to recieve data ACK from UPIS Traceback (most recent call last): File "/home/pi/UPS-PIco4-files_0133_12062022/pico_v0.3a.py", line 586, in wait_ack for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-08-24 22:08:15,946 [ERROR] Failed to establish serial communication with PICO UPS ... 0x06 + 0x60 : 2022-08-24 22:09:01,223 [WARNING] PICO PCB version: 0x41 PICO model: B Stack 2022-08-24 22:09:01,224 [WARNING] RPi model: Raspberry Pi 4 Model B Rev 1.1 2022-08-24 22:09:01,226 [WARNING] MD5 of the firmware file: 74ffe9faeb89ccecd375ff1eaec63a96 2022-08-24 22:09:01,352 [WARNING] Firmware file verification OK 2022-08-24 22:09:01,355 [WARNING] Current firmware release: 0x11d 2022-08-24 22:09:34,596 [ERROR] Failed to establish serial communication with PICO UPS
and what?
24/09/2022 3:53 pm
I left a post some time ago yet waiting for moderation...
It seems there is something wrong in serial communication between pi and pico; please, look at my post where I reported the trace of actions.
Topic starter
24/09/2022 4:56 pm
Sorry receiving so many porn email, so missed you. Check it and answer today later on
br PiM
Page 2 / 2
Prev