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


Groups > sci.electronics.design > #548062 > unrolled thread

smart bulb

Started byJohn Larkin <jjlarkin@highland_snip_technology.com>
First post2019-06-20 12:44 -0700
Last post2019-06-20 22:31 -0400
Articles 20 on this page of 30 — 13 participants

Back to article view | Back to sci.electronics.design


Contents

  smart bulb John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-20 12:44 -0700
    Re: smart bulb Rick C <gnuarm.deletethisbit@gmail.com> - 2019-06-20 13:13 -0700
      Re: smart bulb bitrex <user@example.net> - 2019-06-20 16:17 -0400
        Re: smart bulb John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-20 15:40 -0700
      Re: smart bulb whit3rd <whit3rd@gmail.com> - 2019-06-20 23:31 -0700
        Re: smart bulb Rick C <gnuarm.deletethisbit@gmail.com> - 2019-06-21 06:34 -0700
    Re: smart bulb bitrex <user@example.net> - 2019-06-20 16:14 -0400
      Re: smart bulb John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-20 15:36 -0700
        Re: smart bulb Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-06-20 15:50 -0700
        Re: smart bulb Rick C <gnuarm.deletethisbit@gmail.com> - 2019-06-20 16:07 -0700
        Re: smart bulb bitrex <user@example.net> - 2019-06-20 20:16 -0400
        Re: smart bulb bitrex <user@example.net> - 2019-06-20 20:23 -0400
          Re: smart bulb Clifford Heath <no.spam@please.net> - 2019-06-21 10:46 +1000
            Re: smart bulb bitrex <user@example.net> - 2019-06-20 20:56 -0400
            Re: smart bulb bitrex <user@example.net> - 2019-06-20 21:00 -0400
              Re: smart bulb Clifford Heath <no.spam@please.net> - 2019-06-21 11:14 +1000
        Re: smart bulb Chris Jones <lugnut808@spam.yahoo.com> - 2019-06-21 15:03 +1000
          Re: smart bulb John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-21 02:50 -0700
            Re: smart bulb Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-21 13:04 +0000
      Re: smart bulb mpm <mpmillard@aol.com> - 2019-06-20 17:34 -0700
        Re: smart bulb bitrex <user@example.net> - 2019-06-20 20:39 -0400
        Re: smart bulb bitrex <user@example.net> - 2019-06-20 20:44 -0400
    Re: smart bulb John Robertson <spam@flippers.com> - 2019-06-20 13:20 -0700
      Re: smart bulb John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-20 15:38 -0700
    Re: smart bulb Clive Arthur <cliveta@nowaytoday.co.uk> - 2019-06-20 21:38 +0100
      Re: smart bulb tabbypurr@gmail.com - 2019-06-20 14:07 -0700
        Re: smart bulb Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-06-20 14:15 -0700
          Re: smart bulb tabbypurr@gmail.com - 2019-06-20 15:17 -0700
    Re: smart bulb bitrex <user@example.net> - 2019-06-20 22:25 -0400
      Re: smart bulb bitrex <user@example.net> - 2019-06-20 22:31 -0400

Page 1 of 2  [1] 2  Next page →


#548062 — smart bulb

FromJohn Larkin <jjlarkin@highland_snip_technology.com>
Date2019-06-20 12:44 -0700
Subjectsmart bulb
Message-ID<q8ongehs8ki0677t64pcftggvrk6qii2bi@4ax.com>
https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/

In other news, a few months ago my microwave oven keypad broke; the
first two rows of numbers quit working, 012 and 345. That made things
tricky. Had to cook things for 6:66 minutes and seconds. Setting time
was hard. I assumed that some trace had broken in the membrane thing.

So last night we had a brief power failure, and now it all works! I
don't understand how that's possible.





-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [next] | [standalone]


#548064

FromRick C <gnuarm.deletethisbit@gmail.com>
Date2019-06-20 13:13 -0700
Message-ID<baca3359-8f1d-4523-bfac-b15d8e023ef0@googlegroups.com>
In reply to#548062
On Thursday, June 20, 2019 at 3:47:21 PM UTC-4, John Larkin wrote:
> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
> 
> In other news, a few months ago my microwave oven keypad broke; the
> first two rows of numbers quit working, 012 and 345. That made things
> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
> was hard. I assumed that some trace had broken in the membrane thing.
> 
> So last night we had a brief power failure, and now it all works! I
> don't understand how that's possible.

