littletransistor
New Member
Hey there,
I received a couple of PIC 18F1320, and I'm continuing to do ASM inside because the Pic Kit 2 Demo board is quite limited, so I expanded it by using a full bread board instead and with 8 LEDs each with a current limiting resistor.
However, there's a very strange issue: I'm trying to test all of the ports whether is it working or not, but when I tried to turn on all 7 LEDs or 8 LEDs, the RB5's LED is always off. The RB5's all on when I tried to turn on below 7 LEDs.
And when I import the compiled HEX file to the Pic Kit 2 programmer, it ended up shouting "Warning: No configuration words in Hex file, In MPLAB, use File-Export to save hex with config".
How am I going to 'port' from 16F690 to 18F1320? I've read the documents, but none of them seem to give me ideas. Guidances perhaps?
I'm now familiar with teh 16F690, can do some bank switch and some simple functions. But now, I have to move to 18F1320 because I have these only. I hope their mechanisms are all the same anyway.
I received a couple of PIC 18F1320, and I'm continuing to do ASM inside because the Pic Kit 2 Demo board is quite limited, so I expanded it by using a full bread board instead and with 8 LEDs each with a current limiting resistor.
However, there's a very strange issue: I'm trying to test all of the ports whether is it working or not, but when I tried to turn on all 7 LEDs or 8 LEDs, the RB5's LED is always off. The RB5's all on when I tried to turn on below 7 LEDs.
And when I import the compiled HEX file to the Pic Kit 2 programmer, it ended up shouting "Warning: No configuration words in Hex file, In MPLAB, use File-Export to save hex with config".
How am I going to 'port' from 16F690 to 18F1320? I've read the documents, but none of them seem to give me ideas. Guidances perhaps?
I'm now familiar with teh 16F690, can do some bank switch and some simple functions. But now, I have to move to 18F1320 because I have these only. I hope their mechanisms are all the same anyway.
Last edited: