On Tue, 31 Aug 2021 06:27:50 +0200
Helge Kruse <helge.kr...@gmx.net> wrote:

> Hello, I am new to amForth.
> 
> amForth is an interactive Forth. The compiler runs on the target and
> writes to the flash memory of the device. This requires to send all
> the source code through the UART interface.
> 
> I want to develop a Forth application for a target that uses the
> ATmeage256 USART for the application data. In that case it would be
> desired to compile the application, create a hex file and use USBasp
> to flash it to the target.
> 
> How can I compile the Forth words, probably with the AVR assembler,
> for a target without a free UART? Is there any idea of a cross
> compiler or generating of assembler source code that could be place
> in a file lilke appltrunkey.asm.
> 
> Are there other ways to approach?
> 
> Best regards,
> Helge
> 
> 
> 
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 
> 

ATmegas have at least two USARTs, I'd use one of them for your extra
interface. The advantages of Forth's interactivity is lost if you can
no longer interact with it via the terminal - you might as well write
in C.

-- 
Regards,

Martin Nicholas.

E-mail: reply-2...@mgn.org.uk (Address will be valid throughout 2021).


_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to