Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #10399

Re: IP Camera Ethernet invisible/faulty

From Paul <nospam@needed.invalid>
Newsgroups alt.computer
Subject Re: IP Camera Ethernet invisible/faulty
Date 2017-05-22 09:16 -0400
Organization A noiseless patient Spider
Message-ID <ofuo52$pbe$1@dont-email.me> (permalink)
References <MPG.338a8c784043bd253a@news.plus.net> <95ffb5ab-abf6-4aa0-998d-d4e2b4b3404a@googlegroups.com> <ofsq20$a3b$1@dont-email.me> <4290fa17-c9de-4e83-9af6-2164a47b1a95@googlegroups.com>

Show all headers | View raw


coon.mj@gmail.com wrote:
> On Sunday, 21 May 2017 20:36:45 UTC+1, Paul  wrote:
>> You won't believe this, but that part number
>> is actually the Wifi module used *inside* the camera.
>> I suspect they write the number on the unit, so the staff
>> know whether the correct Wifi is shipping to the right
>> country (channel allocations or whatever).
>>
>> http://www.datasheetspdf.com/datasheet/download.php?id=785898
>>
>>     "This document is to specify the product requirements for
>>      802.11 b/g USB embedded module
>>
>>        Model No.: VNT6656G6A10 (for 3.3V version)
>>                   VNT6656G6A40 (for 5V version).
>>
>>      The USB embedded module is based on VIA MAC/BBP(VT6656) and
>>      Airoha(AL2230) chip solution. The VNT6656G6A10/40 product
>>      complied with IEEE 802.11b/g standard from 2.4~2.5GHz, and
>>      it can be used to provide up to 11Mbps for IEEE 802.11b
>>      and 54Mbps for 2.4GHz IEEE 802.11g to connect your wireless LAN.
>>     "
>>
>> *******
>>
>> If you have a motherboard with a Marvell GbE chip, some of those
>> have VCT (virtual cable tester). You could test both the
>> cable and the data (isolation) transformer on the Ethernet
>> inside the camera, with VCT. It's kinda like TDR (time
>> domain reflectometry) and is intended to test the wiring,
>> transformer, and termination resistors on the other side
>> of the transformer. And so on.
>>
>> To test, the camera remains unpowered. A Marvell with VCT, sends
>> "pulses" and the reflections off the camera interface, tell the
>> software whether the electrical state of the wiring is good.
>>
>> I detected a dirty Ethernet contact in my P4 machine when it
>> was brand new, using VCT. Wires are tested in pairs, so all
>> it can tell you is "1-2 is open" or "3-6 is shorted", that sort
>> of thing. 10/100BT cable only needs four wires, and those are
>> the pin numbers used on the 8-pin RJ45.
>>
>> I don't have any IP cameras here, but the composite cameras
>> I've taken apart, are wonderfully complicated designs consisting
>> of stacked wafers of circuitry. With some good quality SMT layouts.
>> Reading the chip numbers off, may hint at what some of it does. The
>> VIA Wifi module has a soldered tin can over the top, to prevent
>> Wifi 2.5GHz from flooding the camera compartment.
>>
>> The Ethernet should have a black plastic rectangle with the
>> Ethernet transformers inside it. The actual Ethernet chip could
>> be part of a SOC (system on a chip), so you may not see
>> any signs of a discrete separate Ethernet chip.
>>
>> Normally on a design, if the reset signal is deasserted (as
>> proven by the pan and tilt working right away), then the PHY
>> on the Ethernet should start up right away. And some LED on
>> your router should be indicating a 10/100BT connection is made.
>> Even when a circuit board is "mostly dead", the PHY can negotiate
>> interconnect rate on its own. It's when the reset is jammed asserted
>> (which prevents anything from working), that the PHY interface
>> cannot negotiate. And the router might not show the desired
>> LED color (yellow or green or none, etc).
>>
>> So your symptoms don't seem entirely consistent. Maybe
>> the Ethernet chip doesn't have power inside. Or, it's
>> actually configured to turn off the Ethernet on purpose.
>> (Does the user manual for the camera, list the ability to
>> disable the networking options ?)
>>
>> The LAN inside the camera, might actually have several LED
>> driver signals, but for cheapness, not all the signals
>> are connected to LEDs. When those signals are actually
>> connected to LEDs, you get a bit more feedback about the PHY.
>>
>> The Ethernet layering, looks like this:
>>
>>      CPU
>>       |
>>       | (some bus|
>>       |
>>      MAC ----- PHY --- black_transformer_pack --- RJ45
>>           MII   |
>>                 +-------------------------------- (LED status, if available)
>>
>> I've only ever designed one Ethernet into a product, so
>> all my learning was from that... :-)
>>
>> HTH,
>>      Paul
> 
> Thanks; I have no problem accepting that the type-code is really just for the WiFi because almost the same label is on the camera base and on the metal-cased WiFi module. (Except that, oddly, it is only the internal label that says "Made in China"!)
> 
> Regarding Ethernet LEDs. Both my routers just have a front-panel LED per jack, which flash to show data flow. The one for the camera cable just blinks. Whereas the camera has the usual orange and green LEDs built-in to the RJ-45 socket. The green one doesn't blink so far as I can see but the orange one blinks off (occulting in marine terminology). There's a separate green LED which flashes faster when the cable is plugged in than when it isn't, so it is making a difference to the logic.
> 
> "Virtual cable tester" sounds interesting; I have several old Win-XP PCs as well as my newer Win-10 primary one. But I gather I'd have to deploy a sniffer program to determine the chip-set and utilise it - sounds challenging! I'm not sure I understand much about the Ethernet layering (though after 40+ years in IT I do understand the concept of multi(7)-layer comms!). There's certainly a black-box as you describe the transformer block right next to the RJ-45. But around it are mostly passive SMT devices. The main chip is some distance away branded "Spansion". So maybe Ethernet logic is integrated as you suggest. And maybe the problem is somehow about higher levels negotiating with DHCP etc.
> 
> The user manual is mostly about configuring viewing devices; I can't see anything which suggests disabling comms in the camera. Holding the reset button for ~20 seconds causes LEDs to go out and the camera repeats its start-up pan/tilt/flash sequence.
> 
> Mike.

