From: <sg...@gm...> - 2009-12-27 16:31:15
|
Hallo alle zusammen! Ich habe ein Problem beim simulieren und verwenden von amforth. Ich benutze Windows und das AVRStudio. Ich hab das Userguide gelesen und das Kompilieren der Beispiele funktioniert soweit fehlerfrei aber sobald ich auf Simulieren klicke, hängt sich das AVRStudio auf. Ich habe die Include-Pfade bei den Projectsettings angegeben und den AVRSimulator1 verwendet. Kopiere ich aber den inhalt von amforth.asm in meine main.asm, dann kann ich eine weile simulieren, bis ich plötzlich wieder beim Resetvector bin, also ein Reset ausgelöst hat o_O Ich habe auch schon andere, komplette Projekte ausprobiert, jedoch lande ich immer nach ca 1800 CPU-Zyklen (lt. Simulator) beim Resetvector. Auf der Hardware bekomme ich leider auch kein Promt :( Hatte schon jemand solch ein Problem, oder kann jemand ein mit avr-studio funktionierendes amforth-Projekt online stellen? Danke! Sgix |
From: Matthias T. <mt...@we...> - 2009-12-27 18:32:15
|
sg...@gm... schrieb: > Hallo alle zusammen! > > Ich habe ein Problem beim simulieren und verwenden von amforth. > I've got terrible problem with simulating as well. Your problems sound very similiar to me. But once I got a working hardware with an command prompt, I never again simulated amforth. It's an awkward tool... > Auf der Hardware bekomme ich leider auch kein Promt :( > Which hardware: which controller (quartz?), which serial terminal type (e.g. max232 or ftdi like usb chips etc). Nothing else matters ;=) Matthias |
From: <sg...@gm...> - 2009-12-27 21:15:19
|
Hi! I was going to rum amforth am a atmega128 with 16MHz and the terminal on COM0, because i already have a working and well tested hardware with this µC. I'm using AVR-Studio 4.13 on Windows XP and Win7. I am going to show the advantages of "forth" to my classmates in a presentation, it would be nice to show them a live-working amforth system on this platform :) so i doesn't want it to simulate it in the first place. Does anyone have a compiled hex-file for this µC? Corrently i'm going to build a testboard with a atmega32 to run the pollin-example, but its not finished yet... Sgix Matthias Trute wrote: > sg...@gm... schrieb: > >> Hallo alle zusammen! >> >> Ich habe ein Problem beim simulieren und verwenden von amforth. >> >> > I've got terrible problem with simulating as well. Your > problems sound very similiar to me. But once I got a > working hardware with an command prompt, I never > again simulated amforth. It's an awkward tool... > > >> Auf der Hardware bekomme ich leider auch kein Promt :( >> >> > Which hardware: which controller (quartz?), which serial > terminal type (e.g. max232 or ftdi like usb chips etc). Nothing > else matters ;=) > > Matthias > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > > |
From: Matthias T. <mt...@we...> - 2009-12-28 19:34:50
|
sg...@gm... schrieb: > Hi! > I was going to rum amforth am a atmega128 with 16MHz and the terminal on > COM0 <nitpick> I know of a /dev/ttyS0 and a com1, but never saw a com0. </nitpick> The atmega128 should work without real trouble. Since I've never got one myself, I cannot provide a hex file. Sorry. > I am going to show the advantages of "forth" to my classmates in a > presentation, it would be nice to show them a live-working amforth > system on this platform :) so i doesn't want it to simulate it in the > first place. > Within the simulator I never got a command prompt .... Not even with a JTAG debugger on real hardware. Matthias |
From: <sg...@gm...> - 2009-12-28 20:13:58
|
Sorry, i mean the terminal should communicate on UART0 of the µC. The atmega128 does have 2 UARTs. I started simulating and debugging, because i doesn't get a Promt on the real hardware after programming :( I'm still trying to get the system running. It's good to know that amforth is working on a atmega128. Thx for helping. Sgix Matthias Trute wrote: > sg...@gm... schrieb: > >> Hi! >> I was going to rum amforth am a atmega128 with 16MHz and the terminal on >> COM0 >> > <nitpick> > I know of a /dev/ttyS0 and a com1, but never saw a com0. > </nitpick> > > The atmega128 should work without real trouble. Since I've never > got one myself, I cannot provide a hex file. Sorry. > > >> I am going to show the advantages of "forth" to my classmates in a >> presentation, it would be nice to show them a live-working amforth >> system on this platform :) so i doesn't want it to simulate it in the >> first place. >> >> > Within the simulator I never got a command prompt .... Not even > with a JTAG debugger on real hardware. > > Matthias > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > > |