From: D N. <dny...@at...> - 2011-03-28 02:09:08
|
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, ken...@al... 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...@sa...> > wrote: > > >> D Nyberg <dny...@at...> 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 |