On Sat, Jan 4, 2014 at 5:16 AM, Matthias Trute <mtr...@web.de> wrote:

> Hi Andreas,
>
> > This past weekend I have begun porting amforth to build with avr-as so
> that
> > the whole thing can be built using 100% free software.
>
> Did you convert the files manually or with a tool?
>

Much of it was done manually but I also stepped through the source files
with some regular expressions.


> >
> > There are some things left to do such as doubling addresses because gas
> is
> > byte oriented, not word oriented. I also need to deal with the fact that
> > GNU avr-as is a single pass assembler and can't ".org" backwards. Also
> what
> > could I do about .overlap?
>
> There a a few org's spread around the sources, .overlap is basically
> the same.
>
> Sounds like gnu-as is not suitable, what a pity. Avra is 100%
> FOSS, compatible with the AVR tool and the only thing it needs
> is an active maintainer, that collects all the patches around.
> I've heard with all of them applied, amforth can be built.
>

Hm. I had no idea Avra was so close to being usable for building amforth
which is why I chose the expansive gcc infrastructure. I will start
trawling the web for patches because I think most would prefer Avra's
syntax to the avr-as syntax anyway (unless writing a C compiler, maybe).

If anyone has some links to Avra patches on-hand I would much appreciate
them!

>
> > This will likely not work on the first try so I am interested to know
> what
> > I could do as a recovery process. AVRdude apparently requires a
> functioning
> > bootloader.
>
> No, it doesn't. It just need a programmer. That *can* be a software
> bootloader, but amforth does not cooperate with them well (Enoch will
> tell you about boofa as the one exception)
>

Yep, I figured out that my $30 buspirate (
http://dangerousprototypes.com/docs/Bus_Pirate_AVR_Programming ) works
great as a programmer too.

Thanks,

Andreas



>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
>
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
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