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

I got a difficult problem. I need help.

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Need Help
Guest







I got a difficult problem. I need help.
PostPosted: Wed Aug 06, 2008 1:28 am     Reply with quote

Hello Everyone,

I got a problem and I am not sure that this belong to Hardware or software.

My problem is following.

First of all, I am using PIC 16f877, 2840 development board, CCS C compiler and Hyper terminal.

Now I am trying to design a small boat and I hope when I turn on the power, it can run the code automatically.

Actually, before I put this small toy boat on the water, I always have to connect the rs232 to my boat and type the "g !" on the Hyper terminal window to start my code and then I remove the rs232. After I remove the rs232 cable, I can put it on the water. Now I hope that I can skip the complicated steps and I can just turn on the power which is from a battery to run the program.
I knew that there are lots of toys have this function. It is just like WooWee toys or others. I mean that we can just turn on the power of the toy and then the toy can do its task.

Any help will be very very appreciated.
Thank you very much.

Sincerely,
Foppie



Joined: 16 Sep 2005
Posts: 138
Location: The Netherlands

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger

PostPosted: Wed Aug 06, 2008 3:12 am     Reply with quote

I've never seen a PIC not just start after a clean power-up unless it was broken. Yours is running after some RS232 communication so I suspect the problem is in your software.

If you post your code, I suspect you'll be helped very quickly to locate the problem.

Also, what does this "g !" stand for, it looks like some kind of command?


Cheers,
Jos
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Aug 06, 2008 4:59 pm     Reply with quote

You're using a Basic Micro board, and you're using their programmer
or possibly a bootloader. You should ask about how to use their
products on their forum:
http://forums.basicmicro.net/
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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