Using HP-488 with MPLAB

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

Post Reply
Thomas Henry
Posts: 6
Joined: Wed Jul 18, 2012 10:14 pm
Contact:

Using HP-488 with MPLAB

Post by Thomas Henry »

Hello all,

After some searching here and elsewhere, I've failed to find an answer to this. I hope it isn't because my question is so stupid!

Anyway, here goes: is it possible to have MPLAB v8.80 recognize the HP-488 in the Select Programmer pull-down menu? I thought it might be fun to learn about MPLAB using my HP-488 board.

Many thanks,

Thomas Henry

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Using HP-488 with MPLAB

Post by DavidA »

Hi,

Im not sure tehre is a way to do this, as I beleive there is no ICSP header on the HP488 board, something i would imagine we will put in, in a later revision of the board. You should be able to create a program in MPLAB, compile to hex then program the HP488 with PPP.

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Using HP-488 with MPLAB

Post by JohnCrow »

Hi Thomas

I have used my HP488 in this way. (Before I discovered flowcode :) )
The hex code generated in MPlab will program into the device using PPP fine
Though I did tend to prefer to use MPASM, to compile the assembler to hex.
1 in 10 people understand binary, the other one doesn't !

Thomas Henry
Posts: 6
Joined: Wed Jul 18, 2012 10:14 pm
Contact:

Re: Using HP-488 with MPLAB

Post by Thomas Henry »

Hi again,

Thanks guys. In MPLAB there is a pulldown menu that shows a variety of programmers that can be selected. What I was hoping for was a way to make the HP-488 show up in the list and have it invoke PPP automatically. In other words, it would be neat to program chips without ever leaving MPLAB. It would be great if MPLAB provided a "hook" which allowed other burners to be installed.

I gather, John, from your comment that in fact you assembled the .hex code in MPLAB, but then exited and invoked PPP on it's own to burn the micro. Is that right?

Thanks again,

Thomas Henry

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Using HP-488 with MPLAB

Post by JohnCrow »

Hi Thomas

Yes, basically thats what I did when I first got the HP488.
Though i used MPASM which is a simpler (and much smaller) program than the full MPLAB that just does assembler.
PPP should program the pic with hex code from any source as long as its a compatable device.

The HP488 is a great versatile board, nice and compact.
1 in 10 people understand binary, the other one doesn't !

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times
Contact:

Re: Using HP-488 with MPLAB

Post by Spanish_dude »

There's a way to execute a command line after compiling the code so the code is automatically sent to the PIC.
Just like Flowcode does it, but it's not that great. If you do it like this, it's executed every time you compile.

Nicolas

Post Reply