Hallo, kan iemand me helpen aan een werkende config voor de pic18f4520?
Ik weet dat er het programma fuse configurator is, maar aangezien ik mijn hobby zonder de extra 200 a 300 euro voor proton al duur genoeg vind (ben nog maar 15 en heb niet zo veel te besteden dus), heb ik een illegale versie van proton die ik dus niet naar de laatste beta versie kan krijgen om de fuseconfigurator te kunnen gebruiken. Daarom mijn vraag:
Kan iemand voor mij uitleggen waarom dit niet werkt:
Device 18F4520
Config_Start
PWRT = On ; PWRT enabled
WDT = OFF ; HW Disabled - SW Controlled
WDTPS = 1 ; 1:1
MCLRE = OFF ; RE3 input pin enabled; MCLR disabled
STVREN = On ; Stack full/underflow will cause Reset
LVP = OFF ; Single-Supply ICSP disabled
XINST = OFF ; Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
Debug = OFF ; Background debugger disabled, RB6 and RB7 configured as general purpose I/O pins
CP0 = OFF ; Block 0 (000800-001FFFh) not code-protected
CP1 = OFF ; Block 1 (002000-003FFFh) not code-protected
CP2 = OFF ; Block 2 (004000-005FFFh) not code-protected
CP3 = OFF ; Block 3 (006000-007FFFh) not code-protected
CPB = OFF ; Boot block (000000-0007FFh) not code-protected
CPD = OFF ; Data EEPROM not code-protected
WRT0 = OFF ; Block 0 (000800-001FFFh) not write-protected
WRT1 = OFF ; Block 1 (002000-003FFFh) not write-protected
WRT2 = OFF ; Block 2 (004000-005FFFh) not write-protected
WRT3 = OFF ; Block 3 (006000-007FFFh) not write-protected
WRTB = OFF ; Boot block (000000-0007FFh) not write-protected
WRTC = OFF ; Configuration registers (300000-3000FFh) not write-protected
WRTD = OFF ; Data EEPROM not write-protected
EBTR0 = OFF ; Block 0 (000800-001FFFh) not protected from table reads executed in other blocks
EBTR1 = OFF ; Block 1 (002000-003FFFh) not protected from table reads executed in other blocks
EBTR2 = OFF ; Block 2 (004000-005FFFh) not protected from table reads executed in other blocks
EBTR3 = OFF ; Block 3 (006000-007FFFh) not protected from table reads executed in other blocks
EBTRB = OFF ; Boot block (000000-0007FFh) not protected from table reads executed in other blocks
CONFIG_END
XTAL 20
ALL_DIGITAL = TRUE
Symbol led = PORTD.7
ledje:
High led
DelayMS 500
Low led
DelayMS 500
GoTo ledjeof kan iemand me aan een goede config (mclre off en cristal op 20mhz er aan) helpen?
Alvast bedankt!
Ik heb al een oplossing gevonden, het volgende werkt:
Device 18F4520
CONFIG_START
;Instellingen klok:
OSC = hs
;Instellingen reset functies
MCLRE = off ;Geen reset bijn mclre low
PWRT = On ;Wachten op stabilisatie spanning
;watchdog uitzetten
WDT = OFF
WDTPS = 1
;programmeerfuncties
LVP = OFF ; Single-Supply ICSP disabled
;debug
Debug = OFF
;Beveiligingen
CP0 = OFF ; Block 0 (000800-001FFFh) not code-protected
CP1 = OFF ; Block 1 (002000-003FFFh) not code-protected
CP2 = OFF ; Block 2 (004000-005FFFh) not code-protected
CP3 = OFF ; Block 3 (006000-007FFFh) not code-protected
CPB = OFF ; Boot block (000000-0007FFh) not code-protected
CPD = OFF ; Data EEPROM not code-protected
WRT0 = OFF ; Block 0 (000800-001FFFh) not write-protected
WRT1 = OFF ; Block 1 (002000-003FFFh) not write-protected
WRT2 = OFF ; Block 2 (004000-005FFFh) not write-protected
WRT3 = OFF ; Block 3 (006000-007FFFh) not write-protected
WRTB = OFF ; Boot block (000000-0007FFh) not write-protected
WRTC = OFF ; Configuration registers (300000-3000FFh) not write-protected
WRTD = OFF ; Data EEPROM not write-protected
EBTR0 = OFF ; Block 0 (000800-001FFFh) not protected from table reads executed in other blocks
EBTR1 = OFF ; Block 1 (002000-003FFFh) not protected from table reads executed in other blocks
EBTR2 = OFF ; Block 2 (004000-005FFFh) not protected from table reads executed in other blocks
EBTR3 = OFF ; Block 3 (006000-007FFFh) not protected from table reads executed in other blocks
EBTRB = OFF ; Boot block (000000-0007FFh) not protected from table reads executed in other blocks
CONFIG_END
XTAL = 20marcob
Honourable Member
People tend to overestimate what can be done in one year and to underestimate what can be done in five or ten years
je kunt ook deze plugin gebruiken, is een hele handige tool:
http://depositfiles.com/files/urjh2so1w
Wat betreft de prijs van het pakket, wanneer je deze besteld bij Crownhill zelf, ben je minder dan €150 euro kwijt. Door de koers van de pond t.o.v. de euro is het nu aantrekkelijk.
Henry S.
Moderator
Confucius says chà bù duo. Deze post is niet door ChatGPT gegenereerd. De 2019 CO labvoeding.
Op 4 december 2009 08:58:02 schreef Iemand:
heb ik een illegale versie van proton
Dan een slotje en een waarschuwing.