Ok... i think now pic simulation work quite better, the simulation run in two diferent ways:<br><br>-When runed from the circuit button (play), simulation goes at real time for a 20 MHz compiled pic code, registers are not updated, breakpoints doesn't have effect, it's just like powering the pic. <br>
<br>-When running from the code (execute), it run slower and updates registers view every 25 ms and every cycle when step-by-step, breakpoints and any other debug feature works here.<br><br>Now i need two things:<br><br>-Create the "clock Mhz" property or any other way that the user can choose the clock speed. Someone can give a hand wit this?<br>
<br>-Someway to know the voltage level in a pic pin, actually all are defined as logicin or logicout, i tried to understand how to do this but i can't find the correct way, i had a look to adc component, but have lot of errors bcos i really don't understand what i'm doing... all what i need is a float value of the voltage level at the input pins.... someone can point me to a way to follow?<br>
<br><br><div class="gmail_quote">2009/9/15 santiago gonzalez <span dir="ltr"><<a href="mailto:santigoro@gmail.com">santigoro@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Jose.. <br><br>I would like to find the way to have real-time simulations when in run-mode (only for circuit simulation) and a step-by-step or run-step-by-step when in debbuging mode.<br><br>It looks that actually ktechlab always run in debug mode, then ktechlab calls gpsim every step, but i think is possible to run gpsim in real-time and just wait for gpsim to update port's register changes and call gpsim just when some pin value is changed (not sure). This should be only when the "play" button in the circuit is pressed; when debbuging code and watching registers and so it could run in debugging mode as actually... but this is just a though... still have to understad better how works the gpsim interface.<br>

<br>There is also the cuestion of analog inputs, but actually i don't know how to deal with this.<br><br>Anyway if you want to try the ktl-0.3.7 with interrupts working you can try a .deb package in the "pic linux" forum; just look for the thread: "ktechlab y simulacion de una interrupcion en 16f84".<br>

<br>Regards.<br><br><br><div class="gmail_quote">2009/9/15 Jose Luis Galvez Lopez <span dir="ltr"><<a href="mailto:digigalos@yahoo.es" target="_blank">digigalos@yahoo.es</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">
<div><div style="font-family: bookman old style,new york,times,serif; font-size: 14pt;">Congratulations. When will the new version?<div> </div><div><font face="Webdings" size="4" color="green"><span style="font-size: 14pt; font-family: Webdings; color: green;">P</span></font><font face="Arial" color="black"><span style="font-family: Arial; color: black;"> </span></font><font face="Arial" size="1" color="green"><span style="font-size: 8pt; font-family: Arial; color: green;">No imprimir si no es necesario. Protejamos el Medio Ambiente</span></font><font face="Arial" size="1" color="green"><span style="font-size: 8pt; font-family: Arial; color: green;">.<br>

Do not print if it is not necessary. Protect Enviroment.</span></font><br><a rel="nofollow" href="http://digigalos.es" target="_blank">digigalos</a><font size="2"><br></font></div><font size="2"><a rel="nofollow" href="http://es.wikipedia.org/wiki/Software_libre" target="_blank">Software libre</a>, <a rel="nofollow" href="http://es.wikipedia.org/wiki/Conocimiento_libre" target="_blank">conocimiento libre</a>, <a rel="nofollow" href="http://es.wikipedia.org/wiki/Cultura_libre" target="_blank">cultura libre</a>.<br>

<a rel="nofollow" href="http://counter.li.org/" target="_blank">Usuario Linux</a> nş 299.452</font><font size="2"><br></font><font size="2"><a rel="nofollow" href="http://es.wikisource.org/wiki/Declaraci%C3%B3n_de_independencia_del_ciberespacio" target="_blank">Declaración de independencia del ciberespacio</a></font><br>

<div><br></div><div style="font-family: bookman old style,new york,times,serif; font-size: 14pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1">

<b><span style="font-weight: bold;">De:</span></b> santiago gonzalez
 <<a href="mailto:santigoro@gmail.com" target="_blank">santigoro@gmail.com</a>><br><b><span style="font-weight: bold;">Para:</span></b> ktechlab-devel <<a href="mailto:ktechlab-devel@lists.sourceforge.net" target="_blank">ktechlab-devel@lists.sourceforge.net</a>><br>

<b><span style="font-weight: bold;">Enviado:</span></b> martes, 15 de septiembre, 2009 8:57:12<br><b><span style="font-weight: bold;">Asunto:</span></b> [Ktechlab-devel] Pic interrupts solved.<br></font><div><div></div><div>

<br>I think today is my lucky day... i should buy lottery.. :)<br><br>Found the problem with interrupts that didn't work in ktechlab but work in gpsim.<br>I think now the pic simulation is faster and my PC's processor doesn't speed up.<br>


<br>With a pic program coded at 4MHz, ktechlab  simulates it at near real-time... perhaps 2/3<br>I think the aim should be real-time when in run-mode.<br>
</div></div></div></div></div><br>



      </div><br></div></div>------------------------------------------------------------------------------<br>
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;<br>
<a href="http://p.sf.net/sfu/devconf" target="_blank">http://p.sf.net/sfu/devconf</a><br>_______________________________________________<br>
Ktechlab-devel mailing list<br>
<a href="mailto:Ktechlab-devel@lists.sourceforge.net" target="_blank">Ktechlab-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ktechlab-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/ktechlab-devel</a><br>
<br></blockquote></div><br>
</blockquote></div><br>