Hello
I'm using a 18f452 with jal 0.9.0 lib.
Here is the config:
--------------------------------------------------------------------------------
--Config 18F452
--------------------------------------------------------------------------------
include 18f452
pragma target clock 10_000_000 -- oscillator frequency
-- configuration settings (fuses)
pragma target OSC HS -- HS crystal or resonator
pragma target WDT disabled -- no watchdog
pragma target DEBUG disabled -- no debugging
pragma target LVP disabled -- no Low Voltage Programming
pragma target PWRTE enabled -- pwr-up timer on: 72ms (p197)
pragma target BROWNOUT disabled -- brown-out reset off (p197)
T0CON= 0b_0000_0111 --TMR0=OFF/ 16bit /
prescaler=1/256 debord 6,7s
INTCON= 0b_1110_1000 --enable interupt: tmr0, RB port
change
ADCON0= 0b_0000_0000 --disable ADC
ADCON1= 0b_0000_0111 --digital I/O
include delay_any_mc
1) When energizing this PIC, is prgm start already at line 0, at the
beginning of the main prgm?
when powering the PIC, some lines of program are skipped I don't
understand .
2) When I switch off the main supply, the prgm restart at the begining
during the shut down of voltage.
brownout is disabled by config.
Thanks a lot
Phil
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/groups/opt_out.