Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #38918

Re: Talking to an Embedded Target with Mecrisp

From rickman <gnuarm@gmail.com>
Newsgroups comp.lang.forth
Subject Re: Talking to an Embedded Target with Mecrisp
Date 2015-05-09 18:27 -0400
Organization A noiseless patient Spider
Message-ID <mim1im$7ed$1@dont-email.me> (permalink)
References <milscu$hj2$1@dont-email.me>

Show all headers | View raw


On 5/9/2015 4:59 PM, rickman wrote:
> I have an embedded ARM board running Mecrisp.  Because installing the
> driver on a PC was rather ugly I installed it on a raspberry pi.  I can
> talk to the pi through SSH from a PC.  I run microcom on the pi to talk
> to the embedded board over a USB virtual serial port.  That's all great.
>
> But I can't figure out how to get the files into the compiler.  Normally
> a Forth tool uses a command to load files, but this target has no file
> system.  The command line can be used to load code, but it seems
> definitions must all be on one line.
>
> Ignoring the single line definition issue, neither of the tools I am
> using (Putty on the PC and microcom on the rPi) have a facility to send
> files into the command line.  When I use copy and paste there seem to be
> overrun errors and some of the text is lost.
>
> Mecrisp doesn't have much of a following yet so I am not finding a lot
> on the web on how others have used this tool.  I did manage to find one
> site where someone changed the character sent by CR to a CR rather than
> a LF, but I worked around that problem some time back.  Even then the
> guts of his info was moved to another web site and that one is gone.
>
> I have code to test.  I just wish I could test it.  :(

Shoot.  I have been beating my head on this one all day and I finally 
found it.  On typing some definitions manually on the Mecrisp command 
line I found it does let you spread word definitions over multiple 
lines.  So I dug into the settings on the Putty program and found 
something called "Drag and Drop" settings.  Seems if I drag the file 
over the Putty window it sends the file with a programmable inter-line 
delay.

So I have some basic compilation capability working from a PC through 
the rPi and likely can have it working on the rPi if I use Putty or 
Extra-Putty.

I am going to look at e4thcom next.  That is supposed to run on both the 
rPi and the PC.  I just don't know if it supports SSH which would be 
needed on the PC.  But I suppose I can run it on the rPi and continue 
using Putty on the PC.

-- 

Rick

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Talking to an Embedded Target with Mecrisp rickman <gnuarm@gmail.com> - 2015-05-09 16:59 -0400
  Re: Talking to an Embedded Target with Mecrisp albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-05-09 22:16 +0000
  Re: Talking to an Embedded Target with Mecrisp rickman <gnuarm@gmail.com> - 2015-05-09 18:27 -0400
  Re: Talking to an Embedded Target with Mecrisp "Elizabeth D. Rather" <erather@forth.com> - 2015-05-09 13:31 -1000
    Re: Talking to an Embedded Target with Mecrisp Matthias Koch <matthias.koch@hot.uni-hannover.de> - 2015-05-12 16:26 +0200
      Re: Talking to an Embedded Target with Mecrisp albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-05-12 17:08 +0000
  Re: Talking to an Embedded Target with Mecrisp Bernd Paysan <bernd.paysan@gmx.de> - 2015-05-10 02:06 +0200
    Re: Talking to an Embedded Target with Mecrisp rickman <gnuarm@gmail.com> - 2015-05-09 22:35 -0400

csiph-web