
18f2685 configure chip options
Moderator: Benj
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
18f2685 configure chip options
have a few questions on how to configure this chip up in v5....PORT B I/0 im only using switches here so do i set it to digital?..... extended cpu,what is it and should i turn it off?....... low power timer1 osc, what is it and should i turn that off as well?......boot block size, what is it and what should i set it to?....... all the code protects, boot protects and table write protects should i set those to disable?....... what is internal/external switch over mode and what should i set that to?......... if i enable brown out detect is says set in soren bits does this function still work just by enableing it?........ power up timer im setting off.........background debug and low voltage programming im setting off......... BASICLY WHAT I WANT TO DO IS SET THE 18F2685 UP JUST LIKE THE 16F1938 SINCE IM JUST CONVERTING A PROGRAM FROM THE 16F1938 TO THE 18F2685, below i included a fcf file that blank if anyone wants to look at it to help me out, im gonna run crystal (hs) at 16Mhz.... thanks for looking into this matter..........reason why im converting origninal file over to the new chip is because of expansion and sometimes after i recall from eeprom on the old 16f1938 chip the program sticks after the eeprom recall, if anyone has any ideas on that please help 

- Attachments
-
- config_18f2685.fcf
- (5.5 KiB) Downloaded 221 times
-
- Posts: 323
- Joined: Sat Jan 12, 2008 2:08 am
- Has thanked: 106 times
- Been thanked: 48 times
Re: 18f2685 configure chip options
1 config i/o port b
2 cpu turn off
3 timmer 1 off
4 boot 4k
5 code protect on (not copy everybody), off I can copy the Hex.
6 sw mode disable
7 disable in hardware sboren disable
8 power up timmer disable
9 debug disable
10 write protect off (you can write the pic)
I think work the program
2 cpu turn off
3 timmer 1 off
4 boot 4k
5 code protect on (not copy everybody), off I can copy the Hex.
6 sw mode disable
7 disable in hardware sboren disable
8 power up timmer disable
9 debug disable
10 write protect off (you can write the pic)
I think work the program
- Attachments
-
- config_18f2685.fcf
- program
- (5.5 KiB) Downloaded 216 times