Hello Erich,

Am 12.10.2013 12:01, schrieb Erich Waelde:
> Hello Karsten,
>
> On 10/12/2013 10:53 AM, developm...@decotrain.de wrote:
>
> Well, attaching .hex files does not really help, imho.
> If you need to attach code, use the .asm or the .lst file(s).

Done this time.

>
>
> If amForth does not display the ok prompt on the serial
> interface, then check the following:
>
> 1.
> you are aware, that you need to program _2_ files onto the
> controller
>    template.hex
> and
>    template.eep.hex
> without the .eep.hex file, nothing will work. It contains
> the start positions of the dictionary among other things.

ARRGH - that's an DAU problem. :-)
Of course i don't program the EEPROM.

This time the forth send me the start message! :-)

But only one time. :-(
After the next reset nothing works ...?
Even powerdown and powerup - nothing helps.

>
> 2.
> is the frequency of the crystal correct in the temlate.asm?
> Look for the line
>    .equ F_CPU = 8000000

Yes - set to 16000000

>
> 3.
> is the baud rate in template.asm the same as with your
> terminal program?
>    .equ BAUD = 9600

Yes - i use 19200

>
> 4.
> it the terminal program correctly set to
>    8 data bits
>    No parity bit
>    1 stop bit
>    NO hw flow control
>    NO sw flow control
> If any of these are wrong, it won't work.
>
> 5.
> If none of the above get you closer, can you attach an
> LED (or scope) to the tx pin? If it does not blink a little
> just after reset, then your controller does not write anything
> to the pin and the problem is within your software setup.

I checked it with an oscilloscope.
When it's dead i can't see anything.

>
> Be sure to check the users guide on the web page
> http://amforth.sourceforge.net/UG/linux.html

Yes - RTFM. :-)

Now the question is why it only works one time?

>
> Good luck! Keep going!
> Erich
>
>

Thank You for your help!
Karsten
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&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