Velleman K8048 Use with MPLAB IDE/XC8

(MPLAB PM3, PICSTART Plus, PICkit 2, PICkit 3) Topics covered in this conference relate to all programmers manufactured and distributed by Microchip.

Velleman K8048 Use with MPLAB IDE/XC8

Postby dodgecharger4404 » Thu Jul 22, 2021 11:58 pm

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.
dodgecharger4404
 
Posts: 2
Joined: Thu Jul 22, 2021 3:50 pm

Re: Velleman K8048 Use with MPLAB IDE/XC8

Postby Roche » Fri Jul 23, 2021 6:58 pm

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.
Roche
 
Posts: 72
Joined: Fri Jul 11, 2014 12:35 pm
PIC experience: Professional 5+ years with MCHP products

Re: Velleman K8048 Use with MPLAB IDE/XC8

Postby ric » Sun Jul 25, 2021 10:47 am

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.
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: Velleman K8048 Use with MPLAB IDE/XC8

Postby Roche » Sun Jul 25, 2021 8:21 pm

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...
Roche
 
Posts: 72
Joined: Fri Jul 11, 2014 12:35 pm
PIC experience: Professional 5+ years with MCHP products

Re: Velleman K8048 Use with MPLAB IDE/XC8

Postby ric » Sun Jul 25, 2021 9:06 pm

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 :)
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products


Return to Programmers

Who is online

Users browsing this forum: No registered users and 3 guests

cron