One of the shell programs provided with FlashForth, either the Tcl/Tk
GUI shell or the python shell, should upload at the higher serial-port
speeds without error. Both of those shells "understand" FlashForth and
will wait as appropriate.
Peter J.
On 30/06/16 02:38, Bob Edwards wrote:
> Thanks for the hints chaps, I got the 70MIPS version going pretty well.
> It's been soaking a multitask based 'LED flash' test for a couple of days.
>
> I think I'd got the HSPLL oscillator and baud rate settings right. What
> did need changing was the 'MS' delay word. My solution was to set timer1
> to have a prescaler of 8:1 and load the timer with MS_PR_VAL =
> ((FCY/1000)/8-1) instead of ((FCY/1000)-1) to keep within 16 bits.
>
> Mikael, will I have to fix the cpu 'LOAD' word as well which uses
> timer3? I notice 'mov #FCY/3126, W2' in the definition - how is the
> magic number 3126 derived, please?
>
> The serial interface is set at 9600 baud for now. I get the expected
> errors on uploading files from my Windows PC until I slow Teraterm down
> with inter-line and char delays. Then the upload is fault free. I use an
> HC-05 bluetooth module for the serial link - it's fun to see how far
> around the house and garden I can communicate with the dspic.
>
> regards, Bob
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Flashforth-devel mailing list
> Fla...@li...
> https://lists.sourceforge.net/lists/listinfo/flashforth-devel
|