It chokes on mclr_Off as an "undefined symbol".
When I replaced that with "mclr_off", it compiles and EPICWin appears to set the config fuse settings as defined in the file.
It chokes on mclr_Off as an "undefined symbol".
When I replaced that with "mclr_off", it compiles and EPICWin appears to set the config fuse settings as defined in the file.
It looks like the PBC folks DO have an option for auto handling fuse settings. Not directly like in PBP, but with a nice workaround.pretty bad that PBC don't allow to set the config fuses in the code.. that would be so much convenient. Yet another real limitation of PBC.
dhouston, thanks for helping to make this work. It would still be a mystery without your efforts.![]()
The hard part for them now will be to find the proper format for the device statement.
Here are few to get them going:
12F675
device pic12F675, intrc_osc_noclkout, wdt_on, mclr_on, protect_off
16F628
device pic16F628, xt_osc, wdt_on, pwrt_on, mclr_on, lvp_off, protect_off
16F84A
device pic16F84A, xt_osc, wdt_on, protect_off
16F877
device pic16F877, xt_osc, wdt_on, pwrt_on, lvp_off, protect_off
Now, if only I used PBC I would be all set ...
Paul Borgmeier
Salt Lake City, Utah
USA
This notation also seems to work...Originally Posted by paul borgmeier
It also works with upper case or even mixed case.Code:asm device pic12f629, intrc_osc_noclkout device pic12f629, wdt_off device pic12f629, pwrt_on device pic12f629, mclr_off device pic12f629, bod_on device pic12f629, protect_off device pic12f629, cpd_off endasm
At first, I thought your mclr_0ff failed because it was mixed case. Now, I think you typed a zero (0) instead of the letter O.
While I haven't tested it, I expect this notation will also work with PBP.
Bookmarks