樹莓派 3B+ 筦窺︰ 【POE】 USB Boot ?★‧硬體‧省思

碩果不食

□︰今已有兩極四方,恐入八卦矣!

○︰所為何事?

□︰圍城而不攻?是何故耶??

○︰是所謂碩果不食。能上不能下?窮之災!囧之禍乎??

○︰《易》有剝極來復之道!!

與時並進者遭遇『困難』,面對『未知』是再自然不過的事。如之何『求解』正砥礪著學者的『百折不撓』之精神。『九天九地』的探尋,難到不會有『一陽來復』之時?深體自由軟體者之心??

假使仔細閱讀《 Device Tree on ARCH_BCM2708 》,留心一下『那個人』── notro ── 與『那個時間』── on Jul 30, 2014 ──,也許我們不只對樹莓派『裝置樹』有更多的了解,更能明白許多的貢獻其來有自,正所謂『德不孤,必有鄰』乎!!

─── 《大樹底下好乘涼 ︰ 《拜樹頭》 ? ※ 碩果不食

 

當人們面對『已知』問題︰

Re: PoE HAT – USB Ports not working – over-current

jamesh

Tue Sep 11, 2018 2:22 pm

OK all, as some will have seen on the Register (www.theregister.co.uk) we think we have got to the bottom of this. Here is a letter from Eben sent to the Register, who had asked what was up after some of their readers got in touch.

We’ve been looking at this over the last week, and have a good handle on the underlying mechanism: it’s an interaction between the fairly low-frequency switching regulator on the HAT, and one of the two brands of USB current limiting switch that we use on the main board. Because the regulator operates at a fairly low frequency, each time it switches it moves quite a large chunk of energy into the three USB reservoir caps via the current limiting switch: this large instantaneous current is fooling the switch into thinking that a genuine over-current event is occurring. We missed it in product testing because (dumb luck) our heavy-load testing was done on boards with the other brand of switch, and most of our field testers were only using the board to power mice and keyboards, which works fine on all the HAT/Pi pairs we’ve tested.

There will be a blog post of gory details, probably tomorrow, but for now the summary is:

– A significant proportion of HAT/Pi pairs are limited to delivering <200mA of downstream current to USB. This is generally enough for mice and keyboards, but not for e.g. hard drives.
– We will fix this issue in a subsequent spin of the PoE HAT.
– In the meantime we’ll be adding a note where the HAT is sold, documenting this limitation.
– We will provide a couple of hand-mod options for adventurous users. These are likely to be:
– Removing reservoir caps from the main board (an easy, clean mod if you can use a soldering iron, but limits USB hotpluggability).
– Inserting a small amount of series impedance in the current path from the HAT (this one will be a bit fiddly to implement).
– Users who have bought a HAT and are inconvenienced by this issue should return it for a refund.

The moral of the story: do more testing, particularly where we have multiple vendors for key bits of silicon.

I hope that covers all the questions that have been asked above.

 

五花八門『想法』蹦然而出,宛如『腦力激盪』,豈不好乎?

Re: PoE HAT – USB Ports not working – over-current

Tue Sep 11, 2018 5:13 pm

drgeoff wrote:

Tue Sep 11, 2018 3:33 pm

raspy1 wrote:

Mon Sep 10, 2018 8:03 pm

An extra question: is anyone knows if there is a power priority management if both 5V PSU & PoE are connected?

I can’t see that is any different from powering via the micro-USB socket and the GPIO header at the same time.

There is no sensing upwind of the output side of the polyfuse which could be used to know that both micro-USB and GPIO header (PoE HAT if fitted) are powered. And even if there was there is no controllable switch on the micro-USB input to turn off supply of power from there.

No there is some prioritisation going on here, though how/what/where will need to be explained by others.

If I power up the Pi with PoE then connect a micro USB power supply, then disconnect the USB, the hat power cycles. Removing the network cable doesn’t cause the Pi to power cycle. The network switch shows that as soon as I connect the micro USB Power supply it stops delivering power over Ethernet.
If I power up the Pi with Micro USB power supply and then add the Ethernet Cable, power is only drawn from the Micro USB supply, at least as reported by my PoE Switch.

