CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

hex file don't work
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah



Joined: 11 Mar 2010
Posts: 19496

View user's profile Send private message

PostPosted: Wed Apr 25, 2012 4:43 am     Reply with quote

I'm also rather puzzled by this line:

"One crystal connected to 13&14 number pins with other pins connected to 22pf capacitors and then G. "

Other pins?....
A crystal, only has two pins. One goes to pin 13, and _also_ has a 22pF to ground. The other goes to pin 14, and again also has a capacitor to ground.

If your device has more than two pins, then it is not a crystal, but possibly an oscillator 'module'. In which case you need to get the data sheet for it, but it'll _require_ 5v power, and no loading capacitors.

This may well be why your own board does nothing.

Best Wishes
riz179



Joined: 06 Apr 2012
Posts: 21

View user's profile Send private message

PostPosted: Wed Apr 25, 2012 3:16 pm     Reply with quote

Sorry you are puzzled due to my poor english, I'm using crystal with only two pins. Can you tell me how can i check whether my crystal is working or not ? and one more thing, when I create a new project in ccs it includes the directory of file at the start of code like"#include "C:\Users\Rizvan\Desktop\prjct home\1.h" the compiler give error by removing the lines of "#ifdef" so i have to remove this line also to remove error. Is there any affect?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Apr 25, 2012 3:21 pm     Reply with quote

Post a clear (in focus) close-up photograph of your board. Reduce
the photo to a suitable size (no bigger than 1024 x 768). Upload it to
a free image hosting service such as http://www.imageshack.us
and post a link to it here.

If you do that, we can probably see any problems with the crystal, etc.
riz179



Joined: 06 Apr 2012
Posts: 21

View user's profile Send private message

PostPosted: Thu Apr 26, 2012 6:27 am     Reply with quote

Thanks guys its working. The only problem was the useless lines of #define & #include in my code. And special thanks to Ttelmah and pcm programmer.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group