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


Groups > sci.electronics.design > #541173

Re: Video data compression for serial link

From Tauno Voipio <tauno.voipio@notused.fi.invalid>
Newsgroups sci.electronics.design
Subject Re: Video data compression for serial link
Date 2019-04-29 22:41 +0300
Organization A noiseless patient Spider
Message-ID <qa7k1p$k4s$1@dont-email.me> (permalink)
References <XVmxE.157951$bA.69332@fx26.iad> <c68b44e2-829b-4710-8027-5b8293847386@googlegroups.com> <B8GxE.398358$oy5.350898@fx06.iad> <jurjpf-fm5.ln1@coop.radagast.org> <qa7hca$1brk$1@gioia.aioe.org>

Show all headers | View raw


On 29.4.19 21:56, DecadentLinuxUserNumeroUno@decadence.org wrote:
> dplatt@coop.radagast.org (Dave Platt) wrote in
> news:jurjpf-fm5.ln1@coop.radagast.org:
> 
>> In article <B8GxE.398358$oy5.350898@fx06.iad>,
>> bitrex  <user@example.net> wrote:
>>
>>> The KISS communication implementation works perfectly fine for a
>>> while and then both the uP and PC app lock and it fails utterly.
>>> transmission stops. annoying problem to diagnose. Logging the data
>>> on the link doesn't show anything unusual just prior to it
>>> happening.
>>
>> What USB-to-serial adapter/dongle are you using?
>>
>> I had somewhat-similar problems when trying to run a Bitscope from
>> a PC... it would work for a while and then the communication would
>> freeze up.
>>
>> The problem appeared to be the USB adapter I was using.  It was
>> one of the inexpensive "translucent blue" adapters, that claim to
>> have a Prologix PL-2303 serial-to-USB bridge inside... but very
>> probably had a clone/counterfeit chip instead.  I've heard other
>> reports of these counterfeit chips locking up under heavy load...
>> timing or chip-firmware problem, I suspect.
>>
>> I swapped the adapter for a known-good FTDI serial adapter (Mouser
>> and Digi-Key are both authorized FTDI distributors, so you can be
>> pretty confident that they aren't selling counterfeits) and the
>> problem went away.
>>
>> As to compression:  A simple logarithmic-encoding scheme (akin to
>> A-law or u-law), followed by a run-length-encoding, might do what
>> you want, without introducing too many artifacts (although there
>> will be some).  Another approach would be a 16-to-8-bit
>> quantization with Floyd-Steinberg error diffusion... this will
>> give you a fixed 2:1 compression with (I think) fairly decent
>> visual quality, and it would be quite fast to implement.
>>
>>
> 
> USB is a serial interface.  Doesn't putty interface directly to a
> usb port without a serial adapter?
> 
>    Seems that one could write an easy app to do the whole thing.
> Putty source code migt be a good read.
> 

USB is used to get into the PC. The link from the USB dongle
to the Cortex is asynchronous serial (often miscalled RS-232).

-- 

-TV

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Video data compression for serial link bitrex <user@example.net> - 2019-04-28 15:11 -0400
  Re: Video data compression for serial link whit3rd <whit3rd@gmail.com> - 2019-04-28 13:12 -0700
  Re: Video data compression for serial link Hul Tytus <ht@panix.com> - 2019-04-28 20:25 +0000
    Re: Video data compression for serial link bitrex <user@example.net> - 2019-04-28 16:31 -0400
      Re: Video data compression for serial link Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-04-29 14:16 +0300
  Re: Video data compression for serial link gnuarm.deletethisbit@gmail.com - 2019-04-29 04:10 -0700
    Re: Video data compression for serial link bitrex <user@example.net> - 2019-04-29 13:04 -0400
      Re: Video data compression for serial link Joe Chisolm <jchisolm6@earthlink.net> - 2019-04-29 13:20 -0500
      Re: Video data compression for serial link dplatt@coop.radagast.org (Dave Platt) - 2019-04-29 11:21 -0700
        Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-29 18:56 +0000
          Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-29 19:13 +0000
          Re: Video data compression for serial link Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-04-29 22:41 +0300
            Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-30 00:53 +0000
              Re: Video data compression for serial link Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-04-30 10:24 +0300
                Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-30 09:59 +0000
                Re: Video data compression for serial link Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-08 17:59 -0700
                Re: Video data compression for serial link dplatt@coop.radagast.org (Dave Platt) - 2019-05-09 10:42 -0700
                Re: Video data compression for serial link upsidedown@downunder.com - 2019-05-09 06:56 +0300
          Re: Video data compression for serial link dplatt@coop.radagast.org (Dave Platt) - 2019-04-29 12:58 -0700
            Re: Video data compression for serial link bitrex <user@example.net> - 2019-04-29 16:33 -0400
              Re: Video data compression for serial link dplatt@coop.radagast.org (Dave Platt) - 2019-04-30 18:02 -0700
                Re: Video data compression for serial link bitrex <user@example.net> - 2019-04-30 21:13 -0400
                Re: Video data compression for serial link Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-04-30 18:32 -0700
            Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-30 00:59 +0000
              Re: Video data compression for serial link Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-04-29 18:27 -0700
      Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-04-30 10:22 +0100
        Re: Video data compression for serial link bitrex <user@example.net> - 2019-04-30 12:20 -0400
        Re: Video data compression for serial link upsidedown@downunder.com - 2019-04-30 20:19 +0300
          Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-30 22:04 +0000
            Re: Video data compression for serial link whit3rd <whit3rd@gmail.com> - 2019-04-30 16:30 -0700
              Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-05-01 08:49 +0100
                Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-01 10:28 -0400
  Re: Video data compression for serial link upsidedown@downunder.com - 2019-04-30 13:50 +0300
  Re: Video data compression for serial link david eather <eatDELETEher@tpg.com.au> - 2019-05-01 13:45 +1000
    Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-08 16:57 -0400
      Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-05-08 22:22 +0100
        Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-08 22:09 -0400
          Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-08 22:11 -0400
          Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-05-09 08:44 +0100
            Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-09 10:41 -0400
            Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-09 10:52 -0400
        Re: Video data compression for serial link david eather <eatDELETEher@tpg.com.au> - 2019-05-10 14:30 +1000
          Re: Video data compression for serial link jrwalliker@gmail.com - 2019-05-10 04:30 -0700
            Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-05-14 11:17 +0100
              Re: Video data compression for serial link upsidedown@downunder.com - 2019-05-14 14:51 +0300
                Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-05-14 13:45 +0100

csiph-web