help with programing
Moderators: Chuckt, Garth, bitfogav
-
- Can't get enough of electronics!
- Posts: 83
- Joined: Mon Aug 30, 2010 8:05 am [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: help with programing
I already imported the hex file succesfully after that what should I do?
- 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: help with programing
If you can import the hex file then you just need to program it to the microcontroller 

- sdudley
- Moderator
- Posts: 337
- Joined: Sun Mar 28, 2010 1:33 pm
- Location: Florida, U.S.A. [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: help with programing
rd1196 - Have you read the PICkit2 user guide?
Chapter 2 in the user guide is pretty thorough about how to do all this.
http://ww1.microchip.com/downloads/en/D ... 51553E.pdf
I also recommend reading the low pin count demo board user guide. It has very good examples for simple projects (blinking LED, etc.)
http://ww1.microchip.com/downloads/en/D ... 51556a.pdf
Hope this helps,
Stacy
Chapter 2 in the user guide is pretty thorough about how to do all this.
http://ww1.microchip.com/downloads/en/D ... 51553E.pdf
I also recommend reading the low pin count demo board user guide. It has very good examples for simple projects (blinking LED, etc.)
http://ww1.microchip.com/downloads/en/D ... 51556a.pdf
Hope this helps,
Stacy
Any time you deviate from sequential consistency, you increase the complexity of the problem by orders of magnitude.
-
- Can't get enough of electronics!
- Posts: 83
- Joined: Mon Aug 30, 2010 8:05 am [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: help with programing
when we are programing the pic when the pickit2 program says HEX FILE SUCESSFULLY IMPORTED does that mean the pic is programed or do you have to do another thing
- sdudley
- Moderator
- Posts: 337
- Joined: Sun Mar 28, 2010 1:33 pm
- Location: Florida, U.S.A. [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: help with programing
Have you read the users guide?rd1196 wrote:when we are programing the pic when the pickit2 program says HEX FILE SUCESSFULLY IMPORTED does that mean the pic is programed or do you have to do another thing
If you are able to import the hex file (explained in section 2.6 of the PICkit2 Programmer/Debugger Users Guide) then you obviously have everything connected correctly.
After sucessfully importing the HEX file all you need to do is click on the "WRITE" button and the programmer will program the chip. This is explained in section 2.7 (page 20) of the users guide.
Section 2.7 explains most everything you need to know about writing the hex file along with possible errors that might happen in the process.
Section 2.8 explains how you can verify the programmed data.
Stacy
Any time you deviate from sequential consistency, you increase the complexity of the problem by orders of magnitude.
-
- Can't get enough of electronics!
- Posts: 83
- Joined: Mon Aug 30, 2010 8:05 am [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: help with programing
hello brad i finished the game i did all the steps you told me but when i turn it on only the red dot appears. and if i move it after like 2 or 3 seconds it turns off i think it is because i die but i just cant see the green dots
Re: help with programing
Hi rd1196,rd1196 wrote:hello brad i finished the game i did all the steps you told me but when i turn it on only the red dot appears. and if i move it after like 2 or 3 seconds it turns off i think it is because i die but i just cant see the green dots
Ive had a look at your schematics that you posted on the other topic viewtopic.php?f=2&t=250&start=15 it looks to me that your 8x8 matrix lines from the 7442 are incorrect. With what you say that you cant get the green leds to work?, well the microchip controls the green leds via the 7442. I have changed your schematics to what you need to change for your 8x8 matrix/7442 connections. please note that I have ONLY changed the schematics to what you need to change, I havnt included the full schematics or connected the data lines from the microchip to the 7442, so that doesn't mean you dont need to connect them.

-
- Can't get enough of electronics!
- Posts: 83
- Joined: Mon Aug 30, 2010 8:05 am [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: help with programing
thanks so you fixed the wires that means i have to change them. beacause i connected the 2 gnds and i have the game but backwards. so that means i have to change the wires as you told me.
Re: help with programing
yeah that sounds about right to me.
Gavin
Gavin

- 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: help with programing
Nice pickup Gav!
-
- Can't get enough of electronics!
- Posts: 83
- Joined: Mon Aug 30, 2010 8:05 am [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: help with programing
witch of the options that appear on the device family option is the one I need (if I'm using 16F628A)
Who is online
Users browsing this forum: No registered users and 1 guest