Hi, I soldered in a crystal and a couple of caps and it's working fine
now,  Amforth seems much more sensitive to clock frequency than the
Arduino C programs. 

I've had no trouble with the serial interface running C programs on the
BBB. That sent me on some wild goose chases trying to figure out what
was wrong with Amforth.

Thanks again for solving this one.

Ken

On Sun, 27 Mar 2011 21:08 -0600, "D Nyberg" <dnyberg_...@att.net> wrote:
> I have few resources but the advice I can ask for here, and patience. 
> There's only so much you can lean on others who are not on payroll, so 
> I'd darn better be able to scrape up buckets of patience,  or I'll get 
> frustrated and make no progress! :) This would have been more fun with a 
> digital storage scope, but we make do with what we have.
> 
> You could also test the theory on your hardware, if you can run it under 
> a debugger, by adjusting the uart divider register up and down in 
> increments, to see if a nearby value would work better than what it's 
> using now. That assumes the resonator is stable, but possibly operating 
> at a different freq than expected, ie not varying moment to moment. I 
> don't know if that's their behavior or not though.
> 
> On 3/27/2011 11:07:25 AM, kenmcc...@allmail.net wrote:
>  > My thanks to all who worked on this problem. I have had an almost
>  > identical problem on a low cost arduino clone, the BBB by Modern Device.
>  > It uses a ceramic resonator rather than a crystal, so I expect the
>  > clock frequency to be a little off.
>  > I'll know whether that is the
>  > problem when I solder up one with a crystal instead.
>  >
>  > Good trouble shooting. You displayed more patience than I did.
>  >
>  > Ken
>  >
>  > On Sun, 27 Mar 2011 01:55 +0000, "Marcin Cieslak" <sa...@saper.info>
>  > wrote:
>  > > >> D Nyberg <dnyberg_...@att.net> wrote:
>  > > > entered "1 1 + ." I think the error was because I am using tera 
> term,
>  > > > which sends a whole line at once. Combine that with the imperfect 
> clock
>  > > > setting, and I think the atmel uart saw unprintable characters by 
> byte 6
>  > > > or 7 in a string because of timing problems. Or possibly it's
>  > still set
>  > > > to polled serial (I set that a while ago to reduce variables, when I
>  > was
>  > > > having trouble getting it to run at all); the pc may be overruning
>  > > > characters. Anything I did in 4 or 5 characters worked ok, 
> anything 6
> 
> 
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet
> the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your
> software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Amforth-devel mailing list
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Amforth-devel mailing list
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to