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 support@ccsinfo.com

Tiny bootloader

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



Joined: 03 Mar 2009
Posts: 40

View user's profile Send private message

Tiny bootloader
PostPosted: Wed Jul 21, 2010 10:29 pm     Reply with quote

I have a problem that I have been running into for a while. I have a PIC16F886 chip that I am coding and I cannot for the life of me get the Tiny bootloader to work properly. Here is what happens, let me know if this is weird or what:

Program bootloader to chip. Place chip in circuit. Plug in serial cable and press CheckPic. All goes well and it can see it and everything is fine. I press write and the program uploads to the chip and the chip runs the program.

Now here is where it gets tricky. Once the program is sent to the chip it now does not see the chip anymore from the PC software. Also, when you press Check it should reset the chip. But it doesn't. I have tried removing the RTS line from the chip and just putting a pull up 1k ohm resistor with a manual reset switch to pull it down to a logic zero and that doesn't even work.

Now to make things even more complicated, if I flash via a programmer, the program only, not the bootloader, over to the chip and put it in place a manual reset works just fine.

Talks about weird.

If anyone knows what could possibly be going wrong with this I would love to know. I am at the end of my thinking and I am now giving up and asking for help.

Thanks so much for any comments that anyone may have.
misperry



Joined: 03 Mar 2009
Posts: 40

View user's profile Send private message

Bump
PostPosted: Sat Jul 24, 2010 10:25 pm     Reply with quote

Bump
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jul 24, 2010 10:46 pm     Reply with quote

Wouldn't it be easier to use Google to search for Tiny Bootloader and
the error message ? Example:
Quote:

"Tiny Bootloader" "pic not found"

That gives 138 hits. Read what they did to solve it.
misperry



Joined: 03 Mar 2009
Posts: 40

View user's profile Send private message

PostPosted: Mon Jul 26, 2010 8:47 am     Reply with quote

Well, I looked into google and I have exhausted my search. All the ones that come up are talking about just getting the two to talk at all. Mine does find the pic but I have to power cycle the entire unit and very quickly and upon power up click check pic or write flash on the tiny bootloader software for it to find the chip and load stuff to it.

This is really weird. Do you have any sample code / schematics to share? I am just at a loss (he he).

Thanks so much for your help
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