Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 16th January 2008, 11:39 PM   (permalink)
Default So close with the Inchworm+ PIC

I've got my inchworm+ assembled and am trying to get it working to upload programs. When I got to the instructions about selecting the OS firmware file ICD01020701.HEX, the closest thing that came up with MPLab IDE v8 is ICD01020704.HEX. Is this a newer version of the same file? I'm anxious to get this thing in action and upload my first program.

Thanks for all the help that you have supplied. I know it's been a trial dealing with many of my questions.

Joe
danuke is offline  
Old 17th January 2008, 12:30 AM   (permalink)
Default

That's just the newest version. It'll work fine.

It must be a 16F877-20 for that file, else use the one on my site for the 16F877A (MPLAB will still upload new firmware it just won't overwrite the bootloader)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 17th January 2008, 03:37 AM   (permalink)
Default

When downloading the ICD2 OS, I received the following errors after a few seconds during the download...

ICDWarn0020: Invalid Target device id (expected=0x40, read=0x0)

any ideas on what I need to do to correct this message?
danuke is offline  
Old 17th January 2008, 03:45 AM   (permalink)
Default

Sounds like your Inchworm works. 0x00 usually means it's not seeing a target device. Take a look and try building one of the Inchworm Quick Projects from the poster on my site.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 17th January 2008, 03:50 AM   (permalink)
Default

Is the ICD2 OS supposed to be uploaded to the PIC that come with the inchworm or to the end PIC I want to program? I understood it as being uploaded to the PIC supplied with the inchworm and I dont have the programmer hooked up to a "final target" PIC. That may be the problem was just the way I understood the instructions. The PIC that came with my inchworm+ is a PIC16F877-20/P.

If it is the final pic with my code on it that needs the OS, will that file change depending on the final target PIC (ie a 16F628A)?
danuke is offline  
Old 17th January 2008, 03:59 AM   (permalink)
Default

The ICD2 firmware will be loaded automatically when needed.

Your target PIC does not need any special firmware unless you use the debugger (not available in the 16F628A) and when you debug MPLAB will load it automatically

When you do correctly connect a target PIC like the 16F628A (a good PIC) MPLAB will say it's OK. As for programming you can start with Nigels tutorials or for your very first one follow the advice in my last message.

Also check out the links section on my site for lots and lots of PIC information including tutorials.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 17th January 2008, 06:38 AM   (permalink)
Default

Thanks for the help. I uploaded a program to a 16F628A and then read it back to see how some of the basic functions inside MPLab worked. I'm happy to report everything went smoothly. Again, I appreciate all the help.

Joe
danuke is offline  
Old 17th January 2008, 07:03 AM   (permalink)
Default

Quote:
Originally Posted by danuke
Thanks for the help. I uploaded a program to a 16F628A and then read it back to see how some of the basic functions inside MPLab worked. I'm happy to report everything went smoothly. Again, I appreciate all the help.

Joe
Woohoo! Another happy Blueroom customer! Now you need a Unicorn under that Inchworm+ to make it go MUCH faster.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is online now  
Old 17th January 2008, 07:14 AM   (permalink)
Default

Quote:
Originally Posted by futz
Woohoo! Another happy Blueroom customer! Now you need a Unicorn under that Inchworm+ to make it go MUCH faster.
I've actually already started thinking about that. How hard is it to solder the pins under the ICD2 PIC to connect to the Unicorn? Would I need to take the socket off?
danuke is offline  
Old 17th January 2008, 07:20 AM   (permalink)
Default

Quote:
Originally Posted by danuke
I've actually already started thinking about that. How hard is it to solder the pins under the ICD2 PIC to connect to the Unicorn? Would I need to take the socket off?
Ooooohhhhhh... You didn't put the connector on first!?! Might be difficult then. Depends on your IC socket. If it's an open frame one, you could probably solder most of the pins fairly easily. Some will undoubtedly be difficult and you'll end up melting up your socket a bit at the very least. With a good fine tip iron and some careful soldering I think it could be done.

Desoldering and replacing the socket is quite difficult too. None of this is impossible. Just kinda difficult. Too much abuse could kill your Inchworm+ board (lifted pads). Gotta be a bit careful.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================

Last edited by futz; 17th January 2008 at 07:23 AM.
futz is online now  
Old 17th January 2008, 07:25 AM   (permalink)
Default

Quote:
Originally Posted by futz
Ooooohhhhhh... You didn't put the connector on first!?! Might be difficult then. Depends on your IC socket. If it's an open frame one, you could probably solder most of the pins fairly easily. Some will undoubtedly be difficult and you'll end up melting up your socket a bit at the very least.

Desoldering and replacing the socket is quite difficult too. None of this is impossible. Just kinda difficult. Too much abuse could kill your Inchworm+ board (lifted pads). Gotta be a bit careful.
Unfortunately I didn't have the pins to put on when I started to assemble it . As for the socket it has an open center except for a single narrow piece in the center for support. I guess I'm kinda stuck with what I got for now. May try to figure out a way to add it in later though
danuke is offline  
Old 17th January 2008, 07:28 AM   (permalink)
Default

Quote:
Originally Posted by danuke
Unfortunately I didn't have the pins to put on when I started to assemble it . As for the socket it has an open center except for a single narrow piece in the center for support. I guess I'm kinda stuck with what I got for now. May try to figure out a way to add it in later though
Ah well, the Inchworm+ by itself (serial only) is still way faster than the programmer I used before I bought my Inchworm+/Unicorn and Junebug (crappy K-150 - stay clear of those hunks o junk!).
__________________
=========================
Futz's Microcontrollers & Robotics
=========================

Last edited by futz; 17th January 2008 at 07:32 AM.
futz is online now  
Old 17th January 2008, 07:28 AM   (permalink)
Default

You can carfully clip the 40pin socket ends off, and then it's easy to solder that underside connector.

I'm happy to see you got it going.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 17th January 2008, 07:35 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
You can carfully clip the 40pin socket ends off, and then it's easy to solder that underside connector.
Hey, you're right! Once it's soldered in you no longer need the center web for alignment. Chop away.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Quik PIC Programming kit Krumlink General Electronics Chat 5 28th January 2008 12:27 AM
Capturing and reproducing audio with a PIC Fred.Amoson Micro Controllers 14 14th December 2007 09:22 PM
Problems switchin relay with PIC Andy1845c General Electronics Chat 5 17th November 2007 07:14 PM
High ADC sampling rate PIC, 18F needed? bananasiong Micro Controllers 24 28th October 2007 01:13 PM
Four PIC with One LCD.. meera83 Micro Controllers 13 20th September 2007 07:40 AM



All times are GMT. The time now is 01:02 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker