Re: [Flashforth-devel] Flashforth - simulation in MPLAB 8.66
Brought to you by:
oh2aun
|
From: om1zz <om...@vo...> - 2011-05-08 13:16:02
|
Phil, it seems it works now. The input file looks now: wait 1000 ms 0a 0d wait 1000 ms "100 100" 0a 0d wait 1000 ms " + " 0a 0d wait 1000 ms "." 0a 0d wait 1000 ms 0a 0d and the output: FlashForth V4.71 (C) Mikael Nordman GPL V3 ok <#,ram> ok <#,ram> 100 100 + . 200 ok <#,ram> ok <#,ram> So you have to use 0a 0d sequence for entering the line (not 0d 0a as I did before).. 73, Igor ----- PŮVODNÍ ZPRÁVA ----- Od: "F5iwl" <f5...@ne...> Komu: "om1zz" <om...@vo...> Předmět: Re: [Flashforth-devel] Flashforth - simulation in MPLAB 8.66 Datum: 8.5.2011 - 9:56:25 > Hi Igor, > > What puzzles me is that you don't get the > aknowledge for each entry after > CR/LF > You should see : 100 100 ok <#,ram> > then: + ok <#,ram> > and then the result printed as per the DOT > request. > > It looks like you are only getting an echo from > the simulator of what the > file contains. > I have never used the MPLAB simulator. My question > is do you provide the > simulator with the CPU type you simulate? > > What happens if you create a file with the > following : WARM 0d/0a > Does it resets FlashForth. > > 73 > Phil > > ----- Original Message ----- > From: "om1zz" <om...@vo...> > To: <fla...@li...> > Sent: Saturday, May 07, 2011 4:41 PM > Subject: [Flashforth-devel] Flashforth - > simulation in MPLAB 8.66 > > > > Hi, this is maybe not directly connected to > flashforth but mplab - > I'm trying to run flashforth 4.71 in mplab > simulator and print uart > output to simulator output window (works somehow) > and input some > commands to flashforth.. However, the guys from > mplab provide only > an input from the file (not directly from > keyboard). > The file content looks like this (issued > automaticly after FF > reset): > > wait 1000 ms > 0d 0a > wait 1000 ms > "100 100" 0d 0a > wait 1000 ms > " + " 0d 0a > wait 1000 ms > "." 0d 0a > wait 1000 ms > > I'm getting this as the output: > > FlashForth V4.71 (C) Mikael Nordman GPL V3 > > ok <#,ram> > 100 100 + . > > So I'm not able to get any result showing it > works. Any hint? > Thanks, > Igor > > > -- > VOLNÝ Klub, limitované kolekce značek jako Nike, > Represent, Bench, > Tommy Hilfiger, LG a další se slevami 40 - 80 %. > http://klub.volny.cz > > > ------------------------------------------------------------------------------ > > WhatsUp Gold - Download Free Network Management > Software > The most intuitive, comprehensive, and > cost-effective network > management toolset available today. Delivers > lowest initial > acquisition cost and overall TCO of any competing > solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > > > |