Just had my JuneBug delivered, really excited - I can't wait to get started.
As this is a "PicKit2" clone can someone point me in the direction of some documentation as how to make best use of this kit.
I am a little nervous as the books I have read only deal with the 12F\16F MCU's, I get the feeling that the 18F is a different animal, the notion of assembler doesnt worry me ( I used to code Amiga Demos in my youth) but I would hate to kill off the chip 'cos I havent got the dip switches in the right position (or is this virtually impossible).
Most of the PIC stuff about is 16F series, as there's a LOT more 16F's out there than others - the 18F is relatively recent, and is programmed more in C than assembler.
PIC's are very hardly devices, it's difficult to kill them - I've never managed it yet!
You can run the Tutor (once programmed) by flipping the DIP switchs 1,2 & 3 off. This disconnects the programmer from the Tutor, it's also how you use it as a regular programmer (the ICD connector).
If you want something fancy try Futz's Junebug demo (search these forums). You can program the tutor, then with switchs 1 thru 3 off and 4 & 5 on (RX, TX) you can run the PICkit 2 softwares UART test.
Most of the PIC stuff about is 16F series, as there's a LOT more 16F's out there than others - the 18F is relatively recent, and is programmed more in C than assembler.
PIC's are very hardly devices, it's difficult to kill them - I've never managed it yet!
With first three switches on.
debugger>select tool>none
programmer>select tool>PK2
build program in release mode.
Program PIC
Do programmer>release from reset... pic should run
if that works open the three switches and it should run when power is applied
As 3v0 said, when in Debug mode MPLAB makes a special program that resides in upper memory. Switch to program mode, build and program. Also don't use the DEBUG_ON config statememt (it's automatic with MPLAB in debug mode)