Are you joking?  A friend had an older console TV with a digital readout of the channel.  Did I mention it had a picture tube?  So the digital channel indicator was separate from the screen.  One time it stopped working right.  I think it was not displaying numbers at all or something similarly goofy.  He thought it was time to tear it apart.  I told him to unplug it for a few seconds and then it worked.  The tiny MCU needed a good reset.  The MCU probably is never turned off since it is likely involved in the remote control circuit too.  

It may have been a short power glitch that knocked it silly in the first place.  His and yours.  

-- 

  Rick C.

  - Get 1,000 miles of free Supercharging
  - Tesla referral code - https://ts.la/richard11209

[toc] | [prev] | [next] | [standalone]


#548066

Frombitrex <user@example.net>
Date2019-06-20 16:17 -0400
Message-ID<9RROE.3$OY5.0@fx32.iad>
In reply to#548064
On 6/20/19 4:13 PM, Rick C wrote:
> On Thursday, June 20, 2019 at 3:47:21 PM UTC-4, John Larkin wrote:
>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>
>> In other news, a few months ago my microwave oven keypad broke; the
>> first two rows of numbers quit working, 012 and 345. That made things
>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>> was hard. I assumed that some trace had broken in the membrane thing.
>>
>> So last night we had a brief power failure, and now it all works! I
>> don't understand how that's possible.
> 
> Are you joking?  A friend had an older console TV with a digital readout of the channel.  Did I mention it had a picture tube?  So the digital channel indicator was separate from the screen.  One time it stopped working right.  I think it was not displaying numbers at all or something similarly goofy.  He thought it was time to tear it apart.  I told him to unplug it for a few seconds and then it worked.  The tiny MCU needed a good reset.  The MCU probably is never turned off since it is likely involved in the remote control circuit too.
> 
> It may have been a short power glitch that knocked it silly in the first place.  His and yours.
> 

Most microwaves manufactured in the past 20 years that cost over $150 
have a +30 sec button


[toc] | [prev] | [next] | [standalone]


#548075

FromJohn Larkin <jjlarkin@highland_snip_technology.com>
Date2019-06-20 15:40 -0700
Message-ID<ro2ogelc8a63vmurgq5rkqvgecksjcm9p0@4ax.com>
In reply to#548066
On Thu, 20 Jun 2019 16:17:08 -0400, bitrex <user@example.net> wrote:

>On 6/20/19 4:13 PM, Rick C wrote:
>> On Thursday, June 20, 2019 at 3:47:21 PM UTC-4, John Larkin wrote:
>>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>>
>>> In other news, a few months ago my microwave oven keypad broke; the
>>> first two rows of numbers quit working, 012 and 345. That made things
>>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>>> was hard. I assumed that some trace had broken in the membrane thing.
>>>
>>> So last night we had a brief power failure, and now it all works! I
>>> don't understand how that's possible.
>> 
>> Are you joking?  A friend had an older console TV with a digital readout of the channel.  Did I mention it had a picture tube?  So the digital channel indicator was separate from the screen.  One time it stopped working right.  I think it was not displaying numbers at all or something similarly goofy.  He thought it was time to tear it apart.  I told him to unplug it for a few seconds and then it worked.  The tiny MCU needed a good reset.  The MCU probably is never turned off since it is likely involved in the remote control circuit too.
>> 
>> It may have been a short power glitch that knocked it silly in the first place.  His and yours.
>> 
>
>Most microwaves manufactured in the past 20 years that cost over $150 
>have a +30 sec button
>
>

Mine has EASY COOK, which is +30 seconds, which works depending on
what state it is in. It's complex.




-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#548108

Fromwhit3rd <whit3rd@gmail.com>
Date2019-06-20 23:31 -0700
Message-ID<440aa011-6b91-4afe-a065-24bd854a8ae4@googlegroups.com>
In reply to#548064
On Thursday, June 20, 2019 at 1:13:45 PM UTC-7, Rick C wrote:
> On Thursday, June 20, 2019 at 3:47:21 PM UTC-4, John Larkin wrote:
> > https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
> > 
> > In other news, a few months ago my microwave oven keypad broke; the
> > first two rows of numbers quit working, 012 and 345....
> > So last night we had a brief power failure, and now it all works! I
> > don't understand how that's possible.
> 
> Are you joking?  ...  The tiny MCU needed a good reset.  The MCU probably is never turned off ...
> It may have been a short power glitch that knocked it silly in the first place

