[Amforth-devel] linux/windows
In my little experience: Amforth as published seems to be part linux-nature and part windows-nature: text files and directory paths are linux but we are asked to work in windows avrstudio. Conversion utilities do not give consistent results, and some files need to be edited; workarounds are time consuming for me so far. Avrstudio for linux is only for 32-bit cpu's. So I am hoping for a unified windows version, or linux avrstudio to be extended to handle 16, 8 -bit cpu's - because I bought an Arduino Uno. I am also waiting for GreenArrays to come into production. :) http://www.greenarrays.com/index.html -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
Re: [Amforth-devel] linux/windows
Thanks to various responders. I was aware of the need to set several parameters; and I will study the handling of relative file paths. But does AvrStudio under XP understand file paths with "/" as found in the .inc files? Re assembler.frt: Does it work with full reversal, or does it work with parameters not reversed but opcode at the end? As to text file conversion or viewing: I haven't yet found the right combination tools/editors for handling all the files in one way. AvrStudio32 for Linux, as well as not handling 8-bit chips, seemingly does not do assembler projects. -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
[Amforth-devel] amforth-4.2 - progress, suggestion
FC14, VIRTUALBOX/XP: I'm having a slightly better time with AvrStudio4 - by taking file fragments from the Linux to XP (Gnome Document Viewer). Learned that unix file paths are understood. I am running into inconsistencies in file location - generating "cannot find ..."; quite easy to edit item by item so far, but nice if fixed. Version transition problem? -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
Re: [Amforth-devel] amforth-4.2 - progress, suggestion
On 01/28/2011 01:40 PM, Matthias Trute wrote: > Elliot, > >> I'm having a slightly better time with AvrStudio4 - by taking file >> fragments from the Linux to XP (Gnome Document Viewer). Learned that >> unix file paths are understood. > > In the rare cases in which I use the studio under windows, I've never > had any problems with the slash/backslashes. Same with line endings, > it simply works. I had assumed that / versus \ would be a problem, but learned that it wasn't. The question of line endings, as I suspected might be the case, was mainly one of readablilty. > >> I am running into inconsistencies in file location - generating "cannot >> find ..."; quite easy to edit item by item so far, but nice if fixed. >> Version transition problem? > > Can you please more specific here? In the makefile (the build.xml > is nothing really different), I use a number of directories. You need > the directory with the def.inc files from Atmel (IIRC they are > included automatically, but) and the two directories .../core (for > e.g. the words/whatever.asm files) and.../core/device for the > controller specific definitions. E.g., When amforth.asm was loaded, .include "dict_appl_core.inc" produced an error. I found the file in appl/template/. Granted, I hadn't made up dict_appl.inc yet; perhaps that was the problem - sorry for being a bit sloppy. But then there's .include "devices/atmega168.asm"; this file seems actually to be devices/atmega168/device.asm. Anyway, I'll make up dict_appl.inc, clean up, and see what happens. Thx, E. C. > > Matthias > -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
Re: [Amforth-devel] amforth-4.2 - progress, suggestion
> Can you please more specific here? In the makefile (the build.xml > is nothing really different), I use a number of directories. You need > the directory with the def.inc files from Atmel (IIRC they are > included automatically, but) and the two directories .../core (for > e.g. the words/whatever.asm files) and.../core/device for the > controller specific definitions. Sorry, I meant core/devices/atmega.../... > > Matthias > -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
[Amforth-devel] AvrS/amforth error
C:\amf\core\devices/atmega328/device.asm(6): error: Cannot find include file: m328def.inc Searched the package - no result. My experimental replacement line: .include "devices/atmega328/device.inc" Then a lot of msg's like this: C:\amf\core\devices/atmega328/device.inc(6): error: Illegal use of undefined or forward referenced symbol 'WANT_AD_CONVERTER' in conditional. The closest to the 328 in the AvrS debugger choice menu is the 328P. My reading suggests that this shouldn't make any difference here, but ... -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
Re: [Amforth-devel] AvrS/amforth error
On 01/29/2011 06:27 AM, Erich Waelde wrote: > Hi Elliott, [snip] > After reading several of your mails, it seems to me that you are not > properly setting up an amforth project ... > > > If you download amforth from the svn repo > $ svn co https://amforth.svn.sourceforge.net/svnroot/amforth [snip] > > Hope this helps, > Erich > Thanks; I'm hoping to introduce my friends at http://hacklab.to/ to possibilities beyond standard Arduino software. -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
[Amforth-devel] details
I might be using avra assembler instead of avrstudio4 if avra had an atmega328* target. I'm wondering if I can pretend my 328 is a 328p. Thx, E. -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
Re: [Amforth-devel] AvrS/amforth error
On 01/29/2011 06:04 PM, Erich Waelde wrote: > On 01/29/2011 05:23 PM, Elliott Chapin wrote: >> >> Thanks; I'm hoping to introduce my friends at http://hacklab.to/ to >> possibilities beyond standard Arduino software. >> > Nice! Good luck! > > Erich > I think I'll price other Arduino boards locally, see which can be targets for avra. I have found that trying to have 328 pretend it's 328p won't work properly. -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
[Amforth-devel] makefile correction?
I am now looking at using avra under linux. Avra doesn't compile for me, so I am trying the static version. As recommended, I have downloaded amforth by svn, ... Accordingly, it appears that the makefile lines DIR_ATMEL=../../Atmel and AVRA=avra -I $(DIR_ATMEL)/Appnotes2 need to be changed. I think the first should end "core", and the other should end "devices"; and thus that the early MCU line should read MCU=devices//device.inc. Good guesses? -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
Re: [Amforth-devel] makefile correction?
On 01/31/2011 04:09 PM, Erich Waelde wrote: > Hi Elliott, > > On 01/31/2011 08:53 PM, echapin wrote: >> ... but can't I avoid Window$ totally? > > As has been said before: > You are free to use "avra" as the assembler, but you need to build > from sources and you maybe need to hack on include files. No WindoMyw$ > involved here. > > HOWEVER, you are forced to extract a set of include files from AvrStudio, > which is a windows software, yes. After extracting the files you can use > them with avra. > > If extracting files from AvrStudio does not qualify as "avoiding Window$", > then no, you can't get around Window$. The extraction might be possible > with software such as cabextract or 7zip thus avoiding wine. I do have AvrStudio under VirtualBox/XP (it wouldn't install under Wine) I'll look for those include files. BTW, somebody at HackLab Toronto has done one for the 328 (modified from 328p). But somebody else there said that the Uno actually runs the 328p. Another thing is that if I revert to Windows, how will tty references be handled? > > You are, of course, free to write your own include files after reading > the data sheet, but that's a waste of time imho. You mileage may vary. > > > Cheers, > Erich > > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > ___ > Amforth-devel mailing list > Amforth-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amforth-devel > -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
[Amforth-devel] compiling avra
For the time being I am planning to use the static version, but I have been asked what happened when I failed to compile avra from source: Makefile.am: required file `./NEWS' not found Makefile.am: required file `./ChangeLog' not found As a late friend might have said: It bagles the mind. Why might such files be needed? -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
[Amforth-devel] MCU in template.asm
The makefile says that the MCU is also to be specified in template.asm, but there appears to be no example line. I am currently working with the trunk from svn - wondering how many errors might disappear. For reasons already mentioned on this or the avra list I am working entirely in Linux. At least I apparently have avra functioning. Comments, SVP Thx, E. -- Elliott Chapin http://clients.teksavvy.com/~echapin -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
Re: [Amforth] HOWTO: amforth 4.4 + AVR Studio 5 + Arduino
On 05/31/2011 05:56 PM, Neal Crook wrote: > > How to build amforth-4.4 images for an arduino using AVR Studio 5.0 > > 12. locate the file appl/arduino/duemilanove.asm (or the correct name for your > target arduino) and copy it to the project folder; rename it to Thanks, Neal! Nice if there were one for the Uno. ;( -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
Re: [Amforth] HOWTO: amforth 4.4 + AVR Studio 5 + Arduino
On 06/05/2011 01:45 PM, Erich Waelde wrote: > >> Thanks, Neal! Nice if there were one for the Uno. ;( >> > The only difference in handling between the duemilanove > and the uno is the name of the serial device, on Linux > at least: > > /dev/ttyUSB (duemilanove) > /dev/ttyACM (uno) > > as I have posted to the list before (21.March.2011) > > > Cheers, > Erich Thanks, I'll save this info in case I try from Linux again. My current attempt is directed by Neal's HowTo; perhaps your remark will suggest a similar adjustment. -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel
Re: [Amforth] HOWTO: amforth 4.4 + AVR Studio 5 + Arduino
On 06/05/2011 01:45 PM, Erich Waelde wrote: > >> Thanks, Neal! Nice if there were one for the Uno. ;( >> > The only difference in handling between the duemilanove > and the uno is the name of the serial device, on Linux > at least: > > /dev/ttyUSB (duemilanove) > /dev/ttyACM (uno) > > as I have posted to the list before (21.March.2011) > > > Cheers, > Erich > Second thought: It would seem that that under Windows I can pretend that my Uno is a duemilanove, as the name of the serial device is not mentioned in duemilanove.asm. -- Elliott Chapin http://clients.teksavvy.com/~echapin -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel