Slashdot Mirror


Xenon Flashes Can Make New Raspberry Pi 2 Freeze and Reboot

An anonymous reader writes Unfortunately for Raspberry Pi 2 owners who are trying to photograph their devices, ... the Raspberry Pi 2 has been found to be Xenon flash sensitive. Any camera with a Xenon flash aimed at the device is causing the device to freeze for a few seconds before rebooting. The forum thread about the bug is an interesting play-by-play of how the problem was narrowed down.

39 of 192 comments (clear)

  1. SMPS? by SuricouRaven · · Score: 2

    Cool. The linear reg on the previous models worked perfectly, but was rather less than ideally efficient - 5V power in, but almost all the power consumed goes via the 3.3V rail.

  2. Maybe not the power supply? by Wierdy1024 · · Score: 3, Insightful

    Reports are saying the power supply is causing this fault.

    That might not be the case. Bright UV light will create electron hole pairs in the gate of transistors turning them all *on*, which will cause the chip to use much much more power since push pull output stages of logic gates will now be shorting the power supply.

    Hence, even though it looks like the power supply is failing, it could simply be the power supply is turning off due to overcurrent.

    1. Re:Maybe not the power supply? by itzly · · Score: 5, Informative

      Hence, even though it looks like the power supply is failing, it could simply be the power supply is turning off due to overcurrent.

      No. Covering the regulator chip solves the problem. That means that it is the culprit.

    2. Re:Maybe not the power supply? by Mal-2 · · Score: 4, Informative

      If that was the case, putting a blob of material on the power supply chip (and nothing else) wouldn't remedy the problem – but it does (see the last post on this page.)

      --
      How is the Riemann zeta function like Trump rallies? Both have an endless number of trivial zeros.
    3. Re:Maybe not the power supply? by Anonymous Coward · · Score: 4, Informative

      This thread shows a quick experiment which confirms it's directly the light which is the cause, not the EM pulse from the capacitor discharge in the flashgun. Chip U16 apparently, which is part of the power regulator.

    4. Re:Maybe not the power supply? by Megane · · Score: 2

      Interesting. That thread has reached a point where they're trying to confirm that it's just the edges of the chip that are light senstive.

      A while back I took apart a scrap HD-DVD player and I noticed black epoxy around the edges of some chips. I thought it was just an attempt to prevent hacking the player, but I think those were the same type of flip-chip packaging, with nothing but mirror silicon on top.

      Also I seem to recall that CPUs and other chips with a mirror silicon chip in the middle always have the silicon's edges covered.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    5. Re:Maybe not the power supply? by Aighearach · · Score: 2

      I heard that if you color the edges of the chip with a blue sharpie, then your RPi mp3 player will have cleaner sound. /s

      I was recently working with some LED lighting modules with the bottom of the PCB exposed (and holding the LEDs) and the constant current controller had a big blob of epoxy on it. The other model where the LEDs were mounted on a different board, with the controller inside a metal housing, didn't have that.

  3. Bring out the tinfoil by thue · · Score: 5, Funny

    I am guessing that wrapping it in tinfoil would fix it? I know it works great for stopping the mind-control waves from getting into my head.

    1. Re:Bring out the tinfoil by towermac · · Score: 4, Funny

      AC is a coverup minion for them. Every good consipiracy buff knows that tin indeed blocks the mind control rays, as opposed to aluminum. Which is why they did away with tin foil, and replaced it with aluminum. Go ahead, try to find some tin foil nowadays...

  4. Re:Xenon? Should have used a Xeon. by Anonymous Coward · · Score: 2, Funny

    They should have used Silverlight instead of Flash.

  5. The new power supplies may be sensitve to EMP by Anonymous Coward · · Score: 5, Interesting

    Years ago when I visited an aquarium I encountered a very strange situation

    I was in front of a tank which has 3 electric eels, and in front of the tank there was a 'meter' measuring the power the electric eels were discharging

    So I took out my camera (real camera, with powerful Xenon flash light module attached)

    Before I pressed the button the Xenon flash was charging (as I said, powerful flash light) and all of a sudden the 'electric meter' in front of the tank indicated that there was an electric discharge from the electric eels

    At first I thought it was a coincidence. Then I wanted to take another picture. Again, my Xenon flash light module was charging, and again, there was a jump in the 'electric meter' reading. This second time around I started to suspect that there was a connection in between my Xenon flash light module and the electric eels

    The third time around I only use the Xenon flash module. Again I hold it close to the tank, and charge it, and again, the 'electric meter' got another 'shock'. I repeated the experiment the fourth time, fifth time, .... every single time while my Xenon flash module was charging up,. the electric eels inside the tank somehow 'felt' something and gave an electric discharge

    I never know the exact reason. My suspicion is that there might be some EMP effect, some wave or some magnetic field, or something like that

    What I described happened years ago. I never get the chance to test out my theory

    Perhaps someone can test if Xenon flash emits EMP, or not

    1. Re:The new power supplies may be sensitve to EMP by Enry · · Score: 3, Interesting

      Back in the earliyish days of cell phones (1994ish) I had a cell phone that would cause my computer speakers to power off about a half second before the phone would ring.

    2. Re:The new power supplies may be sensitve to EMP by Anonymous Coward · · Score: 5, Insightful

      Or maybe the glorious eels didn't give a shit about your puny human flash, but your device was interfering with the meter.

    3. Re:The new power supplies may be sensitve to EMP by mark_reh · · Score: 2

      I think it is more likely that your flash unit was disturbing the sensor than the eels.

    4. Re:The new power supplies may be sensitve to EMP by An+dochasac · · Score: 4, Interesting

      Put your electronic flash next to an AM radio (you might find one in an antique shop ;-) You'll find considerable EMF comes from the electronic flash circuit as it charges the big capacitor. For fun we used to heterodyne this against the EMF from an LED pocket calculator for some very bizarre spacy effects.

    5. Re:The new power supplies may be sensitve to EMP by thegarbz · · Score: 2

      I still have on my desk now a modern 3watt UHF digital 2-way which causes a lot of monitors to turn off when I key it up.

      There's nothing really about this phenomenon which links it to age. Modern equipment and old equipment can be affected.

    6. Re:The new power supplies may be sensitve to EMP by Anonymous Coward · · Score: 2, Informative

      I've worked with Nd:YAG lasers that had large xenon flashlamps in them (in principle like a camera's flashlamp, but much bigger, 100s of kW for a sizable fraction of a second), and pretty much any voltage monitoring in the room would pick up spikes from the start and end of the flash, even with a metal cover over the laser. Any large changes in current and unshielded inductance, and you will get some mess of EMI coming off. I doubt it would be enough to damage anything, unless you had a giant antenna feeding directly into silicon that was within a 100 mV of a damage threshold and no protection scheme.

      But sometimes it doesn't take much to confuse some chips and get them into a state they are not supposed to be in. I've seen plenty of driver chips that will, to the detriment of what they are connected to, latch up in noisy environments. They turn on, but don't turn off when the input signal is turned off. I would expect a SMPS to be somewhat robust to such noise considering how often they get used in half-ass designs that spew out plenty of EMI. But I've also seen some of the higher frequency ones that use rather large resistors for feedback, with a feedforward capacitor of just a couple pF, which is small enough it means if unshielded, moving your hand close to the circuit changes output voltage slightly and even the stability if poorly laid out on the board. Even then, it would take a whole mess of layout problems and things being marginal for that to affect the operation of digital logic.

      Some one should use this though to run a VIC-20 emulator... then I could relive not so found memories of an experiment I once worked on that would cause the VIC-20 to reboot every time it fired.

    7. Re:The new power supplies may be sensitve to EMP by Electricity+Likes+Me · · Score: 2

      It's the pulse rate of the radio. The radio turns on and off at audio frequencies, so the interference smears out to become the classic chirp sound.

    8. Re:The new power supplies may be sensitve to EMP by wolrahnaes · · Score: 5, Informative

      That's because you're hearing the pulsed transmission of a TDMA radio technology.

      D-AMPS (AT&T pre-Cingular), iDEN (Nextel), and any GSM 2G (up to EDGE) all use/used TDMA to share the frequency, so they're all potential causes of this.

      These days you won't hear it much because D-AMPS and iDEN are both dead and most GSM phones will be attempting to connect on 3G UMTS (which uses CDMA) or 4G LTE (OFDMA).

      DECT cordless phones are heavily derived from GSM so it's possible that they may be able to cause the same behavior, but due to their significantly reduced range requirements the power probably isn't there. I haven't heard it from my DECT phones.

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
    9. Re:The new power supplies may be sensitve to EMP by Aighearach · · Score: 2

      My cell phone still does that if I put powered speakers near it. Pretty much only would be close enough if they are computer speakers on a desk, most other audio setups with powered speakers aren't close enough to the places in the room where cell phones get set down.

      If the effect is at all reduced in modern equipment, it is probably just that shielded cables got cheaper, or computer speakers are using smaller wires that pick up less interference.

      In the 90s it was common for CB radios from passing cars to "bleed over" onto televisions. The CBs are the same now as they were then, but it is very unlikely you'll still get interference, because the TVs are designed better.

    10. Re:The new power supplies may be sensitve to EMP by bemymonkey · · Score: 3, Informative

      They still do this if you're on a GSM network.

  6. Re:Not Photosensitive by Anonymous Coward · · Score: 5, Informative

    A 100mW red laser pointer aimed at U16 also triggers it.
    Unless you want to claim diode lasers now emit x-rays and low rise time EM pulses... it's light sensitive.
    And inspecting U16 closely, it's no surprise. You're not looking at a plastic package but the laser marked underside of a bare die.

  7. Claim to fame is important no matter how trivial.. by Trax3001BBS · · Score: 4, Insightful

    He only mentions that it crashes, everybody else answers the question yet he now goes by "Discoverer of the PI2 XENON DEATH FLASH !"

  8. Re:Not Photosensitive by Anonymous Coward · · Score: 4, Informative

    Bingo, that's about what I was going to say. U16 is flip-chip bonded to the circuit board, meaning the naked die is exposed on the bottom. Even if it had a plastic or ceramic cover, it might still be photo sensitive to light getting underneath it. If the underside of the die (flipped, so topside) is really exposed, it basically becomes a silicium solar cell.

  9. OMG! by Anonymous Coward · · Score: 2, Funny

    I took a picture of my Raspberry Pi 2, you'll never believe what happened next!

  10. So put it in a case by newsdee · · Score: 5, Informative

    TFA found out precisely which chip it is (U16), covering it solves the problem.

  11. Enough! by Anonymous Coward · · Score: 5, Funny

    Stop using Flash, it's a persistent vulnerability, and Youtube has an HTML5 video player now.

  12. Nothing unusual really by inflex · · Score: 4, Informative

    There's plenty of cases of electronics misbehaving due to exposure to strong light. Glass enveloped diodes (such as signal diodes) can be notorious for it, as can the black plastic encased units if the light is strong enough.

    Small bare CoG (Chip on Glass) LCD panels will crash / hang when you use the flash on the camera taking photos of them in operation ( same reason, the controller die is exposed ).

    It's not EM-pulse or xrays causing the problem, just good ole silicon junctions being exposed to intense light :)

  13. Re:Crap hardware, not surprising by thegarbz · · Score: 4, Insightful

    Really not surprising. The pi2 is pretty crappy hardware. So many better micro computers for projects, not sure why 'geeks' obsess over it.

    Oh wow. Random uneducated Pi bashing. Especially considering the device causing the problem is the latest and greatest in small SMPS chip regulators and nothing at all to do with any of the parts that are typically quoted in specs and bitched about by ACs on slashdot.

  14. Re:Crap hardware, not surprising by jockm · · Score: 3, Insightful

    I use both BeathBone Black's and Raspberry Pi's each has their tradeoffs. The BeathBone is better suited complex embedded applications. It has more GPIOs, two built in 200Mhz in-order microcontrollers for real time tasks, it is faster (than the pre Pi 2's), etc. Not every application needs to play video. In fact almost every project I have done didn't need video. Most didn't need a UI.

    Each has their strengths and their weaknesses. Each has its niche. There is no such thing as better for all uses.

    --

    What do you know I wrote a novel
  15. Re:Crap hardware, not surprising by ArchieBunker · · Score: 2

    The Pi was never intended for video playback or a desktop replacement. The main goal was a low cost learning platform.

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
  16. Similarly .... by ankhank · · Score: 4, Interesting

    "Nothing like this will be built again"

    I've just had a really amazing experience: a guided tour of the nuclear reactor complex at Torness on the Scottish coast. ... Cameras were verboten -- not because of security, but as an operational precaution. For starters, some embedded controllers in racks in the auxilliary deisel generator control rooms have EPROMs which have been known to be erased by camera flashes in the past, triggering a generator trip ...."

    http://www.antipope.org/charli...

    1. Re:Similarly .... by itzly · · Score: 3, Informative

      For starters, some embedded controllers in racks in the auxilliary deisel generator control rooms have EPROMs which have been known to be erased by camera flashes in the past

      That's why people have always put metal foil stickers on the EPROM window to protect them. Even exposure to sunlight can mess up uncovered EPROMs. And a little sticker seems easier and more reliable than making sure not a single camera makes it through security.

    2. Re:Similarly .... by ankhank · · Score: 2

      Yup.
      One would hope they've got a belt-and-suspenders attitude there, as stickers sometimes do dry out and fall off; people sometimes put stickers on wrong; and having one's auxiliary diesel generators fail can be embarassing.

      http://sfcitizen.com/blog/wp-c...

    3. Re:Similarly .... by lars_stefan_axelsson · · Score: 2

      That's why people have always put metal foil stickers on the EPROM window to protect them. Even exposure to sunlight can mess up uncovered EPROMs. And a little sticker seems easier and more reliable than making sure not a single camera makes it through security.

      Another problem in power generation is that arc fault detectors also has a tendency to be tripped by camera flashes. So keeping cameras out of power plants/transformer sites/etc, is standard operating procedure since time immemorial.

      And these EPROMS probably had that black gunk on them that were popular when EPROMS were used in production. Problem is that the gunk had a tendency to dry up and fall off after a couple of decades.

      --
      Stefan Axelsson
  17. Re: EMI Noisy environments by SuricouRaven · · Score: 4, Insightful

    Inefficient hardware is sometimes justified by development time.

    You can spend many days hand-coding an ideal program for a PIC in ASM. Or you can use an arduino, which takes more power, more space and more money, but can be programmed in a tenth the time by anyone who knows C without needing any esoteric knowledge of harvard architecture and tables of port numbers. If you're doing things a bit more complicated like image processing or networking, the same applies to arduino vs pi: The arduino may be able to do your task if you'll put in the days of programming, but with the pi you're dealing with a familiar linux environment and all the classic libraries are there.

  18. LED acting as a light sensor by Revek · · Score: 2

    I've seen it before back in the day. They are not very efficient but they could cause a critical spike if they are not isolated from a bus.

  19. Re: EMI Noisy environments by Anonymous Coward · · Score: 2, Informative

    It doesn't take much to actually run most CNC setups. That hasn't stopped professional equipment, costing more than thousands of dollars, from having their share of problems and crashing on us or crapping out. More often than not it comes down to user interface stuff or fancy features not used often (I'll do geometry calculations at my desk, not standing in front of the machine) that crap out, but sometimes brings the whole system down. I've seen it even happen when a company rep was demonstrating their new controller for us. At least if we had source code instead of a crappy manual, it would be easier to see ahead of time that a particular controller can choke on a specific combinations of whitespace in the g code, or crazier stuff like splitting a command into two nonsensical ones.

    On the other hand, I've seen student RPi projects come through quite often, and we have even few used to monitor equipment, and they just sit there and run 24/7.

  20. U16 WLCSP package inherently photosensitive by Anonymous Coward · · Score: 2, Insightful

    The device at U16 on Raspberry Pi 2 v1.1 appears to be an ON Semiconductor NCP6343 DC converter provided in a WLCSP-15 package.

    Like all CSP packages, the bare die is photosensitive and needs to be protected from incident light if fault-free operation is expected. Usually such devices are embedded in closed cases like cellphones which prevent light ingress.

    However, if the normal operating environment includes uncased bare boards or transparent cases (which are both common and normal for Raspberry Pi), then it is imperative that CSP-packaged dies be protected from light by other means such as opaque epoxies or caps, otherwise such devices cannot be expected to operate within specification.

    It is a normal part of the engineer's job to understand their product's operating environment and the components they use, and to design accordingly.