Sounds like the MCU should have been given a finite-state-machine program, but
got a rat's-nest instead.   Real-time (interrupt driven) software is an
art that doesn't have a lot of literature and cirriculum support.

[toc] | [prev] | [next] | [standalone]


#548137

FromRick C <gnuarm.deletethisbit@gmail.com>
Date2019-06-21 06:34 -0700
Message-ID<4308f708-4b14-41f2-ab31-26a517ed99df@googlegroups.com>
In reply to#548108
On Friday, June 21, 2019 at 2:31:27 AM UTC-4, whit3rd wrote:
> On Thursday, June 20, 2019 at 1:13:45 PM UTC-7, Rick C wrote:
> > On Thursday, June 20, 2019 at 3:47:21 PM UTC-4, John Larkin wrote:
> > > https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
> > > 
> > > In other news, a few months ago my microwave oven keypad broke; the
> > > first two rows of numbers quit working, 012 and 345....
> > > So last night we had a brief power failure, and now it all works! I
> > > don't understand how that's possible.
> > 
> > Are you joking?  ...  The tiny MCU needed a good reset.  The MCU probably is never turned off ...
> > It may have been a short power glitch that knocked it silly in the first place
> 
> Sounds like the MCU should have been given a finite-state-machine program, but
> got a rat's-nest instead.   Real-time (interrupt driven) software is an
> art that doesn't have a lot of literature and cirriculum support.

Actually I was taught state machine design including async state machines.  I only ever once saw such a state machine, but I could understand it and could have reworked it if needed. 

I'm not going to second guess a design I know nothing about.  It did it's job with no issues for a couple of decades before needing to be unplugged for a fix.  I think that is a pretty good track record. 

-- 

  Rick C.

  -- Get 1,000 miles of free Supercharging
  -- Tesla referral code - https://ts.la/richard11209

[toc] | [prev] | [next] | [standalone]


#548065

Frombitrex <user@example.net>
Date2019-06-20 16:14 -0400
Message-ID<KOROE.2$OY5.0@fx32.iad>
In reply to#548062
On 6/20/19 3:44 PM, John Larkin wrote:
> 
> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
> 
> In other news, a few months ago my microwave oven keypad broke; the
> first two rows of numbers quit working, 012 and 345. That made things
> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
> was hard. I assumed that some trace had broken in the membrane thing.
> 
> So last night we had a brief power failure, and now it all works! I
> don't understand how that's possible.
> 

Software written by EEs

[toc] | [prev] | [next] | [standalone]


#548073

FromJohn Larkin <jjlarkin@highland_snip_technology.com>
Date2019-06-20 15:36 -0700
Message-ID<gh2ogedv0jks1r7fm3fep5megu5r2f0hur@4ax.com>
In reply to#548065
On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:

>On 6/20/19 3:44 PM, John Larkin wrote:
>> 
>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>> 
>> In other news, a few months ago my microwave oven keypad broke; the
>> first two rows of numbers quit working, 012 and 345. That made things
>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>> was hard. I assumed that some trace had broken in the membrane thing.
>> 
>> So last night we had a brief power failure, and now it all works! I
>> don't understand how that's possible.
>> 
>
>Software written by EEs

How can one bit of code break, and be fixed by a reset?

I guess I just don't have the chops to be a programmer.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#548077

FromLasse Langwadt Christensen <langwadt@fonz.dk>
Date2019-06-20 15:50 -0700
Message-ID<b4b07f27-7b06-4978-9b72-4a07e205f47c@googlegroups.com>
In reply to#548073
fredag den 21. juni 2019 kl. 00.39.14 UTC+2 skrev John Larkin:
> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
> 
> >On 6/20/19 3:44 PM, John Larkin wrote:
> >> 
> >> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
> >> 
> >> In other news, a few months ago my microwave oven keypad broke; the
> >> first two rows of numbers quit working, 012 and 345. That made things
> >> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
> >> was hard. I assumed that some trace had broken in the membrane thing.
> >> 
> >> So last night we had a brief power failure, and now it all works! I
> >> don't understand how that's possible.
> >> 
> >
> >Software written by EEs
> 
> How can one bit of code break, and be fixed by a reset?
> 

