DAVIS Vantage Vue ISS Scheda Tecnica

Navigare online o scaricare Scheda Tecnica per Giocattoli e accessori DAVIS Vantage Vue ISS. DAVIS Vantage Vue ISS Datasheet Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 43
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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”.
Vedere la pagina 0
1 2 3 4 5 6 ... 42 43

Sommario

Pagina 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

Pagina 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

Pagina 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

Pagina 4 - 1 Introduction

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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,

Pagina 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

Pagina 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

Pagina 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

Pagina 12

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

Pagina 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

Pagina 14

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

Pagina 15

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

Pagina 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&

Pagina 17

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 23

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

Pagina 24

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

Pagina 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

Pagina 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

Pagina 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

Pagina 28

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 34

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

Pagina 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

Pagina 36

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

Pagina 37

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

Pagina 38

http://meteo.annoyingdesigns.com 41

Pagina 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

Pagina 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

Pagina 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

Pagina 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.

Pagina 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

Commenti su questo manuale

Nessun commento