Deep Tech: Repairing EEPROM in Browning Trail Cameras
When a trail camera reverts back to its default settings, and won’t take a firmware update, it likely means that the EEPROM has failed. This small, inexpensive part, holds the firmware for the camera. In this post, I show how I have been able to repair a failed EEPROM. I also provide pointers to EEPROM images necessary to initialize new parts for various Browning trail camera models. This is a relatively high “degree of difficulty” repair, as it involves some specialized equipment and skills.
Trail camera companies, like Browning, likely don’t do this repair because of its cost, choosing instead to offer newer cameras. I have made the repair easier by publishing working EEPROM images.
You can also check out the video version of this post on my YouTube channel
Thanks to DanP for inspiring the post, and letting me use his camera.
What is an EEPROM Anyway?
EEPROM stands for Electrically Erasable Programmable Read Only Memory. That’s quite a mouth full. It’s a device that can store data, such as the firmware necessary to boot a trail camera, even when power is not applied. Critically, it can also be electrically erased on a block by block basis, and rewritten with new data.
In a trail camera, EEPROMs are used to store the camera firmware, which is loaded from the device every time the camera is turned on, or wakes up to take a photo or video. The EEPROM is also used to store couple of small file systems. These file systems contain an assortment of read-only configuration files, but they also store any new configuration data.
The EEPROM on Browning cameras is an 8-PIN wide SOIC package. Photo below shows location for Patriot-FHD model. Exact location on the circuit board varies by camera model.
How do EEPROMs Fail?
Each “electrical erasing” and reprogramming of an EEPROM does a tiny amount of damage to the EEPROM device. Typical EEPROM parts used in trail cameras are rated for a minimum number of write cycles in the range of 100,000 cycles. That is, the damage done on each write is so small that the device can be safely rewritten at least 100,000 times.
100,000 cycles should be plenty to keep a trail camera going for decades of normal use. After all, we don’t change the parameters *that* often and the camera firmware is careful not to write to the EERPOM device unless it really needs to.
I suspect that some devices do not meet this spec, and fail after a smaller number of cycles. But this explains why we typically see this failure in older cameras.
No New Data
In principle, a failed EEPROM could fail in many different ways. For example, it could fail by “forgetting” some or all of the data stored. If this happened, it would most likely prevent the firmware from booting.
However, in my expereince, EEPROMs in these trail cameras fail by not accepting any new data. The software can try to write new data by erasing blocks, and writing new data, but in a typically failing EEPROM, the old data is never erased, and the new data never written.
Symptoms of EEPROM Failure
EEPROM failure can be diagnosed in a trail camera is the camera reverts back to some earlier set of configuration parameters, even after you just set new ones. Sometimes this problem can be caused by a corrupted parameter file. In this case, reloading the firmware can fix the problem. If the camera will not accept a new firmware image, then the EEPROM has failed.
Replacing the EEPROM
Replacing the EEPROM in these cameras requires the following steps.
- Get a new EEPROM device
- Get a valid firmware image
- Program the Device with a valid firmware image
- Remove the failed EERPOM from the main circuit board on the camera
- Solder down the new EEPROM
Get a New EEPROM Device
Easiest step. These parts are readily available from electronics distributors. Browning uses a number of different parts from different suppliers, optimized for each camera model, and possibly determined by supply chain agreements. I have had success replacing all these different capacity and maker’s EEPROM device with a 16 Mbyte device from Macronix — MX25L12835FM2I-10G. This part is available from multiple suppliers, including DigiKey.
Get A Valid Firmware Image
Unfortunately, Browning does not publish EEPROM images for their cameras. Fortunately, as part of a larger reverse engineering projected (See New Features for Browning Recon Force and SpecOps Cameras) I had to create EEPROM images for a number of different trail camera models. You can find them here.
You might think that it would be easy to get an EEPROM image — just copy the image from the failed EEPROM. After all, it can still be read. Unfortuately, I was not able to read the device “in situ” on the board, likely because of the way it is connected to other parts in the design. I also found that the heat required to remove the device almost always erases some or all of the data.
Instead, I found that I was able to generate an EERPOM image based on the firmware update images Browning does provide, a little bit of data that I was able to “snoop” off the EEPROM while it was booting with a logic analyzer, and a couple of software tools to glue it all back together.
Active EEPROM Probe
I have a low cost USB logic analyzer (Kingst LA5016). This analyzer is spec’ed at 500 Mega-samples/second (500 MHz), which might seem plenty fast enough to capture the 100 MHz signals on the EEPROM pins. Unfortunately, the “pickup probe” for this logic analyzer is not very sophisticated. It’s just a bunch of wires going from the device to the probe. At signals speeds of 100 MHz, the load of these wires and the logic analyzer input pins on the original signals is significant. Indeed, I found that simply placing more than a couple of leads on the EEPROM device prevents the firmware from properly loading, and prevents the camera from booting.
To work around this problem, I built a small “active probe” into the test clip that crimps over the SOIC-8 EEPROM. The active probe contains 6 high speed buffer circuits (one for each signal on the 8-pin EEPROM). These buffers effectively isolate the EEPROM from the logic analyzer. The load on the original device is very small, and the buffer can easily drive. The active probe uses the power and ground pins on the SOIC to power the buffers.
With this active probe, I was able to use the Kingst LA5016 to extract a a full trace of the boot from the EEPROM, which includes all of the data required to boot the camera.
Packaging the Bits into an EEPROM Binary
As part of my earlier reverse engineering effort, I wrote a bunch of software tools. The include:
- An EEPROM protocol analyzer which takes the trace from the logic analyzers, extracts the data transfers, and then puts together a binary file for including in the final EEPROM image
- A Firmware Image parser, which unpacks the contents of a Browning firmware update file, makes a few small (but necessary changs), integrates the necessary sections from the logic analyzer trace, and spits out a binary file suitable for programming an actual EEPROM device.
The result is a series of binary images for different firmware images which you can find here on my GitHub site.
Program Device With a Valid Firmware Image
This step requires that you have an EEPROM programmer. I use the USB-based RevelProg IS, but any will do. The SOIC ZIFF socket on the Revelprog IS is too narrow for our trail camera EEPROMs, so I had to build my own, which attaches to the programmer via ribbon cable.
Once the EEPROM is installed in the programmer, it’s only necessary to load the binary file into the RevelProg PC app and press the “Save File to Device” button.
Remove the Failed EEPROM
The EEPROM is an 8-Pin SOIC soldered directly to the main PCB. One must carefully remove this part without damaging the delicate circuit board traces. Ideally, this is done with a complete rework station. But this is not strictly necessary. I get by with a Weller soldering station, an anti-static silicon mat, a 10x binocular dissecting microscope. A stand to hold the PCB still in the microscope field is also a big help.
I remove the solder from the device pins with some “solder braid” (0.050 inch), my soldering iron, and repeated wipes from a “no clean” flux pen. I pressed the braid down with the soldering iron tip onto the device lead and pad. When the solder on the pin and pad melt, the solder braid “wicks” the solder off of the board and into the braid based on surface tension.
I don’t have a video of me doing this because I don’t have a good setup for capturing video from my dissecting microscope. Chemtronics, the maker of Solder-Wick brand solder braid has some good videos on using solder braid here.
There are few things that make this tricky. The ground and +3.3V power pins are connected to large traces on the PCB. Large traces dissipate a lot of heat, and thus getting these pins hot enough to melt solder is noticeably more difficult than the other pins.
It is very easy to lift one of the small pads right off the circuit board. I’ve done this a couple of times, and in these cases, have had to improvise a solution to restore the correct electric connectivity. The photo below includes one such example where I was able to bypass the damaged pad and PCB trace with a (very) small wire and a steady hand.
Practice
Desoldering and soldering the tiny pins of SOIC devices is a skill that takes some practice to develop. If you don’t have these skills already, I recommend spending some time with YouTube and some disposable PCB boards before operating a device you care about. It’s relatively easy to permanently damage the PCB, which effectively wrecks the camera.
Installing the new EEPROM
The next step is to install the new, and correctly programmed EEPROM part into the spot where the faulty one was removed. Note that this device has a polarity — a small circular indentation (or sometimes just a white dot) marks pin 1 on the device and circuit board.
If you’ve been careful removing the old part, and the pads are in good shape, this is pretty straightforward. It is important not to overheat the new part, as it is possible to damage the contents if not the device.
The EEPROM can be tricky to place – especially if your hands are shaky like mine. Here’s the technique I use:
- I start by removing as much solder as possible from the PCB pads.
- Then, I melt a small dab of solder onto the pad for pin 5.
- Next, I use a pair of tweezers, and carefully set the EEPROM on the PCB, near the pad footprint.
- I try to put the EEPROM in place, then press it down from the top with the tweezers.
- Then I melt the solder on Pin 5, til it flows onto the pin.
- Next I inspect the the placement, to make sure all the pins are centered on all the pads.
- When they’re not, I use the tweezers to very slightly slide the EEPROM into place as I melt pin 5 with the soldering iron.
To keep things from moving around, I use a stand with a clamp to anchor the PCB. To reduce hand shaking, I brace my hands and fingers up against something solid — like the stand, or microscope frame.
Post-Repair Inspection and Checks
Before applying power, I suggest the following “tests”:
- Visually inspect all solder joints under magnification. Look for places where solder does not flow seamlessly from pad to pin. If you find any gaps, fill them in with a little more solder.
- With a multimeter, verify that there are no shorts between adjacent pins. These can be caused by “solder bridging” between pins. If this happens, use the solder braid to remove excess solder.
- With the sharp tips of the multipeter leads, check for continuity (zero resistance) beween each pin on the SOIC and the pad that it should be soldered onto. Occasionally, a solder joint that looks ok, can still be marginal. Pins 4 and 8 (ground and +3.3V respectively) can be particularly tricky to solder. If you find an open, carefully re-heat the problem pin/pad and apply a little more solder.
Powering Back On
With the new EEPROM installed, time to turn on the camera. If all went well, the camera will boot as normal. If things did not go well the camera will not boot. If the camera boots, it is almost guaranteed that the underlying symptoms are fixed — the camera should retain settings now. But it’s always good to test.
If camera does not boot, go back to “Post-Repair Inspection and Checks” above.
Comments
I write this post knowing that this fix is not for everyone. If you have just one camera with this problem, it’s probably easier to just buy a new one. But if you have several, or a lot, that have lost their capacity for new settings, learning how to fix them may be worth your while. If you do try, let us know how you made out in comment section, below.
Resources
- Solder/Rework Training: SolderTraining.com has a wide collection of “training kits” for practicing your rework skills. The “Through Hole and Surface Mount Soldering Assessment Kit” includes a 16-pin SOIC, which is a good stand-in for a n 8-pin SOIC.
- Solder Braid: Chemtronics has a wealth of information and products for solder removal and PCB rework.
Good afternoon,
In a nutshell, my Spec Ops Elite HP4 camera was half underwater because the river filled up.
I opened the camera and cleaned it well, with a spray of electronic contact cleaner, almost no dirt came out.
The camera no longer holds the date and time and the batteries run out after about 2.5 days.
The camera makes all the recordings correctly and seems to be working very well, apart from these two problems.
Could it be that the EEPROM has a short circuit?
I’ve taken some photos so you can see the camera.
https://i.postimg.cc/fW9qz2G6/IMG-9852.jpg
https://i.postimg.cc/RVxsN19q/IMG-9856.jpg
Sincerely,
Erik
That’s a disappointing camera recovery!
What you’re describing sounds more like a (corrosion) short between the two terminals of the internal coin battery used to power the real time clock.
An internal circuit tries to charge this battery. If the battery terminals are shorted, this charge current will drain the batteries in about 2-3 days. Also, with the battery terminal shorted, there is no voltage to maintain the clock.
I think this battery (maybe an ultra capacitor – same function) is on the other side of the circuit board from the photos you sent. But this won’t keep me from going out on limb.
Flip over the circuit board and find the battery. It will look something like photo at https://winterberrywildlife.ouroneacrefarm.com/2021/06/30/how-some-trail-cameras-fail/#early-battery-drain
My bet is that you will find an encrustation between the two battery pins. If you have a multi-meter handy, you can measure the voltage across these two pins. With the main batteries installed, this voltage should be ~3.3 Volts. I suspect on your camera it’s closer to zero volts.
Use a dental pick, or something similar, to remove the corrosion. If you’re lucky, it will just flake off. You’ll know when you’ve been successful when battery voltage (with main batteries installed) is closer to 3V than 0V (may take a while to reach 3V while battery is charging).
Let me know if this doesn’t work for you.
I took the trail camera apart again.
I looked for and found the battery, but it looks a bit different from your picture.
I took a picture before and after. I used a toothbrush and electronic contact cleaning spray to give it a good clean, but hardly any dirt came out.
I even have a multimeter, but I don’t know how to use it to measure this. I only use it to check the charge of the batteries and the current in the sockets at home. My knowledge of electronics is almost zero.
If I could buy one of these batteries, I could take it to an electronics professional to change it. Can you tell me if a battery like the one you used would work?
If that’s the only problem, it would be well worth having it repaired.
It’s a shame to see this camera sitting here at home, as it’s a great camera.
photo before cleaning.
https://i.postimg.cc/DzyzmmPW/IMG-9861.jpg
after cleaning.
https://i.postimg.cc/0Qh5tnRm/IMG-9862.jpg
https://i.postimg.cc/9f8Q9VLL/IMG-9863.jpg
https://i.postimg.cc/XJr7chh4/IMG-9864.jpg
Regards,
Erik
If you can measure the voltage of a AA battery with a multimeter, you can measure the voltage of this ultra capacitor 🙂 You just need to put the leads on each of the two terminals. I’ll send you a marked up photo. The trickiest part is having the camera hooked up to power with it all taken apart, and with access to the backside of the PCB.
The part you found on AliExpress looks like a good replacement. I’m pretty sure this is the problem, and that replacing the ultra-cap will fix it. But I would definitely try the meter test before ordering the part and doing the repair. Even if you have already “fixed” the problem (with cleaninng), you may have to leave the camera alone, with a full set of AA batteries, for a few minutes before the ultra-cap charges up enough to maintain the time . Is the camera losing time even with AA batteries installed?
I ended up reassembling the camera again yesterday, before I read your message unfortunately.
I left it connected to a type of 12V powerbank I have for a few hours. This powerbank takes 6 18650 3500mah batteries, but it doesn’t last long with it either, less than 5 days if I’m not mistaken.
Even when plugged in directly, it loses the data and time when it’s at rest and even when it’s switched off, it consumes energy from the batteries.
I need to get up the courage and disassemble it again to try to measure the battery as you said, but I’m very wary of disconnecting the flexible cable (FLAT) from it to access the battery. It may be silly of me, but I’m not used to doing that, so I’m afraid.
https://i.postimg.cc/fRt0bnVc/bateria-IMG-9865.jpg
Thank you very much for all your help so far.
Sincerely,
Erik
It’s certainly a pain to get at the back side of the PCB, and I understand your misgivings about (repeatedly) removing the flex cable. I’ve found that by removing the screws for the camera module, and flash board, (in addition to the main PCB and PIR sensor board) that I can take out all the electronics in one piece – i.e. without removing the flex cable between the main PCB and the camera module. It’s even possible to operate the camera like this, though obviously one for testing.
Hope this helps.
I can’t thank you enough for this tip on removing the whole assembly, it’s so much easier.
I took three measurements with the multimeter.
First with the 12v auxiliary cable connected, then with the camera connected without the sd card and finally without the auxiliary cable connected.
with the power cable and button in the off position.
https://i.postimg.cc/j5VB3k36/IMG-9867.jpg
connected without memory card
https://i.postimg.cc/2yrMrLDV/IMG-9868.jpg
button in off position and no auxiliary power cable.
https://i.postimg.cc/C57t1MhJ/IMG-9870.jpg
If I’m doing something wrong, please correct me.
With these measurements, does the possibility of a faulty battery increase?
Sincerely,
Erik
Yes — I would say these measurements tend to confirm the “faulty” or “shorted” battery hypothesis. In first two measurements, we can see that the charging circuit is trying pumping current into the battery. The charger is current-limited, so we don’t see the full 3.3 Volts. When you remove the external power (and along with it, the changing current) the voltage drops to zero, indicating that the battery (ultra cap) isn’t storing any of the charge. You’ve already cleaned the contacts, and I can’t see any external material shorting out the battery. That leaves the battery itself.
Replacing this part is a little tricky, requiring a small soldering iron, no-clean flux, some solder braid for removing the solder from the pads of the existing part, a new part, and some solder to apply to the pads of the new part. Oh, and some magnification to see what you’re doing. My video on fixing run-on-trigger shows the general process starting at 1:14. https://www.youtube.com/watch?v=iXS8QwSN6Y8 If you try this yourself, I’d recommend practicing your technique on a “junk” PCB with similar-sized surface mount components.
If you try this repair let us know how it worked.
Thank you for your analysis.
I have just bought the battery on Aliexpress, which comes in a pack of 5 units. It takes around 15 to 20 days to arrive in Brazil. I watched your soldering video, which is very informative. I believe I will look for a qualified person to do this job.
I am very grateful for all the attention and help provided.
As soon as I have any updates on the matter, I will post here again.
Sincerely,
Erik
I found an ad on aliexpress.
Is that the battery?
ML414H-IV01E
https://i.postimg.cc/V6JnrKWb/Sc754eb845ab24ec1a86ed2b32f87ca6bs.webp
Good afternoon.
The batteries arrived and I changed them myself, after seeing your video and a few others on the internet on how to solder.
Model of the battery I used: ML414H-IV01E
Electronic Battery Reflow Recharge Bat RTC/SRAM Backup
Coin 4.8mm 3V Lithium Battery Rechargeable (Secondary) 1mAh
Nominal Voltage: 3V
Charge Voltage *1 (Standard Charge Voltage): 2.8 to 3.1V
Nominal Capacity (Voltage Range) (mAh): 1.0 (3.1V -2.0V)
Internal Impedance *2: 600Ohms
Standard Discharge Current: 0.005mA
Cycle Life *3 (Time) 50%D.O.D (Depth of Discharge): 300 (10% D.O.D*4)
Diameter: 4.8mm
Height: 1.4mm
I confess that the original battery was very well soldered, it took a bit of work but the battery came out.
The battery that came is a little bigger than the original, see photos.
After installing it, I measured it using a voltmeter and it gave the same result as before, +- 2.5v.
The original battery and the new one have 0v when uninstalled.
I mounted the camera and put the batteries in, everything works as before, but the date and time are still the same, I left 1 hour with the trail camera armed and the problem persists.
I’m going to leave the camera with the batteries to see if they don’t discharge.
If the short circuit stops and the batteries don’t discharge, that will be excellent news.
https://i.ibb.co/qJH1dZt/IMG-9914.jpg
https://i.ibb.co/2yDtSqD/IMG-9915.jpg
Sincerely,
Erik.
The battery looks like it should be a good replacement, if a little larger than the original. But your observations post-installation are not what I expected. I’m not confident that we’ve gotten to the bottom of this problem, but we can always hope. We can also consider using the ammeter on your digital multi-meter to debug the battery drain further, if it turns out to be necessary.
Good afternoon.
Stopping by to say that unfortunately the problem wasn’t with the small internal lithium battery.
I left the camera in the backyard and it completely discharged the 8 Xtar rechargeable batteries.
I’ll see if I can find a technician who repairs video cards and computer motherboards and I’ll try to repair the camera.
It’s a pity the camera is still there, excellent image and sound from the Elite HP4 series.
Thank you.
Sorry to hear 🙁 I think the next thing I’d do is power the camera through an ammeter. What I expect is that you’ll see a constant current draw greater than 60 uAmps all the time. If so, I’d keep looking at the RTC battery circuit. There’s something fishy about the voltage only reaching 2.5 V. There could be another parasitic resistance to ground somewhere.
The less likely case is that you see a current draw of about 60 uA, but that occasionally is shoots up to 100 mA, even while camera is idle (and not capturing images). I’ve seen this behavior on some older cameras, and am not sure what’s causing the camera to “wake up” (and consume battery power) when it shouldn’t.
Hope this helps.