DAVIS Vantage Vue ISS Fiche technique

Naviguer en ligne ou télécharger Fiche technique pour Jouets et accessoires DAVIS Vantage Vue ISS. DAVIS Vantage Vue ISS Datasheet Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 43
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
A fix for the firmware v. 3.xx problem
in Davis Instruments Corp. weather stations
© Torkel M. Jodalen
annoyingdesigns.com
December 29, 2014
Abstract
This document describes how to overcome the ”serial line lockdown” intro-
duced by Davis Instruments Corp. in firmware versions 3.00, 3.12 and 3.15 for
the Vantage Pro2 (VP2) series of weather stations and firmware version 3.00 for the
Vue series of weather stations. The fix is based on the Atmel AVR ATtinyX5
1
series
microcontroller. The document also provides examples of how Davis Instruments
Corp. deals with criticism, user feedback and market communication related to
undocumented product updates.
Introduced in 2012, the green dot data logger requirement
2
dramatically changed
long-established functionality of these popular weather stations. The unannounced
change caused a number of problems for users of original Davis equipment, third-
party equipment and users relying on access to the console serial line. Unfortu-
nately, Davis Instruments Corp. has repeatedly ignored customer feedback and
requests to have the firmware-imposed limitations removed.
This document is an attempt to document the new ”original data logger re-
quirement” introduced in firmware versions 3.00 and later, as Davis evidently will
not comment truthfully on the problems they know this ”feature” may cause to
end-users.
The unfortunate result of Davis Instruments Corp. product development.
1
ATtiny25/ATtiny45/ATtiny85.
2
Also known as ”the original data logger requirement”.
Vue de la page 0
1 2 3 4 5 6 ... 42 43

Résumé du contenu

Page 1 - December 29, 2014

A fix for the firmware v. 3.xx problemin Davis Instruments Corp. weather stations© Torkel M. Jodalenannoyingdesigns.comDecember 29, 2014AbstractThis doc

Page 2 - Disclaimer

3.2 So, how does it work, then?During power-up (boot sequence) or after a reset9, the console performs internal checksand determines whether a data lo

Page 3 - Contents

• Watching the serial line for any activity during the boot sequence reveals that theserial line is not involved in the authentication process. This l

Page 4 - 1 Introduction

3.3.2 Particulars from the AT45DB011 datasheetThe Adesto Technologies AT45DB011 1Mbit DataFlash chip [20] found in original Davisdata loggers contains

Page 5

3.3.3 Logic analyzer findingsUsing a logic analyzer such as the Saleae Logic16 [15] hooked up to GND and the MOSI,MISO, CLK and SS lines between the co

Page 6 - 1.4 Third-party data loggers

Figure 8: Bird on the wire: the Saleae Logic16 listening in on the SPI communication between the consoleand the original Davis data logger. The AT45DB

Page 7

3.3.4 Having a chat with a green-dot Davis data loggerUsing a BusPirate [18] in SPI mode, the AT45DB011 status byte and the security registercan be re

Page 8

Then proceed by sending some commands to the AT45DB011 DataFlash chip in theoriginal data logger and read the return values:• To read the chip status,

Page 9 - 3.1 The console serial line

Figure 10: The BusPirate doing just what it is supposed to do.The contents of the security registers of two different Davis data loggers is includedbe

Page 10

4 The solution (and end to troubles)As the data logger authentication process has been reasonably well documented, a flowdiagram can be constructed to

Page 11

4.1 The next few stepsFrom here on, it’s all a matter of:• Chosing a microcontroller for the implementation.• Chosing a compiler/IDE and other program

Page 12

DisclaimerThe author assumes no responsibility for your use of information contained in thisdocument. Experiment entirely at your own risk.The author

Page 13 - 0x9A 0x2F

4.3 A simple BASCOM-AVR implementation for the ATtiny25/45/85The BASCOM-AVR BASIC compiler [12] for Windows is available free of charge10. WhileAtmel

Page 14

' Unlock the Davis VP2/Vue console serial line using the ATtiny25/45/85' Torkel M. Jodalen <[email protected]> - http://www.annoyingdesig

Page 15

ElseIf COMMAND = CMD_SECURITY Then' Respond to CMD_SECURITYFor I = 0 To 2' First respond with three dummy bytes as per AT45DB011 specificati

Page 16

' Unlock the Davis VP2/Vue console serial line using the ATtiny85 and a' random device ID. Using algorithm as described by WXForum.net user&

Page 17

