Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New device, set up error 121 #96

Open
alpapak opened this issue Jan 20, 2022 · 7 comments
Open

New device, set up error 121 #96

alpapak opened this issue Jan 20, 2022 · 7 comments

Comments

@alpapak
Copy link

alpapak commented Jan 20, 2022

Hello,
I have one upsplus and after following the setup manual and running the install script i got error 121

Any idea?

8BE4F8F2-682F-4469-8527-950EB0E7A550

@check0r0
Copy link

Buster or Bullseye?

Put this down in the console: sudo i2cdetect -y 1
and show the result.

@alpapak
Copy link
Author

alpapak commented Jan 23, 2022

Hi,

i have Buster. It seems that i had to add in boot/config.txt dtoverlay=i2c-rtc,ds1307. Now, it is boot up and then halt.

@ekaftan
Copy link

ekaftan commented May 10, 2022

Did you fix the problem?

I have the same problem right now.

pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: 40 -- -- -- -- 45 -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@raspberrypi:~ $ i2cget -y 1 0x17 25
Error: Read failed

Its a 3B+ running Buster.

@mmaga
Copy link

mmaga commented Oct 22, 2022

Did you fix the problem?

I have the same problem right now.

pi@raspberrypi:~ $ i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: 40 -- -- -- -- 45 -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- pi@raspberrypi:~ $ i2cget -y 1 0x17 25 Error: Read failed

Its a 3B+ running Buster.

I have a RPi 4B model, bullseye x64.

I've tried to write 0x00 in the address 50 in the same way OTA_firmware_upgrade.py does at the end of the script without success (bus.write_byte_data(0X18, 50, 0)):

i2cset -y 1 0x18 50 0 b

The only way I could get out of the firmware upgrade mode (0x18) to the operational mode (0x17) was to proceed a complete firmware upgrade running:

python3 OTA_firmware_upgrade.py
sudo halt

I removed batteries and external power source, reinstalled batteries, and the UPSPlus was working in the 0x17 operation mode, back again.

@alpapak
Copy link
Author

alpapak commented Oct 22, 2022

i gave it up and order another hat from another company. I stoped using it from my last post.

@mmaga
Copy link

mmaga commented Oct 22, 2022

@alpapak, which one, if you don't mind to inform for a next purchase? because it is very disappointing about having no clue on miss-functions of the upsplus.

@alpapak
Copy link
Author

alpapak commented Oct 22, 2022

@mmaga
please check me repo.
you will find your answer.
i am using it in my project for 6months and i am very happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants