Re: [Flashforth-devel] trying recent FF 5.0 on PIC24FV16KM202
Brought to you by:
oh2aun
From: Peter J. <pe...@me...> - 2015-09-03 12:32:55
|
Mike, I am extra pleased this evening... By adding SOSCSRC_DIG to the __FOSCSEL setting, I now get control of RA4 and RB4 as digital outputs. Of course this is completely unsurprising but it is something that I haven't been able do for the past year from within FF. I had been able to do so from within a C program on the very same chips. There has to be something dodgy with the XC16-supplied macro (or the assembler handling of it) for setting the config words on the K-series chips. Cheers, Peter J. On 03/09/15 08:57, Peter Jacobs wrote: > Very nice. You've made my day. > I've now had it running on PIC24FV32KA302 and PIC24FV16KM202, with the > bonus that the PLL is running. > > ok<#,ram> > ok<#,ram> > warm S FlashForth PIC24 01.09.2015 > > $0742 constant osccon ok<#,ram> > bin ok<%,ram> > osccon @ u. 1000100110000 ok<%,ram> > decimal ok<#,ram> > Fcy u. 16000 ok<#,ram> > > I see your comment in the pic24fk_config.inc file that the normal config > macros did not work. > That may have been my problem with the PLL for a long time now. > For the first time on these chips, I can see the PLL lock bit set while > FF is running. > > Cheers, > Peter J. > > > On 02/09/15 22:13, Mikael Nordman wrote: >> Actually the files are not missing, and should not be needed. >> >> It is only the MPLABX project that is referring to those obsolete >> files. >> >> I was very happy to find a setup the only needs one config file for all >> the K chips. >> >> There was evidence of some incompatible NVMCON settings for some chips. >> It turned out to be a fault in the old version of the datasheet. >> >> I need to commit correct project files. >> >> BR Mikael >> >> On 02.09.2015 14:43, Peter Jacobs wrote: >>> Almost, yes. The two new config files are missing from your commit, >>> I >>> think. >>> >>> Error: Project "FF" refers to file "p24fka_config.inc" which does not >>> exist in the disk. The project failed to load. >>> Error: Project "FF" refers to file "p24fkm_config.inc" which does not >>> exist in the disk. The project failed to load. >>> >>> Regards, >>> Peter J. >>> >>> >> ------------------------------------------------------------------------------ >> Monitor Your Dynamic Infrastructure at Any Scale With Datadog! >> Get real-time metrics from all of your servers, apps and tools >> in one place. >> SourceForge users - Click here to start your Free Trial of Datadog now! >> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 >> _______________________________________________ >> Flashforth-devel mailing list >> Fla...@li... >> https://lists.sourceforge.net/lists/listinfo/flashforth-devel > > ------------------------------------------------------------------------------ > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > Get real-time metrics from all of your servers, apps and tools > in one place. > SourceForge users - Click here to start your Free Trial of Datadog now! > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel |