# PICKit 2 for MPLAB X

Status
Not open for further replies.

#### AtomSoft

##### Well-Known Member
heh good luck! i just installed OpenSuse.on a VM to test the AtomIR out. OpenSuse looks pretty cool...

#### binzer

##### Member
heh good luck! i just installed OpenSuse.on a VM to test the AtomIR out. OpenSuse looks pretty cool...
I have been using it since V9.0, just d/l the 11.4 (32 & 64), running on AMD64x2 3Ghz, 6G ram. I hope I can get this running, would be nice, but if I have to do it in a WinXP vm that's ok too, more worried about getting my JuneBug going again, ordering some parts from Mouser.

Got MPLABX installed with a couple of C compilers, may have to fire up my old XP computer and see if Mplab will 'see' my JuneBug.

Last edited:

#### bryan

##### Member
Did you manage to get the PK2 to work in X, I couldn't as well the Simulator was buggy. Simulator and PK2 It shows as not Production tested so think it will be awhile.

#### AtomSoft

##### Well-Known Member
I debug with pickit 2 on a pic18f448 no problem and program in MPLAB X. im on windows 7 (32 bit) aka x86

Last edited:

#### binzer

##### Member
Did you manage to get the PK2 to work in X, I couldn't as well the Simulator was buggy. Simulator and PK2 It shows as not Production tested so think it will be awhile.
I can't get it to see my Junebug (Pickit2 clone). I am using OpenSuse 11.3 w/ MPLABX 5beta.

Guess it's back to XP for Mplab, bummer, but I did manage to pickup a core2 duo that was getting toss'd out, so all is not lost.

Last edited:

#### aussiepoof

##### New Member
I can confirm the PK2 works fine with MPLAB-X under Mac OS X, for those that use a Mac

#### Diver300

##### Well-Known Member
I've just installed MPLAB-X on a Mac, under OS 10.6.6

It all seemed to install OK but I can't get the assembler to find include files.

To start with, the project import wizard only gave me the option of one of the hard disks as a place for the files, so I moved that.

I pointed the project at the main source file, but most of my project is in included files.

The structure is:-

[main_disk]/mplab/project1/main.s is the main file

It has

Code:
 .include second_file.s
as one of the lines.

The file:-
[main_disk]/mplab/project1/second_file.s
exists, and I can open it from the MPLAB-X environment.

When I build the project, I get an error that says:-

../main.s:3694: Error: can't open second_file.s for reading

where the 3694 is the line number.

Can anyone tell me what I am doing wrong?

#### anibalismo

##### New Member
Hi! hope you did not get this anwser too late... Error: can't open .s or .inc

Frist you need to indicate to the ASM compiler the location

MPLAB 8.*
Go to proyects-> Build Option -> Project -> Directories...
* Once there, Select the "Assembler include Search Path" and then click "new"
* clicl the "..." buton, and select the location of your existing .inc files

MPLABX:
Go to "Project Properties"
* select "Conf:" -> ASM30 -> pic30-as
* select the left box, "Assembler Include Directories"
* Click on create, and then browse...
* Alocate your file... And aplly

Hope this helps... Sorry mi sh1ty english.