<div dir="ltr">I should note that the reason I ask is that when I program the board without loading the OS - i find that the Hardware Manager's output over JTAG is working as expected. When I program the board, and boot from the SDCard - I find that the JTAG output is not working correctly.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Mar 24, 2017 at 1:40 PM Giordon Stark <<a href="mailto:kratsg@gmail.com">kratsg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I'm not sure if anyone's seen this before or if I'm doing something wrong. <a href="http://i.imgur.com/KPRvx42.png" class="gmail_msg" target="_blank">http://i.imgur.com/KPRvx42.png</a> - here's a screenshot of what I'm seeing through the Hardware Manager for a Zynq-7000 (7020 evaluation) board. In the OS, I combine the numbers from three memory-mapped files to calculate the temperature of the board.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">On average, i'm seeing ~42C from the OS via command line, while I'm seeing ~47C over JTAG in the hardware manager. Is there a known discrepancy? Which do I trust more?</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Command I run:</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">$ cat /sys/devices/soc0/amba@0/f8007100.ps7-xadc/iio\:device0/in_temp0_* | tr '\n' '\t' | awk '{print ($1 + $2)*$3}'<br class="gmail_msg"><br class="gmail_msg">Note that</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">$ cat /sys/devices/soc0/amba@0/f8007100.ps7-xadc/iio\:device0/in_temp0_*<br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">produces an output like</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">-2219<br class="gmail_msg">2584<br class="gmail_msg">123.040771484<br class="gmail_msg"><br class="gmail_msg">So it just looks like I'm meant to add the first two, and multiply by the 3rd -- and this gives me a number in milliCelsius.</div></div><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Giordon</div></div></blockquote></div>