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 2nd February 2007, 09:38 AM   (permalink)
Default

Quote:
Originally Posted by Gayan Soyza
From where did you get the hex file? Did you intalled the driver of IC PROG? if installed check the hardware tab in the IC PROG whether is correctly fixed to COM PORT..Also check whether windowsNT chechbox clicked.restart IC PROG & feed the hex file.
The windows nt was not checked and I missed the driver part. That seems to have fixed my prob. Thanks for the input. Wow it only took 6hrs to build this and get it running lol. Well now I need to put it to use. Any suggestions?
Bryan76 is offline  
Old 2nd February 2007, 09:41 AM   (permalink)
Default

Quote:
Originally Posted by 3v0
First see the sticky posts for this forum for a lot of how to get started info.

For a first time PICer I suggest you buy your first programmer. It will save you a lot of time and headache. Maybe the PIC-PG2. With shipping about $15. You will not be able to use MPLAB with it, but since the 16F84A does not have any breakpoints there is no real downside. SparkFun provides the schematics for the PIC-PG2 and other programmers so you could build one from scratch if you like.

In time you will want to move up to an In Circuit Debugger like the Inchworm ICD2 clone kit that was designed by one of the regulars on this forum.

3v0
Hi,

how to beleive the specs and supported devices listed especially ones like 16C54 with a programmer like pic-pg2 ( it is OLIMEX type and suitable for icsp and mostly one lands into Vpp problems-- it may not support modern PCs and Laptops with low voltage com and USB ports unless the Vcc and Vpp are suitably processed and ensured.
__________________
Regards,
Sarma.
mvs sarma is offline  
Old 2nd February 2007, 05:31 PM   (permalink)
Default

Well I started my comp and fired up ic-prog and now its back to not working. I think the program cant find the drivers, any ideas?
Bryan76 is offline  
Old 2nd February 2007, 06:10 PM   (permalink)
Default

Quote:
Originally Posted by mvs sarma
Hi,

how to beleive the specs and supported devices listed especially ones like 16C54 with a programmer like pic-pg2 ( it is OLIMEX type and suitable for icsp and mostly one lands into Vpp problems-- it may not support modern PCs and Laptops with low voltage com and USB ports unless the Vcc and Vpp are suitably processed and ensured.
Your point is well taken.

I would rather people start with an ICD2 clone which gives them a very good programmer. Just as important is the debugger support that the ICD2 provides. That is my opinion.

But there are people that want to use simple programmers. It can be difficult for them to sort through all the problems you mentioned above on a scratch built in addition to possible wiring/build errors. The purchased unit cuts out the hunt for wiring errors. Makes it a bit easier to get started.
3v0
3v0 is offline  
Old 2nd February 2007, 06:11 PM   (permalink)
Default

Got it back up and running. Anyone know of a simple project I can do to test out the pic? (no LCD)
Bryan76 is offline  
Old 2nd February 2007, 07:15 PM   (permalink)
Default

Bryan76
If u r using Windows XP then ICprog not run on Windows xp. Infact it runs, but not work correctly.

First of all send any hex into pic using programmer and load it again. if it loads correctly then go to next step(making some project).

Last edited by Ayne; 2nd February 2007 at 07:19 PM.
Ayne is offline  
Old 2nd February 2007, 07:23 PM   (permalink)
Default

Quote:
Originally Posted by Ayne
Bryan76
If u r using Windows XP then ICprog not run on Windows xp. Infact it runs, but not work correctly.

First of all send any hex into pic using programmer and load it again. if it loads correctly then go to next step(making some project).
Well that stinks. I am using XP. It seems to work. I loaded a hex and then made some changes to it. Then I shut down the program and restarted. I load the pic and it had the correct hex changes on it. So it seems to work. What part is not functioning with xp?
Bryan76 is offline  
Old 2nd February 2007, 07:31 PM   (permalink)
Default

You install some addtional drives with ICProg???

infact when i start with ICprog, it was not working on Windows XP. But it worked right on Windows 98.
Ayne is offline  
Old 2nd February 2007, 07:37 PM   (permalink)
Default

Which language u want to use for Programing???

www.mikroe.com
Good compliers are there of both C and Basic language. and they are free but limited to 2k program memory. it is enough memory for newb.

Basic is easy make ur first program ur self, u will be more happy.
Ayne is offline  
Old 2nd February 2007, 07:55 PM   (permalink)
Default

ICProg works under XP fine, although as with any program that directly accesses the hardware you need a driver DLL to allow it to do so. Access under Win98 is easier, because their's no restriction on direct access.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 2nd February 2007, 08:04 PM   (permalink)
Default

when i open in XP a message box show

"Privileged instruction"

can i solve this problem if yes then how?
Ayne is offline  
Old 2nd February 2007, 08:08 PM   (permalink)
Default

Quote:
Originally Posted by Ayne
when i open in XP a message box show

"Privileged instruction"

can i solve this problem if yes then how?
You read the first page of this thread where it tells you!
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 2nd February 2007, 08:44 PM   (permalink)
Default

Quote:
Originally Posted by Ayne
when i open in XP a message box show

"Privileged instruction"

can i solve this problem if yes then how?
Get the driver dll, goto options and enable nt/2000/xp driver
Bryan76 is offline  
Old 2nd February 2007, 09:20 PM   (permalink)
Default

Quote:
Originally Posted by Ayne
You install some addtional drives with ICProg???

infact when i start with ICprog, it was not working on Windows XP. But it worked right on Windows 98.
I had to install a driver to make it work on XP. I can look up its name if you need it.
__________________
Len
ljcox is offline  
Old 3rd February 2007, 06:25 AM   (permalink)
Red face

Well I have ran into a wall on this project. The pic programmer is working, but for the life of me I cant figure out how to load a hex file. I have used visual and C+ before and am not all that new to programming.

1. I am using the JDM Programmer along with ic-prog, the chip is the pic16f84a.

2. What compiler can I use for this programmer?

Bryan76 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
programmer! 4electros Micro Controllers 8 12th November 2007 08:48 PM
PIC Programmer using C burg General Electronics Chat 2 24th January 2007 08:27 AM
PIC programmer & WinPicProg: my findings eblc1388 Micro Controllers 5 27th August 2005 12:13 PM
PIC Programmer through COM and ICSP (JDM ??) test1 Micro Controllers 6 12th October 2004 09:06 AM



All times are GMT. The time now is 07:53 AM.


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

eXTReMe Tracker