<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Do Not Hide the Problem - A Correct SW Lab 7 Solution</title><link>/challenges-projects/design-challenges/path2programmable/b/blog/posts/do-not-hide-the-problem---a-correct-sw-lab-7-solution</link><description>SW Lab 7 Problem Description 


 A Correct SW Lab 7 Solution 

 SW Lab 7 Problem Description Like other people reported here and there , I noticed the same problem in Experiment 2, SW Lab 7: the peripheral test application stuck at the p...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Do Not Hide the Problem - A Correct SW Lab 7 Solution</title><link>https://community.element14.com/challenges-projects/design-challenges/path2programmable/b/blog/posts/do-not-hide-the-problem---a-correct-sw-lab-7-solution</link><pubDate>Fri, 08 Nov 2019 22:39:14 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8e756ed9-1a32-45d6-9d9d-0870ac3656f3</guid><dc:creator>aspork42</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Great write up - I just found this last night. The part that worried me about it is that running this test disables the fan. The processor then deadlocks and turns into a little heater.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I ended up with the error messages shown here:&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p dir="ltr"&gt;&lt;span&gt;Temperature Alarm(0) HIGH Threshold is 52.700 Centigrade. &lt;/span&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;span&gt;Temperature Alarm(0) LOW Threshold is 42.698 Centigrade. &lt;/span&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;span&gt;VCCINT Alarm(1) HIGH Threshold is 0.637 Volts. &lt;/span&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;span&gt;VCCINT Alarm(1) LOW Threshold is 1.037 Volts. &lt;/span&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;span&gt;VCCAUX Alarm(3) HIGH Threshold is 1.597 Volts. &lt;/span&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;span&gt;VCCAUX Alarm(3) LOW Threshold is 1.997 Volts. &lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p dir="ltr"&gt;&lt;span&gt;Alarm 0 - Temperature alarm has occured &lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p dir="ltr"&gt;&lt;span&gt;The Current Temperature is 63.075 Centigrade.&lt;/span&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;span&gt;The Maximum Temperature is 63.658 Centigrade. &lt;/span&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;span&gt;The Minimum Temperature is 62.516 Centigrade. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;So the MPSoC was over 10 Deg C higher than its threshold... Hopefully nothing got cooked too badly.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I can see you had this in your screenshot as well; but it wasn&amp;#39;t as hot as mine got...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8115&amp;AppID=242&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Do Not Hide the Problem - A Correct SW Lab 7 Solution</title><link>https://community.element14.com/challenges-projects/design-challenges/path2programmable/b/blog/posts/do-not-hide-the-problem---a-correct-sw-lab-7-solution</link><pubDate>Sat, 02 Nov 2019 05:19:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8e756ed9-1a32-45d6-9d9d-0870ac3656f3</guid><dc:creator>nerdyupdates</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Nice investigation into this. Thanks for sharing your knowledge on compiler optimization.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;One question which may not have a simple answer, but why is the &amp;quot;while&amp;quot; statement not enough for the compiler to know the programmer&amp;#39;s intent even though the &amp;quot;DstDone&amp;quot; variable was not originally declared volatile? Seems almost like the compiler is making an improper optimization by ignoring the while altogether.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8115&amp;AppID=242&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>