Configuration bits warning
Posted: Tue Feb 24, 2009 9:05 am
Hi,
I am new to using the dspic and the blockset .. I just tried a very simple LED blinking program in simulink .. I am using PICKit 2 to burn the dspic and the dspic i am using is the dspic30f4011 .. i compiled the block and when i try to burn the hex, the pickit programming window says that the configuration bits are not proper and its defaulting to preset default values .. my code doesn't work .. all the bits of port B are permanently high ..
i tried just blinking pin 2 of port B in a 0.5Hz frequency .. what could be the problem ? kindly help me .. i am not using a external oscillator .. what configuration should i change to use the internal oscillator ? could that be the problem ?? .. and where am i setting whether the port B is a input or a output port ?
I am new to using the dspic and the blockset .. I just tried a very simple LED blinking program in simulink .. I am using PICKit 2 to burn the dspic and the dspic i am using is the dspic30f4011 .. i compiled the block and when i try to burn the hex, the pickit programming window says that the configuration bits are not proper and its defaulting to preset default values .. my code doesn't work .. all the bits of port B are permanently high ..
i tried just blinking pin 2 of port B in a 0.5Hz frequency .. what could be the problem ? kindly help me .. i am not using a external oscillator .. what configuration should i change to use the internal oscillator ? could that be the problem ?? .. and where am i setting whether the port B is a input or a output port ?