Well, the only other possibility, would be a three pin
interface with TTL level serial port on it. Some products
which are "computers" inside, offer that as an interface
for engineering. A number of routers have that. I think
hard drives have one too, although the communication
language is not decipherable (possibly a former employee
of the drive making company, had access to the internal
documents for it). There is a procedure for bringing
a Seagate drive "back from the dead" that required
issuing commands on such an interface.

What would appear on that serial interface, is a Linux
console. Or equivalent (as there are also embedded OSes
of various kinds, when the Flash memory space available
is less). In some cases, you can query what the tiny
OS inside the thing, thinks it's got at the moment
for working hardware.

One possibility, is there was a lightning strike somewhere
in the vicinity of the camera, and the long Ethernet cable
functioned as an antenna or coupling, and a high voltage
appeared somewhere in the Ethernet interface area. The
combination of weather and soil in some areas of the
country, increases the odds that externally slung cables
will cause damage like that during a lightning storm.

*******

Using your keyword of "Spansion", this is the first reference
I could find. So apparently Cypress owns it today, but they
might not have always owned it.

http://www.cypress.com/file/253486/download

( usual long tale   https://en.wikipedia.org/wiki/Spansion )

So the main chip in the Cypress PDF is a microcontroller
with ARM processing core, and it has an Ethernet MAC.
For that example chip, it means the PHY is a separate
external chip, as is the transformers and RJ45.

You'd need to get a part number off the Spansion chip,
to see which product it is. Cypress makes a huge number
of chip models of things. In comparison to other chip
companies, Cypress want to make $10 or more parts,
and doesn't want to make $0.25 parts like TI or Natsemi
might have. The scale of integration on their parts
is a lot higher on average. The hard drive enclosure next
to me, has a Cypress USB to IDE chip in it, as an example.

*******

Marvell made the Ethernet chips that had VCT built-in.
And it's just for ringing out the transformer and termination
resistors, and the chosen piece of cable, and seeing if
there are any obvious defects. Using TDR, the Marvell VCT
feature can tell whether there is an open circuit (X feet away),
a short circuit, or no reflections which indicates characteristic
(good) impedance through the entire interface. Its main value
is detecting dirty pins on the RJ45. It isn't too often
a termination resistor blows out. But what impressed me
the most about it, is I got to use the test as soon
as I got the product, to detect a dirty pin :-)

Page 8 here, shows how the VCT sends pulses and looks
for reflected signals. A reflected signal is a sign of
trouble. For the test to work, the DUT (device under test
on the end of the cable) should be powered down. Otherwise,
the DUT could send heartbeat pulses, which could upset
the test randomly. I didn't clue into this at first.

https://web.archive.org/web/20030320021423/http://www.marvell.com/products/transceivers/quadport/VCT_White_Paper.pdf

And I don't have any info on how long that feature remained
in the Ethernet chips they made. Usually the documentation
on a product with it, will mention it, or there will be
a software package for reading out the VCT test results.
And the software package will have VCT in the name.

That particular paper, describes buzzing out all four pairs
on GbE, but on older gear with connections on 1,2,3,6 ,
there would only be two pairs with "real status", and the
other two pairs would report "open circuit at zero feet".
VCT doesn't know when it's buzzing out a 10/100BT Ethernet
with only a four wire interface. It's up to the user to
interpret the software display and say, "ah, this is 100BT".

    Paul

Back to alt.computer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

IP Camera Ethernet invisible/faulty MJC <gravity@mjcoon.plus.com> - 2017-05-20 18:26 +0100
  Re: IP Camera Ethernet invisible/faulty Paul <nospam@needed.invalid> - 2017-05-20 13:54 -0400
  Re: IP Camera Ethernet invisible/faulty VanguardLH <V@nguard.LH> - 2017-05-20 16:38 -0500
  Re: IP Camera Ethernet invisible/faulty coon.mj@gmail.com - 2017-05-21 11:57 -0700
    Re: IP Camera Ethernet invisible/faulty Paul <nospam@needed.invalid> - 2017-05-21 15:36 -0400
      Re: IP Camera Ethernet invisible/faulty coon.mj@gmail.com - 2017-05-22 03:20 -0700
        Re: IP Camera Ethernet invisible/faulty Paul <nospam@needed.invalid> - 2017-05-22 09:16 -0400

csiph-web