Page 1 of 1

Velleman K8048 Use with MPLAB IDE/XC8

PostPosted: Thu Jul 22, 2021 11:58 pm
by dodgecharger4404
My setup: Velleman K8048 programmer; PIC 16F627; MPLAB Ver. 5.40/XC8 on a serial port equipped Dell desktop, Windows 10-64 20H2. Programming in C; Don't want to use assembler; Hobbyist/small projects interest level. My problem is being unable to write the successfully compiled machine code to the PIC on the Velleman board. The Velleman K8048 wasn't listed in the programmer device list. I do have MPASM, but that doesn't take the assembler code generated by XC8.

Much online forum searching seems to indicate some are using a similar setup with success. Can someone give me a pointer or 10. If necessary, a PIC Kit 3/4 or Googlium product will be purchased, but would like to use what I have if possible. Older computer with XP is available if Win10-64 is a non-starter. Since these Velleman boards are still being sold, I'd think buyers thereof are using them successfully.

Re: Velleman K8048 Use with MPLAB IDE/XC8

PostPosted: Fri Jul 23, 2021 6:58 pm
by Roche
If the XC8 generates a *.hex file (I don't know - I use assembler and MPLAB 8.63) then you should be able to use the Velleman software that supports the programmer (PICprog Rev 3.0.0.5) to program your device. The biggest question is possibly about PICprog Rev 3.0.0.5 running on Windows 10.

Re: Velleman K8048 Use with MPLAB IDE/XC8

PostPosted: Sun Jul 25, 2021 10:47 am
by ric
XC8 does output a hex file, there's no need to use a seperate assembler.
No version of MPLAB knows how to drive that programmer, you have to use its dedicated software to burn the hex into the PIC.

I'm curious why you're using such an ancient version of MPLAB. MPLAB 8.92 was the latest and greatest before they ruined everything with the move to MPLABX.

Re: Velleman K8048 Use with MPLAB IDE/XC8

PostPosted: Sun Jul 25, 2021 8:21 pm
by Roche
My typo - I meant 8.92, but 8.63 seems to be burnt in my memory for some reason. Yes - I was suggesting he use the Velleman programming software to program the device with the .hex file xc8 generated...

Re: Velleman K8048 Use with MPLAB IDE/XC8

PostPosted: Sun Jul 25, 2021 9:06 pm
by ric
Roche wrote:My typo - I meant 8.92, but 8.63 seems to be burnt in my memory for some reason.

I was actually commenting on the OP saying he was using MPLAB 5.40 :)