Martin

 

還得『省思』 Y -解法之『利』與『弊』也!

派生碼訊

丑 牛

錦瑟‧李商隱

錦瑟無端五十弦,一弦一柱思華年。
莊生曉夢迷蝴蝶,望帝春心託杜鵑。
滄海月明珠有淚,藍田日暖玉生煙。
此情可待成追憶,只是當時已惘然。

白金西所謂明智,是能將事後之明﹐用於臨事之前。當真為『回反』者也。

─── 《M♪O 之學習筆記本《丑》控制︰【白金西】時回流反

……

閱讀『美國線規』詞條有何樂趣耶?

或可拿來尋幽探秘乎??

比方藉著 Tables of AWG wire sizes 

Fusing current

索引,或能開拓視野,認識歷史裡人物事蹟也!

Preece

Onderdonk

爾後面對『紅色條規』 Code Red 時︰

勿將電壓源短路。

將會反思鍊結『高溫、熔斷、火災、爆炸 …』吧!!

故知,雖曾有此

並聯電路

電池

假設一個電池組是以幾個單電池以並聯方式連接成電源,則此電源兩端的電壓等於每一個單電池兩端的電壓。例如,假設一個電池組內部含有四個單電池並聯在一起,它們共同給出1安培電流,則每一個單電池給出0.25安培電流。很多年前,並聯在一起的電池組時常會被使用為無線電接收機內部真空管燈絲的電源,但這種用法現在已不常見。

之用法,需得借『開關』避免

無『負載』時的內耗哩☺

那麼仔細衡量 R_L『範圍』及『安全顧慮』后,到底會不會定出

USB_(Physical)#Power

Where devices (for example, high-speed disk drives) require more power than a high-power device can draw,[45] they function erratically, if at all, from bus power of a single port. USB provides for these devices as being self-powered. However, such devices may come with a Y-shaped cable that has two USB plugs (one for power and data, the other for only power), so as to draw power as two devices.[46] Such a cable is non-standard, with the USB compliance specification stating that “use of a ‘Y’ cable (a cable with two A-plugs) is prohibited on any USB peripheral”, meaning that “if a USB peripheral requires more power than allowed by the USB specification to which it is designed, then it must be self-powered.”[47]

Peripheral Power Consumption

Mandate: Required
Effective Date: Now

The maximum current that any USB peripheral is permitted to draw from a standard USB 2.0 downstream port is 500mA. This includes USB 3.0 peripherals and peripherals that charge batteries from USB. For this discussion, a standard USB 2.0 downstream port complies with the definition of a host or a hub as defined solely in the “Universal Serial Bus Specification,” Revision 2.0 document.

The maximum current that a USB 3.0 peripheral may draw from a standard USB 3.0 downstream port is 900mA. USB 2.0 peripherals and USB 2.0 peripherals that charge batteries from USB are still limited to 500mA when attached to a standard USB 3.0 downstream port. For this discussion, a USB 3.0 standard downstream port complies with the definition of a host or a hub as defined solely in the “Universal Serial Bus 3.0 Specification,” Revision 1.0 document.

Use of a ‘Y’ cable (a cable with two A-plugs) is prohibited on any USB peripheral. If a USB peripheral requires more power than allowed by the USB specification to which it is designed, then it must be self-powered.

All upstream ports are required provide enumeration of USB functions.

必須如是的呢☆★

─ 摘自《STEM 隨筆︰古典力學︰轉子【五】《電路學》三【電阻】V.D

 

因此特別找出『PowerPi 工程用電源組

 

純假借為 5V/2A 之 『USB 電壓源』,證此『念頭』哩!?

那麼在實測 OK 後,安全『無虞』耶?!

何不務歸其本也☆

Re: PoE HAT – USB Ports not working – over-current

Thu Sep 13, 2018 7:27 pm

At least those experimenting here didn’t blow up their HATs like Dave EEVblog accidentally did: https://www.youtube.com/watch?v=Tpvjo6wDFUA
I wonder if the foundation will honour his warranty ;-)@jamesh I’ve dropped you an email. Feel free to get in touch. Sadly I’m not in Cambridge as often as I used to be, else I would have offered to drop in.