2010-11-02, 10:52:58
Hello,
You could manage the config bits in code or in MPLAB or else but you must
only do the config in one place (or exactly know what you're doing).
How do you configure the 32MHz internal oscillator, see ยง2.6.4 of the device datasheet,
I think you could not do this only with config bits.
I would add the following code in ds30loader.asm
Find attached a screenshot of the config bits.
Could you make a try with theses config bits and the previous piece off code added to "ds30loader.asm".
Hope this helps.
Lotusx
You could manage the config bits in code or in MPLAB or else but you must
only do the config in one place (or exactly know what you're doing).
How do you configure the 32MHz internal oscillator, see ยง2.6.4 of the device datasheet,
I think you could not do this only with config bits.
I would add the following code in ds30loader.asm
Code:
; Set internal oscillator to 8MHz with PLL
movlw b'01110000'
movwf OSCCON
bsf OSCTUNE, PLLEN
Find attached a screenshot of the config bits.
Could you make a try with theses config bits and the previous piece off code added to "ds30loader.asm".
Hope this helps.
Lotusx