PDA

View Full Version : how to setup MPLAB X 3.20 IDE ?



iw2fvo
- 14th February 2016, 10:14
Good day forum !
I would like to use the MPLAB X 3.20 with my Picbasic Pro and the PicKit_3 programmer.
Is there any tutorial on this matter?
Any help is very much appreciated.
Thanks in advance for the assistance.
Regards,
Ambro

iw2fvo
- 14th February 2016, 20:47
I read that the MPLABX versions greather than 3.0 have a problem with PBP and so I did download the 2.35 version now.
I am now able to open .pbp files but I do have the following message:
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'D:/My_PIC/prj_active/pic4523_pwm_test'
make -f nbproject/Makefile-default.mk dist/default/production/pic4523_pwm_test.production.hex
make[2]: Entering directory 'D:/My_PIC/prj_active/pic4523_pwm_test'
gnumkdir -p build/default/production
"D:\pbp_250\PBPW.EXE" -ampasmx -n -k# -os -p18f4523 ttt.pbp
make[2]: *** [build/default/production/ttt\.cof] Error -1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
Error - unrecognized input: #
PICBASIC PRO(TM) Compiler 2.50b, (c) 1998, 2008 microEngineering Labs, Inc.
All Rights Reserved.
ERROR: Bad command parameter. -n

ERROR: Unable to execute MPLINK.EXE.Error linking file D:\My_PIC\prj_active\pic4523_pwm_test\ttt.O
nbproject/Makefile-default.mk:91: recipe for target 'build/default/production/ttt\.cof' failed
make[2]: Leaving directory 'D:/My_PIC/prj_active/pic4523_pwm_test'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory 'D:/My_PIC/prj_active/pic4523_pwm_test'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

BUILD FAILED (exit value 2, total time: 857ms)


Any help please ?
Thanks in advance.
regards,
Ambro

richard
- 15th February 2016, 00:23
I assume you have seen this
http://www.picbasic.co.uk/forum/showthread.php?t=18520
its about the best reference I have discovered.
I still not sure mplabx is worth the effort but it does work
my thoughts

1. cannot comment/uncomment code blocks
2. cannot code fold pbp code
3. cannot insert breakpoints in asm code blocks (they always show as broken ). although you can instruction step through asm block
4. can only view named byte sized vars anything else you need to view via ram address with no name just the address apita
5. pickit3 is very fussy about powering things , need to use external supply for what a pickit2 does easily
6. pickit3 goes stupid when I don't exit debug mode properly (my fault) and can need a unplug /restart
7. no serial monitor (Atmel studio can do it)
8. it can and does "hang" on my pc ,seems worse than mcs for hang frequency
9. need to use mlabx friendly version of dt_ints18

iw2fvo
- 15th February 2016, 06:53
Thanks Richard,
I do understand now !
Unfortunately i broke my old ICD_2 and now I have this pickit3.
What free IDE will you suggest to me please ?
Thanks
regards,
Ambrogio

Ioannis
- 15th February 2016, 08:59
I use MCS with PBP3 compiler and in general a Elnec Pikprog+ (old, I know) programmer.

But when I need t program chips with ICSP that Elnec does not support, I use Pickit3, with the stand alone application.

MPLAB or MPLABX is a pain...

Look for pickit 3 stand alone here: http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit3%200.2.0.3%20Setup.zip

Ioannis

richard
- 15th February 2016, 09:14
I concur with Ioannis except where he uses a Elnec Pikprog I use pickit2

mplabx only as a last resort and then usually only a cut down version of my code for debugging ,mcs is ok

iw2fvo
- 15th February 2016, 09:56
OK,
thanks Ioannis and Richard.
Ambro