glitch, radiation, esd etc.  gets is stuck somewhere it can't get out of and the 5 cent micro doesn't have a watchdog

[toc] | [prev] | [next] | [standalone]


#548079

FromRick C <gnuarm.deletethisbit@gmail.com>
Date2019-06-20 16:07 -0700
Message-ID<87521034-aae6-40b0-8e6f-adcc795949c7@googlegroups.com>
In reply to#548073
On Thursday, June 20, 2019 at 6:39:14 PM UTC-4, John Larkin wrote:
> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
> 
> >On 6/20/19 3:44 PM, John Larkin wrote:
> >> 
> >> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
> >> 
> >> In other news, a few months ago my microwave oven keypad broke; the
> >> first two rows of numbers quit working, 012 and 345. That made things
> >> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
> >> was hard. I assumed that some trace had broken in the membrane thing.
> >> 
> >> So last night we had a brief power failure, and now it all works! I
> >> don't understand how that's possible.
> >> 
> >
> >Software written by EEs
> 
> How can one bit of code break, and be fixed by a reset?

It's not the code that "broke".  The MCU got lost by a hardware glitch.  The power supplies they use are not the best in the world and let various noise past. 

-- 

  Rick C.

  + Get 1,000 miles of free Supercharging
  + Tesla referral code - https://ts.la/richard11209

> I guess I just don't have the chops to be a programmer.

[toc] | [prev] | [next] | [standalone]


#548080

Frombitrex <user@example.net>
Date2019-06-20 20:16 -0400
Message-ID<LlVOE.3$7A4.1@fx40.iad>
In reply to#548073
On 6/20/19 6:36 PM, John Larkin wrote:
> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
> 
>> On 6/20/19 3:44 PM, John Larkin wrote:
>>>
>>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>>
>>> In other news, a few months ago my microwave oven keypad broke; the
>>> first two rows of numbers quit working, 012 and 345. That made things
>>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>>> was hard. I assumed that some trace had broken in the membrane thing.
>>>
>>> So last night we had a brief power failure, and now it all works! I
>>> don't understand how that's possible.
>>>
>>
>> Software written by EEs
> 
> How can one bit of code break, and be fixed by a reset?
> 
> I guess I just don't have the chops to be a programmer.
> 
> 

