Im just getting into swordfish basic and need a little help setting it up. I have the pic kit connected to my pic chip but nothing happens when i hit the compile and program button.
Is there a special way to set up the pickit 2 to work with swordfish basic?
Setting the pickit 2 up with Swordfish
Moderators: Chuckt, Garth, bitfogav
- 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: Setting the pickit 2 up with Swordfish
I havent actually setup the pickit 2 with swordfish but there is a really cool tool in the pickit 2 software.
Open up the pickit2 software and click the button near the bottom right corner:
"auto import hex + write device" This will load your hex file and program it to the microcontroller. The pickit2 software then waits in the background and detects if a change has been made to the hex file, when it detects a change it will program it to the microcontroller straight away. This means when you compile it in swordfish,it will automatically program it.
Open up the pickit2 software and click the button near the bottom right corner:
"auto import hex + write device" This will load your hex file and program it to the microcontroller. The pickit2 software then waits in the background and detects if a change has been made to the hex file, when it detects a change it will program it to the microcontroller straight away. This means when you compile it in swordfish,it will automatically program it.
Re: Setting the pickit 2 up with Swordfish
Brad thats a cool function I didnt even know about thanks!
There is a special way you have to setup the Pickit2 to swordfish, you have to add the pickit2 and setup the command lines for it in swordfish.
more info of this can be found here:
http://digital-diy.com/forum/viewtopic.php?f=12&t=671
*updated link*
http://digitaldiy.io/index.php/forum/sw ... mitstart=0
If you want the PICkit to power your circuit once it's programmed then use this command line when you setup the PicKit2 in swordfish:
/PPIC$target-device$ /F$long-hex-filename$ /M /R /T /Hk
There is a special way you have to setup the Pickit2 to swordfish, you have to add the pickit2 and setup the command lines for it in swordfish.
more info of this can be found here:
http://digital-diy.com/forum/viewtopic.php?f=12&t=671
*updated link*
http://digitaldiy.io/index.php/forum/sw ... mitstart=0
If you want the PICkit to power your circuit once it's programmed then use this command line when you setup the PicKit2 in swordfish:
/PPIC$target-device$ /F$long-hex-filename$ /M /R /T /Hk
- 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: Setting the pickit 2 up with Swordfish
I didn't actually know how to set it up with swordfish - so thanks for your tips
-
- decided to stick around...
- Posts: 32
- Joined: Tue Jun 08, 2010 12:14 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: Setting the pickit 2 up with Swordfish
Thank you both for the awesome tips.
- 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: Setting the pickit 2 up with Swordfish
No problem!
Who is online
Users browsing this forum: No registered users and 3 guests