pickit 2

Post here to let others know of a project you're working on.

Moderators: Chuckt, Garth, bitfogav

User avatar
Fluroblue
decided to stick around...
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

Post by Fluroblue » Tue May 10, 2011 4:32 pm

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??

User avatar
Fluroblue
decided to stick around...
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

Post by Fluroblue » Tue May 10, 2011 5:09 pm

its fine the files that i needed where hidden so i just had to search for them :S

User avatar
Fluroblue
decided to stick around...
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

Post by Fluroblue » Tue May 10, 2011 5:32 pm

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

User avatar
brad
Site Admin
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

Post by brad » Tue May 10, 2011 10:15 pm

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.
screen-capture.png
screen-capture.png (7.77 KiB) Viewed 28298 times

User avatar
Fluroblue
decided to stick around...
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

Post by Fluroblue » Tue May 10, 2011 10:45 pm

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?

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: pickit 2

Post by bitfogav » Wed May 11, 2011 5:27 am

Its looks like MPLAB was configured for a PIC 18F by this line:

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.
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 :)
devicemplab1.jpg
devicemplab1.jpg (25.8 KiB) Viewed 28295 times
mplabdevice2.jpg
mplabdevice2.jpg (46.93 KiB) Viewed 28295 times

User avatar
Fluroblue
decided to stick around...
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

Post by Fluroblue » Wed May 11, 2011 10:04 am

thanx a bunch that fixed it
sorry for bothering you guys with it

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: pickit 2

Post by bitfogav » Thu May 12, 2011 2:36 am

No worries, happy to help. glad it fixed it.. :)

User avatar
brad
Site Admin
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

Post by brad » Thu May 12, 2011 9:19 pm

That's what we're here for!

User avatar
Fluroblue
decided to stick around...
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

Post by Fluroblue » Fri May 13, 2011 6:02 pm

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?

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: pickit 2

Post by bitfogav » Fri May 13, 2011 6:48 pm

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

User avatar
Fluroblue
decided to stick around...
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

Post by Fluroblue » Fri May 13, 2011 7:08 pm

thanks will it be exactly the same or are there some things i should look for when using them?

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: pickit 2

Post by bitfogav » Fri May 13, 2011 7:10 pm

Looking at the datasheet the pin configuration is exactly the same :)

User avatar
Fluroblue
decided to stick around...
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

Post by Fluroblue » Sat May 14, 2011 11:32 pm

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?

User avatar
odessa
I practically live here!
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

Post by odessa » Sat May 14, 2011 11:49 pm

Yes thats correct. :)
(\_/)
(='.')
(")-(")
This is a bunny, copy bunny into your signature to help him achieve world domination.

Post Reply
[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

Who is online

Users browsing this forum: No registered users and 1 guest