Home Forums Articles How To's FAQ Register
Go Back   Xoutpost.com > BMW SAV Forums > X5 (E70) Forum
Arnott
User Name
Password
Member List Premier Membership Today's Posts New Posts

Xoutpost server transfer and maintenance is occurring....
Xoutpost is currently undergoing a planned server migration.... stay tuned for new developments.... sincerely, the management


Reply
 
LinkBack Thread Tools Display Modes
  #11  
Old 02-17-2010, 03:10 PM
ard ard is offline
Member
 
Join Date: Mar 2006
Location: Sierra Foothills, California
Posts: 6,765
ard is on a distinguished road
Quote:
Originally Posted by montoya View Post
No, just like hardware, firmware must take into account all conditions and all user operations. It is hardly unusual to enter in the passenger side and turn on accessories for one reason or another.

For what we do in electrical controls in my business, all firmware needs to go through rigorous safety checking. I'm sure BMW has their own set of standards and regs they must pass as well. It is amazing that something so simple is overlooked- but that is why things are required to be tested.

We will have to disagree on this point.
There can be competing priorities that cannot be resolved, and these are not necessarily 'faults'.

If there is an over-arching principle that 'the driver has higher priority' or 'the driver always controls', then you can imagine a scenario in the software in which there could be a rationale for this behavior.

Lets say the op opened and closed the driver door, walked to the passenger side, entered, put the key in, programmed and then left.

The car sees this as:
a 'driver entry'
and then a 'passenger entry'
and then perhaps within 10 seconds a 'key insert'.

The car thinks driver+ passenger+ key.

Programming ensues. Key out, passenger leaves.

Car thinks 'driver sitting in seat with key in hand'

Perhaps there is some state that is begun with a driver door entry? If something happens within X seconds that state then transitions to 'driver plus something'...if nothing happens that state may revert to 'just a door opened, return to state 0.

What we don't know is how the State diagrams/tables are constructed, and what rules are used to define these states....

Or it could be a software bug.



A
Reply With Quote

Sponsored Links

  #12  
Old 02-17-2010, 03:15 PM
montoya's Avatar
Member
 
Join Date: Dec 2009
Location: Portland, Oregon
Posts: 59
montoya is on a distinguished road
Quote:
Originally Posted by ard View Post
There can be competing priorities that cannot be resolved, and these are not necessarily 'faults'.

If there is an over-arching principle that 'the driver has higher priority' or 'the driver always controls', then you can imagine a scenario in the software in which there could be a rationale for this behavior.

Lets say the op opened and closed the driver door, walked to the passenger side, entered, put the key in, programmed and then left.

The car sees this as:
a 'driver entry'
and then a 'passenger entry'
and then perhaps within 10 seconds a 'key insert'.

The car thinks driver+ passenger+ key.

Programming ensues. Key out, passenger leaves.

Car thinks 'driver sitting in seat with key in hand'

Perhaps there is some state that is begun with a driver door entry? If something happens within X seconds that state then transitions to 'driver plus something'...if nothing happens that state may revert to 'just a door opened, return to state 0.

What we don't know is how the State diagrams/tables are constructed, and what rules are used to define these states....

Or it could be a software bug.



A
Exactly, it is an incomplete state diagram table, since the lights stay on indefinitely, one can only assume that this state was not covered in the firmware. Definitely not a feature!
Reply With Quote
  #13  
Old 02-17-2010, 03:28 PM
London Lad's Avatar
Member
 
Join Date: Dec 2009
Location: UK
Posts: 293
London Lad is on a distinguished road
We will have to disagree then. It's a car not the space shuttle.

I can lock the car with key-less go, open the boot with the remote, toss in the keys and close to boot with the red button.

If I have not set up BMW assist then my keys are now locked in the car. It would not be a software bug, it would be my 'unusual use' just the same as the OP.

(PS Did you mean No IMHO :-))
Reply With Quote
  #14  
Old 02-17-2010, 03:44 PM
ard ard is offline
Member
 
Join Date: Mar 2006
Location: Sierra Foothills, California
Posts: 6,765
ard is on a distinguished road
Quote:
Originally Posted by montoya View Post
Exactly, it is an incomplete state diagram table, since the lights stay on indefinitely, one can only assume that this state was not covered in the firmware. Definitely not a feature!
I'd have to agree if the light does, indeed, stay on 'forever'.

Now one might also need to consider bus traffic and communication as a contributor to this observation: if it is repeatable, then it is a software bug- but if it is rare, it may be a combination of a SW problem being triggered by something else. Collisions on a comm bus, or what have you....

In stuff I do, we often use a separate circuit that is a 'watchdog timer'...the software must strobe the timer every so often (each second lets say) so the timer knows the SW is 'alive'. If the SW looses control, the timer cuts power and resets.

In the car, this would be equivalent to a circuit that monitors battery drain and if it is over X milliamps after Y hours, it forces a hard shut down. Of course who cares if a car battery runs dead, from a FMEA or risk analysis perspective. I suspect this time of process is used on cars for critical control systems.

A
Reply With Quote
  #15  
Old 02-17-2010, 03:56 PM
montoya's Avatar
Member
 
Join Date: Dec 2009
Location: Portland, Oregon
Posts: 59
montoya is on a distinguished road
Yes, we have watchdogs on our firmware as well to reinitialize the system should an 'illegal' state occur. In the BMW I would assume there is a watchdog for the turning off the lights no matter the 'request' once the battery is drained as you suggest.

You are right as well that I may be jumping to a conclusion based on my car and the OP. It is easy enough to replicate- open the car from the passenger side, insert the key and start the accessories, remove the key and exit through the passenger door. In my car the welcome lights stay on- indefinitely I don't know, but at least more than the settings in IDrive- an hour or more. If you open the driver's door, the welcome lights go off immediately. Try it and we'll have another data point.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 08:57 AM.
vBulletin, Copyright 2026, Jelsoft Enterprises Ltd. SEO by vBSEO 3.6.0
© 2017 Xoutpost.com. All rights reserved. Xoutpost.com is a private enthusiast site not associated with BMW AG.
The BMW name, marks, M stripe logo, and Roundel logo as well as X3, X5 and X6 designations used in the pages of this Web Site are the property of BMW AG.
This web site is not sponsored or affiliated in any way with BMW AG or any of its subsidiaries.