<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- Generated by YaBB on Fri, 18 May 2012 18:20:26 +0000 -->
<rss version="2.0">
	<channel>
		<title>10 most Recent Topics - VMLAB users forum</title>
		<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl</link>
		<description> - VMLAB users forum</description>
		<language>en-us</language>

		<copyright>VMLAB users forum</copyright>
		<lastBuildDate>Fri, 18 May 2012 18:20:26 +0000</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator></generator>
		<ttl>30</ttl>
		<item>
			<title>VMLAB - ATmega168b and PWM</title>
			<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1335124970/1#1</link>
			<category>VMLAB users forum/VMLAB</category>
			<guid>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1335124970/1#1</guid>
			<description>Yes, that&#39;s correct but only in the phase correct and phase/frequency correct waveform generation modes. Are you sure the right one is selected in the WGM bits?</description>
		</item>
		<item>
			<title>Bug Reports - VMLab crash, while creating new micro files (3.15)</title>
			<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1332253354/2#2</link>
			<category>VMLAB users forum/Bug Reports</category>
			<guid>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1332253354/2#2</guid>
			<description>Portion of INI-file &#160;&#60;b&#62;Code:&#60;/b&#62;&#60;pre class=&#34;code&#34; style=&#34;margin: 0px; width: 90%; &#160;overflow: auto;&#34;&#62;&#38;#91;Peripheral&#38;#58;USI&#38;#93;
&#38;#068;LL_model = TinyUSI        ; &#38;#068;LL&#38;#45;based model defined in &#38;quot;TinyUSI&#38;#46;dll&#38;quot;
Register_map = &#38;quot;USICR=$2&#38;#068;, USISR=$2E, USI&#38;#068;R=$2F&#38;quot;
Port_map = &#38;quot;MISO=PB6, MOSI=PB5, SCK=PB7&#38;quot;
Interrupt_map = &#38;quot;USI_Start=USIS, USI_Overflow=USIOVF&#38;quot;
 

&#60;/pre&#62;&#60;br /&#62;&#60;br /&#62;Portion of CPP-source for TinyUSI.dll &#160;&#60;b&#62;Code:&#60;/b&#62;&#60;pre class=&#34;code&#34; style=&#34;margin: 0px; width: 90%; &#160;overflow: auto;&#34;&#62;REGISTERS_VIEW
   &#38;#068;ISPLAY&#38;#40;USISR, GA&#38;#068;GET1, USISIF, USIOIF, USIPF, USII&#38;#068;C, USICNT3, USICNT2, USICNT1, USICNT0&#38;#41;
   &#38;#068;ISPLAY&#38;#40;USI&#38;#068;R, GA&#38;#068;GET2, *, *, *, *, *, *, *, *&#38;#41;
&#38;#47;&#38;#47;   &#38;#068;ISPLAY&#38;#40;USICR, GA&#38;#068;GET4, USISIE, USIOIE, USIWM1, USIWM0, USIICS1, USIICS0, USICLK, USITC&#38;#41;
EN&#38;#068;_VIEW
 

&#60;/pre&#62;&#60;br /&#62;&#60;br /&#62;If you forget to declare the &#60;b&#62;USICR&#60;/b&#62; in the CPP, like in the above code snippit, VMLab will crash. Omitting any of the other registers will result in a nice warning message about the REGISTER_VIEW info missing. But not if it is the first register that you&#39;ve declared in the INI file.&#60;br /&#62;&#60;br /&#62;(using Windows XP).&#60;br /&#62;</description>
		</item>
		<item>
			<title>VMLAB - attyny 2313</title>
			<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1323629076/8#8</link>
			<category>VMLAB users forum/VMLAB</category>
			<guid>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1323629076/8#8</guid>
			<description>The latest (3.15G) as of now.&#60;br /&#62;Question: i been trying to figure out how to get a callback from VMLab as soon as a PORT register changes.&#60;br /&#62;&#60;br /&#62;The 2313&#39;s USI module has a partial PB5 override, as it will pull down the output pin when the USI output is low, and release it when the USI is high (this is USI in TWI mode). However, the pin is ALSO pulled low if and when PB5 is set to 0 using the PORT command.&#60;br /&#62;&#60;br /&#62;FYI: setting PB5 to output in the DDR register makes it open drain/collector, instead of enabling the output driver.&#60;br /&#62;&#60;br /&#62;So to emulate this behaviour i need to know the status of PB5 in both the PORTB and DDRB registers. I&#39;ve tried assuming control over these registers in the DUMMY peripheral and then send NOTIFY messages to the USI DLL, but VMLab tells me the &#38;quot;address $38 is already assigned to PORTB&#38;quot; and i&#39;m pretty much at a loss here &#60;img src=&#34;http://www.amctools.com/yabbfiles/Templates/Forum/default/sad.gif&#34; border=&#34;0&#34; alt=&#34;Sad&#34; /&#62;&#60;br /&#62;&#60;br /&#62;Any thoughts? &#60;br /&#62;</description>
		</item>
		<item>
			<title>Contributors /  User-defined Components Repository - KS0108B Graphic LCD</title>
			<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1250250728/29#29</link>
			<category>VMLAB users forum/Contributors /  User-defined Components Repository</category>
			<guid>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1250250728/29#29</guid>
			<description>Thanks for the answer.&#1103; has understood all works as thanks</description>
		</item>
		<item>
			<title>Bug Reports - Tutorial files</title>
			<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1290638166/3#3</link>
			<category>VMLAB users forum/Bug Reports</category>
			<guid>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1290638166/3#3</guid>
			<description>HI_ALL___Test</description>
		</item>
		<item>
			<title>Contributors /  User-defined Components Repository - DS18b20</title>
			<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1262726745/8#8</link>
			<category>VMLAB users forum/Contributors /  User-defined Components Repository</category>
			<guid>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1262726745/8#8</guid>
			<description>thanks gif.</description>
		</item>
		<item>
			<title>Bug Reports - Bug in atmega162 timer2 simulation</title>
			<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1320336835/0#0</link>
			<category>VMLAB users forum/Bug Reports</category>
			<guid>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1320336835/0#0</guid>
			<description>Hello!&#60;br /&#62;I&#39;m use Atmega162, in my program TIMER2 running in asynchronous mode and there are Timer2 overflow interrupt.&#60;br /&#62;&#60;br /&#62;In register TIMSK bit2, TOIE2 enable this interrupt, but in simulator, this bit have name &#38;quot;OCIE2&#38;quot; (see attached screenshot)&#60;br /&#62;&#60;br /&#62;timer2 init. code:&#60;br /&#62; &#60;b&#62;Code:&#60;/b&#62;&#60;pre class=&#34;code&#34; style=&#34;margin: 0px; width: 90%; &#160;overflow: auto;&#34;&#62;void timer2_init&#38;#40;void&#38;#41;&#38;#123;
    TIMSK &#38;amp;=~&#38;#40;&#38;#40;1&#38;lt;&#38;lt;TOIE2&#38;#41;&#38;#124;&#38;#40;1&#38;lt;&#38;lt;OCIE2&#38;#41;&#38;#41;;
    ASSR &#38;#124;= &#38;#40;1&#38;lt;&#38;lt;AS2&#38;#41;;
    while &#38;#40;ASSR &#38;amp; &#38;#40;1 &#38;lt;&#38;lt; TCON2UB&#38;#41;&#38;#41;&#38;#123;&#38;#125;;
    TCNT2 = 0x00;
    while &#38;#40;ASSR &#38;amp; &#38;#40;1 &#38;lt;&#38;lt; TCR2UB&#38;#41;&#38;#41;&#38;#123;&#38;#125;;
    TCCR2 = &#38;#40;1 &#38;lt;&#38;lt; CS22&#38;#41; &#38;#124; &#38;#40;1 &#38;lt;&#38;lt; CS20&#38;#41;;  &#38;#47;&#38;#47; clk&#38;#47;128
    TIFR = &#38;#40;1 &#38;lt;&#38;lt; OCF2&#38;#41; &#38;#124; &#38;#40;1 &#38;lt;&#38;lt; TOV2&#38;#41;;
    TIMSK &#38;#124;= &#38;#40;1 &#38;lt;&#38;lt; TOIE2&#38;#41;;  &#38;#47;&#38;#47; &#38;lt;&#38;#45;&#38;#45;&#38;#45;&#38;#45; in this moment set bit2 in TIMSK reg
&#38;#125; 

&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Embedded Systems and Microcontrollers  - how can i use AVR access extenal SRAM or SDRAM?</title>
			<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1259381976/5#5</link>
			<category>VMLAB users forum/Embedded Systems and Microcontrollers </category>
			<guid>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1259381976/5#5</guid>
			<description>&#60;b&#62;&#60;a class=&#34;message&#34; href=&#34;http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1259381976/0#2&#34;&#62;DreamCat wrote&#60;/a&#62; on 11/29/09 at 08:20:00:&#60;/b&#62;&#60;br /&#62;&#60;div class=&#34;quote&#34; style=&#34;width: 90%&#34;&#62;thank you!!&#60;br /&#62;&#60;br /&#62;i found some article about access them,  i will try it on my mega16 or mega128... &#160;&#60;/div&#62;&#60;br /&#62;From where did you find the articles???</description>
		</item>
		<item>
			<title>VMLAB - Welcome to our forum!</title>
			<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1138638989/16#16</link>
			<category>VMLAB users forum/VMLAB</category>
			<guid>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1138638989/16#16</guid>
			<description>I want to say thanks for this great simulator....and it&#39;s free too; unusual for such a kind of great tool. Hope I&#39;ll have nice simulations with it. &#60;br /&#62;&#60;br /&#62;&#60;br /&#62;</description>
		</item>
		<item>
			<title>VMLAB - Problem with EXTIN/EXTOUT</title>
			<link>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1315970665/1#1</link>
			<category>VMLAB users forum/VMLAB</category>
			<guid>http://www.amctools.com/cgi-bin/yabb2/YaBB.pl?num=1315970665/1#1</guid>
			<description>The EXTIN EXTOUT instances are only capable to &#38;quot;transmit&#38;quot; logic values, not voltages. &#60;br /&#62;&#60;br /&#62;Please, insure that in the corresponding nodes all voltages are properly defined, not Xs, intermediate level voltages, etc. &#38;nbsp; &#60;br /&#62;&#60;br /&#62;This is &#60;b&#62;maybe&#60;/b&#62; the cause of your trouble...</description>
		</item>
	</channel>
</rss>
