[Amforth] Installation of most current version

2019-04-06 Thread Michael Picco
Hello, I am trying to get back to amForth after a hiatus (last used 5.2). Is there a set of compiling instructions suited for version 6.7 using Atmel Studio 7? Thank you in advance! Michael ___ Amforth-devel mailing list for http://amforth.sf.n

Re: [Amforth] Installation of most current version

2019-04-06 Thread Michael Picco
rth-devel wrote: Hello Michael, amForth has in the download the complete hex files! Cheers, Jan Op 6 apr. 2019, om 20:20 heeft Michael Picco het volgende geschreven: Hello, I am trying to get back to amForth after a hiatus (last used 5.2). Is there a set of compiling instructions suited

[Amforth] Problem loading hex file into 328p

2019-04-19 Thread Michael Picco
Hello, I've bought some extra atmega328P-U parts and attempted to install the Amforth files using the AVR Pocket Programmer from Sparkfun. The first couple of attempts ended in failure and I got nothing back from the Arduino Uno when hooking it up using Putty on my Linux box.  I was able to u

Re: [Amforth] Problem loading hex file into 328p

2019-04-20 Thread Michael Picco
: avrdude -p m328p -c avrispv2 -P /dev/tty.usbmodem00230362 -U efuse:w:0xFF:m -U hfuse:w:0xD9:m -U lfuse:w:0xFF:m -U flash:w:amforth.hex:i -U eeprom:w:amforth.eep.hex:i And it works great, no problems at all. Cheers, Jan Op 20 apr. 2019, om 00:12 heeft Michael Picco het volgende geschreven

Re: [Amforth] Problem loading hex file into 328p

2019-04-20 Thread Michael Picco
. Cheers, Jan Op 20 apr. 2019, om 00:12 heeft Michael Picco het volgende geschreven: Hello, I've bought some extra atmega328P-U parts and attempted to install the Amforth files using the AVR Pocket Programmer from Sparkfun. The first couple of attempts ended in failure and I got not

[Amforth] Newbie with a mega2560

2021-05-17 Thread Michael Picco
Hello, I am attempting to use the mega2560 as a nicely featured development platform for AmForth-6.9.  The machine I'm using is a Win10 box, with Microchip Studio version 7 installed. In the zip file, under appl/atmega2561, I notice atmega256.eep.hex and atmega256.hex.  The eep.hex file does

Re: [Amforth] Newbie with a mega2560

2021-05-20 Thread Michael Picco
allation_teraTerm Unless I'm mistaken, you need an MKII programmer, because you can only inject a .HEX file through this device. This operation overwrites the original bootloader. BR Le mar. 18 mai 2021 à 06:08, Michael Picco a écrit : Hello, I am attempting to use the mega2560 as a ni

Re: [Amforth] Newbie with a mega2560

2021-05-20 Thread Michael Picco
device.asm (for the 2560) device.inc (for the 2560) dict_appl.inc dict_appl_core.inc LICENSE.txt m2560def.inc make.bat readme.txt uno.asm Hope this helps! Kind regards, Michael K6MLE On 5/20/2021 11:56 AM, Michael Picco wrote: Hello All! I have finally had success! It turns out that the .eep and

Re: [Amforth] Newbie with a mega2560

2021-05-20 Thread Michael Picco
rt of a hardware person's approach to 'Hello World!'  :) Kind regards, Michael K6MLE On 5/20/2021 12:41 PM, Michael Picco wrote: I should add the following changes to Craig Lindley's write-up: Step 3: Under Win10, the correct file location for avrasm2.exe will be: c:\Progr

Re: [Amforth] Newbie with a mega2560

2021-05-22 Thread Michael Picco
are programs in the tools directory - amforth-shell.py being the one I use. Best wishes, Tristan On 2021-05-21 05:25, Michael Picco wrote: Hello, As mentioned earlier, it's now working. I do not see the word 'marker' defined.  Should it have been part of the basic system, or do I ne

Re: [Amforth] Newbie with a mega2560

2021-05-23 Thread Michael Picco
mehow.  Is there a setting required prior to flashing that I'm failing to set properly? Thanks in advance! On 5/22/2021 9:51 PM, George Herzog wrote: There are AmForth error codes. Read up on them. On Sun, May 23, 2021, 12:42 Michael Picco wrote: Hello! I seem to have stumbled across a

Re: [Amforth] Newbie with a mega2560

2021-05-24 Thread Michael Picco
Hello Martin, Thank you for responding! In my work directory, which is aptly named 'amforth-6.9', I don't see a copy of the template.asm file with "amforth-low.asm" mentioned.  The amforth-low.asm file is referenced in the avr8 subdirectory.  Is there something I am missing? Kind regards, Mic

Re: [Amforth] Newbie with a mega2560

2021-06-16 Thread Michael Picco
Hello! I finally have figured out how to efficiently interact with Amforth on my mega2560 and have installed much of the I2C stuff on it. Question: Has anyone worked out how to talk to the BME280 sensor using Amforth?  Wading through the spec sheet tells me it's going to be a challenge.  It

Re: [Amforth] Newbie with a mega2560

2021-06-18 Thread Michael Picco
  I bought a few of them (called Launchpads) and played with one for a while, but wanted to more than it was capable of at the time. So many parts ... so little time ... !!  :) Kind regards, Michael k6MLE On 6/17/2021 2:38 AM, Erich Wälde wrote: Hello Michael, Michael Picco writes: Hello! I

[Amforth] Adding 1-wire, or other abilities to amForth

2013-06-12 Thread Michael Picco
Back in May of 2011, Neal Crook posted what has been a very helpful guide to building an amForth image for the Arduino using AVR Studio. Fast-forward to 2013 and I have used that guide to successfully create an image of amForth 5.1 on what is now called Atmel Studio 6. What I seem to be having tr

[Amforth] What files are put in which locations to get 1-wire running on an ATmega2560 platform?

2013-08-15 Thread Michael Picco
I am using the avrispMK2 and Atmel Studio 5.0. I don't find an ASM file specifically for the 2560 and wonder if the 2561 file is the one I should being using. The other question I have is the where in the 'project' I should include the 1wire file from the driver directory? Any guidance is apprec

Re: [Amforth] What files are put in which locations to get 1-wire running on an ATmega2560 platform?

2013-08-15 Thread Michael Picco
atmega2560 project? Thanks again! Michael On 8/15/2013 12:53 PM, Erich Waelde wrote: > Hello Michael, > > On 08/15/2013 09:24 PM, Michael Picco wrote: >> I am using the avrispMK2 and Atmel Studio 5.0. >> >> ... The other >> question I have is the where in t

Re: [Amforth] What files are put in which locations to get 1-wire running on an ATmega2560 platform?

2013-08-16 Thread Michael Picco
Hello Erich, Thank you! This is very helpful. Will give it a try over the weekend and see how things play out. Regards, Michael On 8/16/2013 10:39 AM, Erich Waelde wrote: > Hello Michael, > > On 08/16/2013 01:01 AM, Michael Picco wrote: >> Hello Erich, >> >> Than

Re: [Amforth] What files are put in which locations to get 1-wire running on an ATmega2560 platform?

2013-08-16 Thread Michael Picco
Forgot to mention ... I am only using the 2560 and an Uno ... no Butterfly in use at all. On 8/16/2013 10:39 AM, Erich Waelde wrote: > Hello Michael, > > On 08/16/2013 01:01 AM, Michael Picco wrote: >> Hello Erich, >> >> Thank you for the reply. Can I safely assu

[Amforth] Warnings using Atmel Studio 6.1

2013-10-09 Thread Michael Picco
Hello, I keep getting the following warning when compiling amforth for an Arduino Uno: "Use of undefined or forward referenced symbol 'XT_NOOP' in .equ/.set" The warning points to line 28 in the file "usart_common.asm. I've gone through the compilation process, double-checking my work several ti

Re: [Amforth] Warnings using Atmel Studio 6.1

2013-10-10 Thread Michael Picco
Programmed the resulting hex/eep files into the Uno and version 5.1 comes up just fine. Still not sure why the warning came up, but amForth appears to be working as expected. Michael On 10/9/2013 3:01 PM, Michael Picco wrote: > Hello, > > I keep getting the following warning when

[Amforth] Where to include a file in Atmel Studio?

2013-10-10 Thread Michael Picco
Now that I have a repeatable process worked out that will yield a programmed part, I'd like to give the part more functionality. For starters, I'd like to add 1-wire capability to the Uno. It appears that I need to modify the 1wire.asm file prior to including it. This seems to include the follo

Re: [Amforth] Where to include a file in Atmel Studio?

2013-10-10 Thread Michael Picco
Hi Matthias, Thank you for both replies. I'll take another look at the cookbook reference. My final question still remains: at what point in my project template file does 1wire.asm get included? Thanks again! Michael On 10/10/2013 10:57 AM, Matthias Trute wrote: > Hi Michael, > > > Now th

Re: [Amforth] Where to include a file in Atmel Studio?

2013-10-10 Thread Michael Picco
Perhaps I've figured it out! I inserted the two equates into the project master file and followed that with the include for 1wire.asm. Now the new words 1w.reset and 1w.slot are appearing on my Uno! Now for some 1-wire development! Thanks again! Michael On 10/10/2013 11:00 AM, Mi

[Amforth] Marker?

2013-10-10 Thread Michael Picco
I noticed that the documentation regarding "Un-Doing Definitions" is in error. The two forth source files referred to have different paths: The current paths appear to be: lib/ans94/core/postpone.frt and lib/ans94/core-ext/marker.frt Having said that, when trying to compile 'marker.frt', it te

Re: [Amforth] Marker?

2013-10-10 Thread Michael Picco
Thanks Erich! That wasn't quite clear in the write-up. Having made that change, it's now working. Regards, Michael On 10/10/2013 1:02 PM, Erich Waelde wrote: > Hello, > > On 10/10/2013 09:48 PM, Michael Picco wrote: > > I noticed that the documentation regarding

Re: [Amforth] Build Issues

2013-10-17 Thread Michael Picco
Hi Craig, Just catching up after a few days away from the computer ... I trust you've been able to get 5.1 working on your Uno? The link you posted (by Neal Crook), is well-done ... it got me started and finally working, but it's out of date and some of the items have changed. At home, I have ma

[Amforth] Getting I2C to work on Uno

2013-10-24 Thread Michael Picco
Other than inserting the line ".set WANT_TWI = 1" into the main project file, is there something else that needs to be done to get the I2C capability? I insert that line, compile and flash the Uno, but when I look for the declarations of TWBR, etc., I don't find them. Perhaps there's a specific l

Re: [Amforth] Getting I2C to work on Uno

2013-10-24 Thread Michael Picco
Hi Matthias, Looking at the core/devices/atmega328p directory (for the Uno) I see three 'device.*' files and the atmega328p.frt file, which all have the notation "generated automatically, do not edit". In each of those I note references to the TW* declarations desired for my Uno. If I shouldn'

Re: [Amforth] Getting I2C to work on Uno

2013-10-24 Thread Michael Picco
On 10/24/2013 11:12 AM, Matthias Trute wrote: > Michael, > > > Looking at the core/devices/atmega328p directory (for the Uno) I > > see three 'device.*' files and the atmega328p.frt file, which all > > have the notation "generated automatically, do not edit". In each > > of those I note reference

Re: [Amforth] Getting I2C to work on Uno

2013-10-25 Thread Michael Picco
Thank you, Matthias. I think this will be quite helpful! Regards, Michael On 10/25/2013 11:11 AM, Matthias Trute wrote: > Hi Michael, > > >> These are the *definitions* of the constants for later use. The > >> WANT_TWI option includes the file device.inc at compile time and > > Where, exactly

Re: [Amforth]

2013-11-22 Thread Michael Picco
Having been through this exercise with I2C, let me confirm what Matthias has stated. The address sent to the device contains a 1 for WRITE; 0 for READ in the least significant bit position. Regards, Michael K6MLE On 11/21/2013 10:49 PM, Matthias Trute wrote: > Hi Craig, > > > In the function

Re: [Amforth] GPL and AmForth

2014-02-19 Thread Michael Picco
aster, as there are people here that are far more adept with it than I), which is what I hope this forum will return to. Kind regards to all. Michael Picco On 2/19/2014 3:30 AM, Paulo Ferreira wrote: > Not reading "Legal mumbo jumbo" and not having a bit of good sense is the &g

[Amforth] VERSION 5.2

2014-02-25 Thread Michael Picco
Thanks to Craig Lindley's write-up, I've now gotten 5.2 working on a Uno without the hair-pulling of previous versions. That said, I attempted to install MARKER, but was told 'set-current' was missing ... how does one get that installed? Thanks, Michael K6MLE --

Re: [Amforth] VERSION 5.2

2014-02-25 Thread Michael Picco
On 2/25/2014 11:03 AM, Erich Waelde wrote: > .include "dict_wl.inc" Thank you Erich. I've made the change and sent the files to a computer at home, where I'll give them a flash-and-try tonight. Regards, Michael K6MLE