for (size_t i = 0; i < keypad_arr_.size(); ++i) {
    for (size_t j = 0; j < keypad_arr_[j].size(); ++j) {
                                       ^
...


FUUUUUUUUUUUK!

that hopefully wouldn't make it out of production but it can ruin your day

[toc] | [prev] | [next] | [standalone]


#548081

Frombitrex <user@example.net>
Date2019-06-20 20:23 -0400
Message-ID<osVOE.4$4a.1@fx42.iad>
In reply to#548073
On 6/20/19 6:36 PM, John Larkin wrote:
> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
> 
>> On 6/20/19 3:44 PM, John Larkin wrote:
>>>
>>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>>
>>> In other news, a few months ago my microwave oven keypad broke; the
>>> first two rows of numbers quit working, 012 and 345. That made things
>>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>>> was hard. I assumed that some trace had broken in the membrane thing.
>>>
>>> So last night we had a brief power failure, and now it all works! I
>>> don't understand how that's possible.
>>>
>>
>> Software written by EEs
> 
> How can one bit of code break, and be fixed by a reset?
> 
> I guess I just don't have the chops to be a programmer.
> 
> 

Also ask Toyota they prolly know

[toc] | [prev] | [next] | [standalone]


#548085

FromClifford Heath <no.spam@please.net>
Date2019-06-21 10:46 +1000
Message-ID<tNVOE.140$%g4.36@fx02.iad>
In reply to#548081
On 21/6/19 10:23 am, bitrex wrote:
> On 6/20/19 6:36 PM, John Larkin wrote:
>> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
>>
>>> On 6/20/19 3:44 PM, John Larkin wrote:
>>>>
>>>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>>>
>>>> In other news, a few months ago my microwave oven keypad broke; the
>>>> first two rows of numbers quit working, 012 and 345. That made things
>>>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>>>> was hard. I assumed that some trace had broken in the membrane thing.
>>>>
>>>> So last night we had a brief power failure, and now it all works! I
>>>> don't understand how that's possible.
>>>>
>>>
>>> Software written by EEs
>>
>> How can one bit of code break, and be fixed by a reset?
>> I guess I just don't have the chops to be a programmer.
> Also ask Toyota they prolly know

Reports say their code was littered with thousands of static/global 
variables, creating almost an infinitely complex (but certainly 
un-analysable) state space.

The first thing I do before starting to look for bugs in a client's 
embedded device is make a comprehensive review of all global data. It's 
amazing how many potential bugs you can find just by looking at the 
linker map of global data.

Clifford Heath.

[toc] | [prev] | [next] | [standalone]


#548086

Frombitrex <user@example.net>
Date2019-06-20 20:56 -0400
Message-ID<7XVOE.3$BI4.1@fx38.iad>
In reply to#548085
On 6/20/19 8:46 PM, Clifford Heath wrote:
> On 21/6/19 10:23 am, bitrex wrote:
>> On 6/20/19 6:36 PM, John Larkin wrote:
>>> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
>>>
>>>> On 6/20/19 3:44 PM, John Larkin wrote:
>>>>>
>>>>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>>>>
>>>>> In other news, a few months ago my microwave oven keypad broke; the
>>>>> first two rows of numbers quit working, 012 and 345. That made things
>>>>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>>>>> was hard. I assumed that some trace had broken in the membrane thing.
>>>>>
>>>>> So last night we had a brief power failure, and now it all works! I
>>>>> don't understand how that's possible.
>>>>>
>>>>
>>>> Software written by EEs
>>>
>>> How can one bit of code break, and be fixed by a reset?
>>> I guess I just don't have the chops to be a programmer.
>> Also ask Toyota they prolly know
> 
> Reports say their code was littered with thousands of static/global 
> variables, creating almost an infinitely complex (but certainly 
> un-analysable) state space.
> 
> The first thing I do before starting to look for bugs in a client's 
> embedded device is make a comprehensive review of all global data. It's 
> amazing how many potential bugs you can find just by looking at the 
> linker map of global data.
> 
> Clifford Heath.

global variables?

what YEAR is this???

[toc] | [prev] | [next] | [standalone]


#548087

Frombitrex <user@example.net>
Date2019-06-20 21:00 -0400
Message-ID<O_VOE.3$iO.0@fx39.iad>
In reply to#548085
On 6/20/19 8:46 PM, Clifford Heath wrote:
> On 21/6/19 10:23 am, bitrex wrote:
>> On 6/20/19 6:36 PM, John Larkin wrote:
>>> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
>>>
>>>> On 6/20/19 3:44 PM, John Larkin wrote:
>>>>>
>>>>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>>>>
>>>>> In other news, a few months ago my microwave oven keypad broke; the
>>>>> first two rows of numbers quit working, 012 and 345. That made things
>>>>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>>>>> was hard. I assumed that some trace had broken in the membrane thing.
>>>>>
>>>>> So last night we had a brief power failure, and now it all works! I
>>>>> don't understand how that's possible.
>>>>>
>>>>
>>>> Software written by EEs
>>>
>>> How can one bit of code break, and be fixed by a reset?
>>> I guess I just don't have the chops to be a programmer.
>> Also ask Toyota they prolly know
> 
> Reports say their code was littered with thousands of static/global 
> variables, creating almost an infinitely complex (but certainly 
> un-analysable) state space.
> 
> The first thing I do before starting to look for bugs in a client's 
> embedded device is make a comprehensive review of all global data. It's 
> amazing how many potential bugs you can find just by looking at the 
> linker map of global data.
> 
> Clifford Heath.

Functional programming is all the rage among the kids these days. No 
mutable state. Or at least as close to none (interacting with the real 
world usually requires some state)

[toc] | [prev] | [next] | [standalone]


#548088

FromClifford Heath <no.spam@please.net>
Date2019-06-21 11:14 +1000
Message-ID<9cWOE.2$a05.0@fx12.iad>
In reply to#548087
On 21/6/19 11:00 am, bitrex wrote:
> On 6/20/19 8:46 PM, Clifford Heath wrote:
>> On 21/6/19 10:23 am, bitrex wrote:
>>> On 6/20/19 6:36 PM, John Larkin wrote:
>>>> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
>>>>
>>>>> On 6/20/19 3:44 PM, John Larkin wrote:
>>>>>>
>>>>>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>>>>>
>>>>>> In other news, a few months ago my microwave oven keypad broke; the
>>>>>> first two rows of numbers quit working, 012 and 345. That made things
>>>>>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>>>>>> was hard. I assumed that some trace had broken in the membrane thing.
>>>>>>
>>>>>> So last night we had a brief power failure, and now it all works! I
>>>>>> don't understand how that's possible.
>>>>>>
>>>>>
>>>>> Software written by EEs
>>>>
>>>> How can one bit of code break, and be fixed by a reset?
>>>> I guess I just don't have the chops to be a programmer.
>>> Also ask Toyota they prolly know
>>
>> Reports say their code was littered with thousands of static/global 
>> variables, creating almost an infinitely complex (but certainly 
>> un-analysable) state space.
>>
>> The first thing I do before starting to look for bugs in a client's 
>> embedded device is make a comprehensive review of all global data. 
>> It's amazing how many potential bugs you can find just by looking at 
>> the linker map of global data.
>>
>> Clifford Heath.
> 
> Functional programming is all the rage among the kids these days.

I wish that was true. There are some adopting it, but I wouldn't say it 
is "all the rage". The Haskell community has no desire to reach a mass 
audience, because they're so special and mass adoption would make them 
less special, so they wouldn't be able to sit back and sneer and snipe 
any more, depriving them of their favourite hobby.

A few enlightened folk are trying to blend ideas from other systems, 
e.g. Elixir is a Ruby-like FP language that runs on the Erlang VM. That 
has more chance of success.

Clifford Heath.

[toc] | [prev] | [next] | [standalone]


#548104

FromChris Jones <lugnut808@spam.yahoo.com>
Date2019-06-21 15:03 +1000
Message-ID<ZyZOE.247582$ng1.6956@fx36.am4>
In reply to#548073
On 21/06/2019 08:36, John Larkin wrote:
> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
> 
>> On 6/20/19 3:44 PM, John Larkin wrote:
>>>
>>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>>
>>> In other news, a few months ago my microwave oven keypad broke; the
>>> first two rows of numbers quit working, 012 and 345. That made things
>>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>>> was hard. I assumed that some trace had broken in the membrane thing.
>>>
>>> So last night we had a brief power failure, and now it all works! I
>>> don't understand how that's possible.
>>>
>>
>> Software written by EEs
> 
> How can one bit of code break, and be fixed by a reset?

If the register that controls the pin direction (input / output) of the 
IO pins that scan the keypad were to get corrupted, that would do it. 
Most people don't reinitialise the IO registers except at startup. There 
is an argument for forcing a reset from time to time, e.g. each time the 
appliance is used, but that is hard if you also keep the real time clock 
in software.

> I guess I just don't have the chops to be a programmer.

If it had been written by real programmers, then it would need a CPU 
clock frequency higher than the oscillation frequency of the magnetron, 
and it would still be laggy. Similarly, all-vacuum-tube televisions warm 
up faster than a modern television can boot up, and the battery life of 
a modern digital radio is worse than the ones that had separate filament 
accumulators and HT batteries.

[toc] | [prev] | [next] | [standalone]


#548117

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2019-06-21 02:50 -0700
Message-ID<5f9pge5lt0dfg0uf9elk55qli93fucf876@4ax.com>
In reply to#548104
On Fri, 21 Jun 2019 15:03:52 +1000, Chris Jones
<lugnut808@spam.yahoo.com> wrote:

>On 21/06/2019 08:36, John Larkin wrote:
>> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
>> 
>>> On 6/20/19 3:44 PM, John Larkin wrote:
>>>>
>>>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>>>
>>>> In other news, a few months ago my microwave oven keypad broke; the
>>>> first two rows of numbers quit working, 012 and 345. That made things
>>>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>>>> was hard. I assumed that some trace had broken in the membrane thing.
>>>>
>>>> So last night we had a brief power failure, and now it all works! I
>>>> don't understand how that's possible.
>>>>
>>>
>>> Software written by EEs
>> 
>> How can one bit of code break, and be fixed by a reset?
>
>If the register that controls the pin direction (input / output) of the 
>IO pins that scan the keypad were to get corrupted, that would do it. 
>Most people don't reinitialise the IO registers except at startup.

OK, that would do it, a flipped port control bit taking out an entire
row of a matrix scan of the keypad. Somehow. ESD maybe.

Well, it's easier to poach eggs now. (In a water bath, to slow things
down.)

This microwave, an official Amana RadarRange (tm) is quirky as hell, a
smart appliance programmed by dumb people. Like the light bulb.

The RadarRange was Raytheon's name for the first microwave oven,
introduced in 1947.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#548129

FromJan Panteltje <pNaOnStPeAlMtje@yahoo.com>
Date2019-06-21 13:04 +0000
Message-ID<qeikm1$vva$2@dont-email.me>
In reply to#548117
On a sunny day (Fri, 21 Jun 2019 02:50:40 -0700) it happened John Larkin
<jjlarkin@highlandtechnology.com> wrote in
<5f9pge5lt0dfg0uf9elk55qli93fucf876@4ax.com>:

>On Fri, 21 Jun 2019 15:03:52 +1000, Chris Jones
><lugnut808@spam.yahoo.com> wrote:
>
>>On 21/06/2019 08:36, John Larkin wrote:
>>> On Thu, 20 Jun 2019 16:14:34 -0400, bitrex <user@example.net> wrote:
>>> 
>>>> On 6/20/19 3:44 PM, John Larkin wrote:
>>>>>
>>>>> https://www.theregister.co.uk/2019/06/20/ge_lightblulb_reset/
>>>>>
>>>>> In other news, a few months ago my microwave oven keypad broke; the
>>>>> first two rows of numbers quit working, 012 and 345. That made things
>>>>> tricky. Had to cook things for 6:66 minutes and seconds. Setting time
>>>>> was hard. I assumed that some trace had broken in the membrane thing.
>>>>>
>>>>> So last night we had a brief power failure, and now it all works! I
>>>>> don't understand how that's possible.
>>>>>
>>>>
>>>> Software written by EEs
>>> 
>>> How can one bit of code break, and be fixed by a reset?
>>
>>If the register that controls the pin direction (input / output) of the 
>>IO pins that scan the keypad were to get corrupted, that would do it. 
>>Most people don't reinitialise the IO registers except at startup.
>
>OK, that would do it, a flipped port control bit taking out an entire
>row of a matrix scan of the keypad. Somehow. ESD maybe.
>
>Well, it's easier to poach eggs now. (In a water bath, to slow things
>down.)
>
>This microwave, an official Amana RadarRange (tm) is quirky as hell, a
>smart appliance programmed by dumb people. Like the light bulb.
>
>The RadarRange was Raytheon's name for the first microwave oven,
>introduced in 1947.

Using at at work?
Could it be some of your pulse experiments upset it?

OTPH what is secure?
I wrote some software for the Dlink DCS-900 IP camera many years ago:
 http://panteltje.com/panteltje/mcamip/
and found that I could just read from it without username and password...
I contacted them, and got a nice reply asking how I could write that soft..
Replied I used 'snort' (open source network intrusion detection system)
looking at what browser send...

They did seem very curious, wanted all my test files, I asked why,
never heard from them again.
I was a good camera, still using it,
but light sensitivity of CMOS sensors has since improved dramatically.

Nothing is really secure if you are motivated,
I was motivated because I did not want to run MS windows,
and they had no Linux software.

[toc] | [prev] | [next] | [standalone]


#548082

Frommpm <mpmillard@aol.com>
Date2019-06-20 17:34 -0700
Message-ID<1f7b952c-823e-4cb1-ae55-49321d043d1f@googlegroups.com>
In reply to#548065
On Thursday, June 20, 2019 at 4:14:38 PM UTC-4, bitrex wrote:
> Software written by EEs

Or a millennial.
I'm sorry... make that "sketch" by a millennial, not software.

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | sci.electronics.design


csiph-web