|
From: pito <pi...@vo...> - 2010-08-13 09:22:10
|
Matthias, thanks for the hint! I immediately (as a first step) did the visualization of the flash writes (an blue LED attached via 1k to PB.0 and ground, so when PB.0 is high it lits): PORTB 0 portpin: PB.0 : i_see! PB.0 pin_output PB.0 high (i!) PB.0 low ; ' i_see! is i! I hope the code is correct.. When upload e.g. the _sieve_ you can see how the amforth flashes. Quite surprised - so many flashes to see.. So you do not buffer the whole word to be compiled but do flashes line by line.. P. ----- PŮVODNÍ ZPRÁVA ----- Od: "Matthias Trute" <mt...@we...> Komu: "Everything around amforth" <amf...@li...> Předmět: Re: [Amforth-devel] Serial - CTS - word compilation Datum: 13.8.2010 - 8:00:29 > Hi, > > > > The routine which flashes the flash with a new > > compiled word shall > > > simply at very beginning put the CTS signal to > > LOW and when finished > > > put back to HIGH. > > Its easy to do since i! is a deferred word to > (i!). You may define > your own word which pre and post process anything > you want and call > (i1) inside. > > In addition you can add a plausibility check for > the addresses as well > and increase the robustness at all. > > If you send me your code I may include it as an > example. > > > Matthias > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel |