From: Erich W. <ew....@na...> - 2009-04-28 17:39:58
|
Hello Ian, Ian Jefferson wrote: > While chasing my serial problem I noticed that marker is not working. > > I'd assumed this was some kind of serial issue but discovered that > marker depends on get-current and set-current. > > The 3.4 butterfly application (hex files) don't include set-current. > > Looking at the source it looks like it needs > > .include "words/set-current.asm" You can do this in dict_appl.inc ... .include "words/set-current.asm" ; for marker .include "words/set-order.asm" ; ./. Then build a new amforth, which can load marker. There may be better solutions ... > I have not tried this yet as I've been struggling with Avra. Avra > 1.0x assembles the project after adding a device in the device > structure in device.c. Avra 1.2.3 fails to assemble with the > following errors. > > Pass 1... > ../../core/words/udslashmod.asm(21) : Warning : Found CR (0x0d) > without LF (0x0a). Please add a LF. > ../../core/words/dnegate.asm(17) : Warning : Found CR (0x0d) without > LF (0x0a). Please add a LF. > Error: Overlapping Code-segments : > Start = 0x001A, End = 0x001A, Length = 0x0001 > Start = 0x001A, End = 0x001B, Length = 0x0002 > Please check your .ORG directives ! > Error: Overlapping Code-segments : > Start = 0x001C, End = 0x001C, Length = 0x0001 > Start = 0x001C, End = 0x001D, Length = 0x0002 > Please check your .ORG directives ! > gmake: *** [bf.hex] Error 1 > > I gather around Avra 1.2.2 there was some overlapping segments > checking added. I'm using avra 1.2.2 Build 94 (11. May 2007) (from avra_1.2.2-1_i386.deb) for my stuff. However, there are some files with version 2 assembler around, e.g. those directly out of Atmels AVRStudio files, which avra cannot handle correctly. This may be another source of problems. > > Should I look back a few revisions of amforth for the butterfly? Always worth a try, but no garantees ;-) I'm mostly working with atmega32 not atmega169 as on the butterfly. Good luck! Erich |