On Wed, Jun 2, 2021 at 6:37 PM Tristan Williams <h...@tjnw.co.uk> wrote:

> Hi Michael,
>
> I used
>
> FUSE : -U lfuse:w:0xff:m -U hfuse:w:0x99:m -U efuse:w:0xff:m
>
> Best wishes,
> Tristan
>
> That makes sense. It's the same high fuse setting as I suggested but with
the jtag interface activated. I don't use that so I turned it off. Where
did you get the 0xDC setting for that fuse from? It really does seem to be
incorrect for a chip with 4k bootloader. Having just looked back into the
atmega2561 appl directory I just realized there isn't a makefile (or I
suppose, a bat file for windows) with the amforth defauts in it. I was just
getting ready to burn this into old 3D printer mega when I saw Tristan had
already done just that.

Good luck with the project!
Mark



> On 02Jun21 07:14, Placerville.me wrote:
> > Hello Tristan,
> > Thank you for this!  I will give it a try later today.  What fuse
> settings did you use?
> >
> > Kind regards,
> >
> > Michael
> >
> > Sent from my iPhone
> >
> > > On Jun 2, 2021, at 01:18, Tristan Williams <h...@tjnw.co.uk> wrote:
> > >
> > > Hi Michael,
> > >
> > > I hope you got AmForth to build successfully under windows for the
> > > atmega2560, but if not, I have built it for my Arduino MEGA using the
> > > most recent source (r2457).
> > >
> > > https://sourceforge.net/p/amforth/code/HEAD/tree/trunk/
> > >
> > > I have uploaded the resulting hex files to
> > >
> > > https://tjnw.co.uk/amforth-bin/
> > >
> > > I also loaded marker.frt onto the Arduino MEGA and checked that it
> > > does what it should do (see [1]).
> > >
> > > Best wishes,
> > > Tristan
> > >
> > > [1] http://amforth.sourceforge.net/TG/recipes/Forget.html
> > >
> > >> On 24May21 17:57, Michael Picco wrote:
> > >> 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,
> > >> Michael
> > >>
> > >>
> > >>
> > >>
> > >>> On 5/24/2021 10:19 AM, Martin Nicholas via Amforth-devel wrote:
> > >>> The crucial file to include for an ATmega is the confusingly named:
> > >>> "amforth-low.asm" which needs to be un-commented in template.asm.
> > >>>
> > >>> All the code is then in low flash memory apart from the flash burning
> > >>> routine which should be found at NRWW_START_ADDR (0x01f000).
> > >>>
> > >>> Often, with a new device, you need to burn the fuses "make
> write-fuse",
> > >>> before flashing (and burning fuses for a second time) with "make
> > >>> install".
> > >>>
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> Amforth-devel mailing list for http://amforth.sf.net/
> > >> Amforth-devel@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> > >
> > >
> > > _______________________________________________
> > > Amforth-devel mailing list for http://amforth.sf.net/
> > > Amforth-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/amforth-devel
> >
> >
> >
> > _______________________________________________
> > Amforth-devel mailing list for http://amforth.sf.net/
> > Amforth-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/amforth-devel
>
>
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
>

_______________________________________________
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