pickit 2
Moderators: Chuckt, Garth, bitfogav
- Fluroblue
- decided to stick around...
- Posts: 43
- Joined: Sun Apr 10, 2011 2:30 am
- Location: (the Shire) Sydney, Australia [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
pickit 2
hay guys ive just set up my pickit 2 stuff and im doing the tutorials that brad has on his website. ive clicked project (in mplab) the project wizard
and im up to the bit where you select your language toolsuite. all the options have a red X next to them and i cant continue. what do i do now??
and im up to the bit where you select your language toolsuite. all the options have a red X next to them and i cant continue. what do i do now??
- Fluroblue
- decided to stick around...
- Posts: 43
- Joined: Sun Apr 10, 2011 2:30 am
- Location: (the Shire) Sydney, Australia [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: pickit 2
its fine the files that i needed where hidden so i just had to search for them :S
- Fluroblue
- decided to stick around...
- Posts: 43
- Joined: Sun Apr 10, 2011 2:30 am
- Location: (the Shire) Sydney, Australia [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: pickit 2
its me again :S im doing the led flasher and im clicking quickbuild and it comes up with 'build failed'.
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /pMCV20USB "tutorial_2_led_flasher.asm" /l"tutorial_2_led_flasher.lst" /e"tutorial_2_led_flasher.err"
Warning[215] C:\USERS\SMART\DESKTOP\PICKIT 2\TUTORIAL\TUTORIAL_2_LED_FLASHER.ASM 26 : Processor superseded by command line. Verify processor symbol.
Message[301] C:\PROGRAM FILES\MICROCHIP\MPASM SUITE\P16F648A.INC 33 : MESSAGE: (Processor-header file mismatch. Verify selected processor.)
Warning[230] C:\USERS\SMART\DESKTOP\PICKIT 2\TUTORIAL\TUTORIAL_2_LED_FLASHER.ASM 28 : __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
Error[126] C:\USERS\SMART\DESKTOP\PICKIT 2\TUTORIAL\TUTORIAL_2_LED_FLASHER.ASM 28 : Argument out of range (not a valid config register address)
Halting build on first failure as requested.
if someone understands whats wrong plz tall thanks
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /pMCV20USB "tutorial_2_led_flasher.asm" /l"tutorial_2_led_flasher.lst" /e"tutorial_2_led_flasher.err"
Warning[215] C:\USERS\SMART\DESKTOP\PICKIT 2\TUTORIAL\TUTORIAL_2_LED_FLASHER.ASM 26 : Processor superseded by command line. Verify processor symbol.
Message[301] C:\PROGRAM FILES\MICROCHIP\MPASM SUITE\P16F648A.INC 33 : MESSAGE: (Processor-header file mismatch. Verify selected processor.)
Warning[230] C:\USERS\SMART\DESKTOP\PICKIT 2\TUTORIAL\TUTORIAL_2_LED_FLASHER.ASM 28 : __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
Error[126] C:\USERS\SMART\DESKTOP\PICKIT 2\TUTORIAL\TUTORIAL_2_LED_FLASHER.ASM 28 : Argument out of range (not a valid config register address)
Halting build on first failure as requested.
if someone understands whats wrong plz tall thanks
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: pickit 2
It looks like you have not set it up for your particular microcontroller. Did you follow all of the steps in the tutorial? you need to set it up for a 16f628a microcontroller.
Have a look down the bottom left of screen and make sure it reads 16f628a (or 16f648a) I can't remember which one i sent you.
Have a look down the bottom left of screen and make sure it reads 16f628a (or 16f648a) I can't remember which one i sent you.
- Fluroblue
- decided to stick around...
- Posts: 43
- Joined: Sun Apr 10, 2011 2:30 am
- Location: (the Shire) Sydney, Australia [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: pickit 2
it was 16f648a im pretty sure i did but when you open the asm file do you just open it in file- open , project - open, or does it not matter?
Re: pickit 2
Its looks like MPLAB was configured for a PIC 18F by this line:
Brad is correct you need to set your device.
In MPLAB you usually just click "File > Open" and select the "ASM" file you want to open, you then need to select the correct device in MPLAB in the configure tab, and select the correct microchip you are using? heres a few pictures to show you how to correctly select your device, I hope this helps
Code: Select all
Warning[230] C:\USERS\SMART\DESKTOP\PICKIT 2\TUTORIAL\TUTORIAL_2_LED_FLASHER.ASM 28 : __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
In MPLAB you usually just click "File > Open" and select the "ASM" file you want to open, you then need to select the correct device in MPLAB in the configure tab, and select the correct microchip you are using? heres a few pictures to show you how to correctly select your device, I hope this helps

- Fluroblue
- decided to stick around...
- Posts: 43
- Joined: Sun Apr 10, 2011 2:30 am
- Location: (the Shire) Sydney, Australia [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: pickit 2
thanx a bunch that fixed it
sorry for bothering you guys with it
sorry for bothering you guys with it
Re: pickit 2
No worries, happy to help. glad it fixed it.. 

- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: pickit 2
That's what we're here for!
- Fluroblue
- decided to stick around...
- Posts: 43
- Joined: Sun Apr 10, 2011 2:30 am
- Location: (the Shire) Sydney, Australia [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: pickit 2
in the led matrix tutorial i need a 7442 chip, is there anything else in that title? would it be common enough to be in jaycar?
Re: pickit 2
Its quite a common chip of the 7400 family, ive searched Jaycar and come up with this for you, this should do fine. 
http://www.jaycar.com.au/productView.as ... BCATID=884

http://www.jaycar.com.au/productView.as ... BCATID=884
- Fluroblue
- decided to stick around...
- Posts: 43
- Joined: Sun Apr 10, 2011 2:30 am
- Location: (the Shire) Sydney, Australia [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: pickit 2
thanks will it be exactly the same or are there some things i should look for when using them?
Re: pickit 2
Looking at the datasheet the pin configuration is exactly the same 

- Fluroblue
- decided to stick around...
- Posts: 43
- Joined: Sun Apr 10, 2011 2:30 am
- Location: (the Shire) Sydney, Australia [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: pickit 2
lol sorry for doing this but if i wanted to use it without it being powered by pickit, would i put a 5v battery starting at VDD (+) and the negative being at VSS?
- odessa
- I practically live here!
- Posts: 102
- Joined: Thu Sep 09, 2010 6:06 am
- Location: London [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: pickit 2
Yes thats correct. 

(\_/)
(='.')
(")-(")
This is a bunny, copy bunny into your signature to help him achieve world domination.
(='.')
(")-(")
This is a bunny, copy bunny into your signature to help him achieve world domination.
Who is online
Users browsing this forum: No registered users and 1 guest