Re: [Flashforth-devel] ...transition from PIC18 FlashForth to dsPIC33E, can I buy a clue?
Brought to you by:
oh2aun
|
From: craig b. <dab...@ya...> - 2015-03-25 12:58:12
|
There is mud in Joyville... The medieval solution seems to have glossed over the problem sufficiently for now.
Resolution:
commented out all logical config setting lines
after examining the Microchip p33ep128mc202.inc file to check syntax, added these lines to the p33e_config.inc:
;
; BRUTE-FORCE CONFIG-BITS in MPLAB v8.92
config __FICD, 0xFFCD ;157F0 =
config __FPOR, 0xFFFF ;157F2 =
config __FWDT, 0xFFFF ;157F4 =
config __FOSC, 0xFFFF ;157F6 =
config __FOSCSEL, 0xFFF9 ;157F8 = FFF9
config __FGS, 0xFFFF ;157FA =
;
did a Make All.
The config bit clearing that was occurring went away except for the FGS (0x157FA) which stubornly remains set at 0xFFCF... Fortunately that doesn't seem to bother anything I can see yet, the chip immediately comes up and runs.
Many Thanks again for the assist. Hopefully these chips will start to make more sense to me as I work with them more.
craig
|