H0R4T1U
Posts: 13
Joined: Tue Apr 30, 2019 2:50 pm

vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 6:01 pm

Hi! I've ran the vcgencmd get_throttled and it retuned 0x50000 durring an system update and 0xd0000 while standing by and after i've restarted the pi with no app open it returned 0x0.But i don't understand what this hex numbers means

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23636
Joined: Sat Jul 30, 2011 7:41 pm

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 6:10 pm

#### get_throttled

Returns the throttled state of the system. This is a bit pattern.

| Bit | Meaning |
|:---:|---------|
| 0 | Under-voltage detected |
| 1 | Arm frequency capped |
| 2 | Currently throttled |
| 3 | Soft temperature limit active |
| 16 | Under-voltage has occurred |
| 17 | Arm frequency capped has occurred |
| 18 | Throttling has occurred |
| 19 | Soft temperature limit has occurred
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

H0R4T1U
Posts: 13
Joined: Tue Apr 30, 2019 2:50 pm

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 6:12 pm

jamesh wrote:
Fri May 10, 2019 6:10 pm
#### get_throttled

Returns the throttled state of the system. This is a bit pattern.

| Bit | Meaning |
|:---:|---------|
| 0 | Under-voltage detected |
| 1 | Arm frequency capped |
| 2 | Currently throttled |
| 3 | Soft temperature limit active |
| 16 | Under-voltage has occurred |
| 17 | Arm frequency capped has occurred |
| 18 | Throttling has occurred |
| 19 | Soft temperature limit has occurred
to get to this bits i need to convert the hex to binary?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23636
Joined: Sat Jul 30, 2011 7:41 pm

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 6:13 pm

Yes.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

W. H. Heydt
Posts: 10883
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 6:16 pm

H0R4T1U wrote:
Fri May 10, 2019 6:12 pm
jamesh wrote:
Fri May 10, 2019 6:10 pm
#### get_throttled

Returns the throttled state of the system. This is a bit pattern.

| Bit | Meaning |
|:---:|---------|
| 0 | Under-voltage detected |
| 1 | Arm frequency capped |
| 2 | Currently throttled |
| 3 | Soft temperature limit active |
| 16 | Under-voltage has occurred |
| 17 | Arm frequency capped has occurred |
| 18 | Throttling has occurred |
| 19 | Soft temperature limit has occurred
to get to this bits i need to convert the hex to binary?
For the values you're seeing, just the first hex character.

H0R4T1U
Posts: 13
Joined: Tue Apr 30, 2019 2:50 pm

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 6:18 pm

W. H. Heydt wrote:
Fri May 10, 2019 6:16 pm
H0R4T1U wrote:
Fri May 10, 2019 6:12 pm
jamesh wrote:
Fri May 10, 2019 6:10 pm
#### get_throttled

Returns the throttled state of the system. This is a bit pattern.

| Bit | Meaning |
|:---:|---------|
| 0 | Under-voltage detected |
| 1 | Arm frequency capped |
| 2 | Currently throttled |
| 3 | Soft temperature limit active |
| 16 | Under-voltage has occurred |
| 17 | Arm frequency capped has occurred |
| 18 | Throttling has occurred |
| 19 | Soft temperature limit has occurred
to get to this bits i need to convert the hex to binary?
For the values you're seeing, just the first hex character.
soo for 0x0 or 0x50000 it means im under voltage?

W. H. Heydt
Posts: 10883
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 6:47 pm

H0R4T1U wrote:
Fri May 10, 2019 6:18 pm
W. H. Heydt wrote:
Fri May 10, 2019 6:16 pm
H0R4T1U wrote:
Fri May 10, 2019 6:12 pm


to get to this bits i need to convert the hex to binary?
For the values you're seeing, just the first hex character.
soo for 0x0 or 0x50000 it means im under voltage?
Not for 0x0. No bits are set there. for 0x5... the bits 19-16 are 0101, so throttling has occurred (bit 18) and undervolt has occurred (bit 16).

User avatar
lpsw
Posts: 152
Joined: Thu Jun 25, 2015 4:45 pm
Location: USA

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 7:39 pm

This may help clarify:

Hex 5 0 0 0 0
Binary 0101 0000 0000 0000 0000
Bit#---- 1111 1111 1100 0000 0000
----------- 9876 5432 1098 7654 3210
-------------------^--- Bit 16 is on - Been under voltage (at least once)
---------------^------- Bit 18 is on - Been throttled (at least once)
(Note: since bits 0-3 are zero, the Pi is not currently UV or throttled).



Hex D 0 0 0 0
Binary 1101 0000 0000 0000 0000
Bit#---- 1111 1111 1100 0000 0000
---------- 9876 5432 1098 7654 3210
------------------^----- Bit 16 is on - Been under voltage (at least once)
--------------^--------- Bit 18 is on - Been throttled (at least once)
-------------^---------- Bit 19 is on - Soft temperature limit has occurred (at lest once)
Note: since bits 0-3 are zero, the Pi is not currently UV or throttled).


Edit: Formatting didn't come through as planned, but should be good enough to get the idea.
Last edited by lpsw on Fri May 10, 2019 7:51 pm, edited 2 times in total.
Self-education is, I firmly believe, the only kind of education there is - Isaac Asimov

W. H. Heydt
Posts: 10883
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 7:48 pm

lpsw wrote:
Fri May 10, 2019 7:39 pm
Edit: Formatting didn't come through as planned, but should be good enough to get the idea.
Wrap it in code tags so spaces aren't eaten by the browser and a fixed-width font is used.

User avatar
B.Goode
Posts: 8503
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 7:52 pm

This may help clarify: (reformatted with Code tags)

Code: Select all

Hex    5     0     0     0     0
Binary 0101  0000  0000  0000  0000
Bit#   1111  1111  1100  0000  0000         
       9876  5432  1098  7654  3210             
          ^ -- Bit 16 is on - Been under voltage (at least once)
        ^ ----- Bit 18 is on - Been throttled (at least once)
(Note: since bits 0-3 are zero, the Pi is not currently UV or throttled).

Code: Select all

Hex    D     0     0     0     0
Binary 1101  0000  0000  0000  0000 
Bit#   1111  1111  1100  0000  0000         
       9876   5432 1098  7654  3210             
          ^ -- Bit 16 is on - Been under voltage (at least once)
        ^ -----  Bit 18 is on - Been throttled (at least once)
       ^ -------- Bit 19 is on - Soft temperature limit has occurred (at lest once)
Note: since bits 0-3 are zero, the Pi is not currently UV or throttled).
Last edited by B.Goode on Fri May 10, 2019 7:53 pm, edited 1 time in total.

User avatar
lpsw
Posts: 152
Joined: Thu Jun 25, 2015 4:45 pm
Location: USA

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 7:53 pm

Tried code tagsfirst, no help. Spaces were still removed.
I expected code tags to honor (honour :D ) indentation.

Edit: Thanks B.Goode. I copied and pasted from a document to between the code tags...hmm
Last edited by lpsw on Fri May 10, 2019 7:56 pm, edited 1 time in total.
Self-education is, I firmly believe, the only kind of education there is - Isaac Asimov

User avatar
B.Goode
Posts: 8503
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 7:55 pm

lpsw wrote:
Fri May 10, 2019 7:53 pm
Tried code tagsfirst, no help. Spaces were still removed.
I expected code tags to honor (honour :D ) indentation.
They do. See my version, above...

Andyroo
Posts: 4465
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 7:57 pm

lpsw wrote:
Fri May 10, 2019 7:53 pm
Tried code tagsfirst, no help. Spaces were still removed.
I expected code tags to honor (honour :D ) indentation.

Edit: Thanks B.Goode. I copied and pasted from a document to between the code tags...hmm
Was that in preview? Preview lives in a world of its own and can mess bits up depending on the way the wind blows (just try inline images for fun - not)...
Need Pi spray - these things are breeding in my house...

User avatar
lpsw
Posts: 152
Joined: Thu Jun 25, 2015 4:45 pm
Location: USA

Re: vcgencmd get_throttled returns 0xd0000 and 0x50000

Fri May 10, 2019 8:01 pm

Andyroo,
I believe I was in preview mode.
Self-education is, I firmly believe, the only kind of education there is - Isaac Asimov

Return to “General discussion”