' Wait for something to come aroundWhile USI_Data_ready <> 1WendIf COMMAND = CMD_STATUS Then' Respond to CMD_STATUSWhile USI_DATA_READ

Page 18

4.5 Using BASCOM-AVR with the STK500 and the ATtiny25/45/85Getting up to speed with BASCOM-AVR and the STK500 may require a tiny bit of effort.The mai

Page 19 - 4.1 The next few steps

Figure 13: Jumper configuration for the STK500. Also note the location of the ATtiny25/45/85 MCU asplaced in the programming socket. In this photo, the

Page 20

4.6 Testing the MCU after programmingOnce the MCU has been programmed in the STK500 programmer, it can be tested byusing the BusPirate without removin

Page 21

4.7 Wiring the programmed MCU to the Vantage Pro2 consoleWiring the ATtiny25/45/85 to the console can be achieved by connecting 6 short wiresfrom the

Page 22

Figure 18: Required wiring between the console expansion connector and the MCU. Refer to figure 5 fora description of the expansion connector.Figure 19

Page 23

Contents1 Introduction 21.1 The Davis Vantage Pro2 series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.2 Typical station setup . . .

Page 24

5 Implications and complicationsDavis created a number of problems by introducing firmware version 3.xx — not onlyto those utilizing non-Davis equipmen

Page 25

• The official Davis policy of ”smokescreen lies” may work for a short while — untilsomeone takes the trouble to document what really goes on. Sadly, t

Page 26

Someone is telling lies here. The above statement just isn’t true, refer to [10] and [14]for details.The hardware has been updated for greater reliabi

Page 27

6 Et cetera6.1 Parts listApart from the normal stuff found in well-assorted workbench drawers such as screw-drivers and a soldering iron, the followin

Page 28

6.2 Reverse-engineered data logger schematicAn anonymous source contributed this reverse-engineered data logger schematic. Itsvalidity has not been ve

Page 29

6.3 Questions and answersAre there other attack vectors which can be used to unlock the console serial line?Yes. Davis obviously don’t apply NSA secur

Page 30 - 5.3 A need for greed

Any news regarding the calculation of security register values?Yes. On November 28, 2013 WForum.net user watson published the algorithm to calcu-late

Page 31 - 5.4 Email correspondence

What does it take to build a third-party data logger?A little effort. Study the datasheets for the relevant components and you’ll find that bitsand pie

Page 32 - 5.5 Social media

Why won’t WeatherLink work with just the serial line?Because WeatherLink is old-school proprietary software and even requires a hardware-provided comm

Page 33 - 6 Et cetera

6.4 Contact informationContact information, web address, Google Groups discussion forum, et cetera:Torkel M. JodalenPb. 1036 JeløyNO-1510 MossNorwayEm

Page 34

1 Introduction1.1 The Davis Vantage Pro2 seriesDespite shortcomings in sensor accurancy3the Vantage Pro2 series of weather stations,manufactured by Da

Page 35 - 6.3 Questions and answers

References[1] Davis Instruments Corp. Davis Instruments 2013 Catalog. Hayward, CA, USA, 2013.[2] Davis Instruments Corp. Vantage Pro, Vantage Pro2 and

Page 36

[15] Saleae LLC. The Logic16 logic analyser. http://www.saleae.com/logic16,2013. Accessed: 2013-06-24.[16] Jurij Mikeln. Introduction to microcontroll

Page 37

Revision historyA working implementation using the ATtiny25/45/85 series of MCUs was complete asof December, 2012. Writing the documentation/do-it-you

Page 38

http://meteo.annoyingdesigns.com 41

Page 39 - 6.4 Contact information

1.3 Original Davis data loggersData loggers cover two different functions: archiving data from the console and provid-ing a means of communicating wit

Page 40 - References

Figure 1: Original Davis data logger — non-green dot version (product # 06510 SER).Figure 2: Original Davis data logger, under the cover — green dot v

Page 41

2 The green dot data logger problemStarting in 2012, new Davis data loggers suddenly shipped with a green dot stickerattached to the enclosure, hence

Page 42 - Date Change(s) applied

3 A look inside the Davis unitsApart from the custom-made LCD display, the Davis Vantage Pro2 console consists ofcommonly available electronics parts.

Page 43

3.1 The console serial lineOf particular interest on the ATmega128L MCU are the pins used for serial line commu-nication (pins 2, 3 and GND) as well a

Commentaires sur ces manuels

Pas de commentaire