Re: [Flashforth-devel] Floating point library - open issues
Brought to you by:
oh2aun
From: om1zz <om...@vo...> - 2015-06-02 20:21:51
|
Mike, even with Txbuffer=0 the fpow crashes, see the session below. 2.3e 4.3e fpow fs. 3.59277e1 ok<#,ram> : tpw ticks 1000 for 2.3e 4.3e fpow drop drop next ticks swap - . ; ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw OS FlashForth PIC24 31.05.2015 ESC tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw OS FlashForth PIC24 31.05.2015 ESC tpw 170 ok<#,ram> tpw OS FlashForth PIC24 31.05.2015 ESC tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw OS FlashForth PIC24 31.05.2015 ESC tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw OS FlashForth PIC24 31.05.2015 ESC tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw 170 ok<#,ram> tpw OS FlashForth PIC24 31.05.2015 ESC ______________________________________________________________ > Od: "om1zz" <om...@vo...> > Komu: <fla...@li...> > Datum: 02.06.2015 09:37 > Předmět: Re: [Flashforth-devel] Floating point library - open issues > >Yep, you have found it, it seems.. > >Here: > >TXbuffer=0 dstack=96 bigtest passes (20minutes long run now) >TXbuffer=31 dstack=254 bigtest passes (several 8minutes rounds) > >Igor. > >______________________________________________________________ >> Od: Mikael Nordman <mik...@fl...> >> Komu: <fla...@li...> >> Datum: 02.06.2015 08:56 >> Předmět: Re: [Flashforth-devel] Floating point library - open issues >> >>There seems to be an issue with the NSTDIS bit in INTCON1. >>FF PIC24 Interrupt routines rely on that nested interrupts do not >>occur. >>Either there is some latent problem in FF or the float lib keeps >>resetting that bit. >> >>There could also be some other conflict with the usage of the shadow >>registers between FF and the float lib. >> >>If you use unbuffered transmission on TX1 you will experience less >>problems, since there are no >>disturbing interrupts during the float calculations. >> >>I will check details later. >> >> >>On 02.06.2015 00:05, om1zz wrote: >>> Issue 4. >>> >>> Mike, >>> it crashes here with latest trunk's OS, and 24config (except the uart >>> pins def and 115k2) and >>> >>> ; UART buffer sizes >>> ; Valid sizes are 7, 15, 31, 63, 127, 255, 511, 1023, etc. >>> .equ TX1_BUF_SIZE, 31 ; Use 0 for unbuffered TX. >> >> >>------------------------------------------------------------------------------ >>_______________________________________________ >>Flashforth-devel mailing list >>Fla...@li... >>https://lists.sourceforge.net/lists/listinfo/flashforth-devel >> > |