![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| sarma, I did set the oscillator in the config statement. (_INTRC_IO) It is the internal osc. It is set to 4mhz in the OSCCON register. I think I stated somewhere above the programmer I am using is the Velleman K8048. I downloaded WinPic since my last post. This software has a specific setup for my programmer. I program the PIC. The software says no errors. It can be verified over and over always saying everything is ok. I plug the PIC into my board and get the same deal. I have done everything I know to do. I have even intentionally selected the wrong device in the programmer software. It immediately detects the error. I feel a little better about the programmer. Pommie says he can run the code so maybe it's my PICs. I have ordered some more PICs. Thanks for the reply. I thought this thing was about dead. | |
| |
| | (permalink) |
| Find a programmer that supports the 16F88, that's the problem with many homebrew programmers. Wonder how long till it supports the 16F88x series PICs out today. The 16F88 has been out for ages and few third part programmers support it. Stop blowing chips, I give away the ICD2 schematic and it's easy to build, basically all you need is a max232 and 16F877A if you've got a power supply. It WILL program 16F88 and debug em too.
__________________ Bill Home of the Firefly PIC Tutor Inchworm ICD2 http://www.blueroomelectronics.com | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| I think my programmer is ok. I sometimes no, most times "read the instructions after everything else fails". This latest sofware "WinPro" that I downloaded seems to be very good. Buried deep in the documentation is the instructions about which driver to use. There are several choices and the recommended one is "no driver" use windows API. I had not noticed but the software was continuously give me an "unable to initialize programmer" error message. After I changed the driver to the recommended one that error went away and now I get a message saying "programmer initalized" each time I start the software up with the programmer hooked up. I programmed the chip again but alas now I got a problems with my display. I think I must have a bad connection. Whether the chip is in or out the display is the same. It is getting power all the cells are black but it not getting initialized and there seems to be no communication between it and the chip. Please don't jump to conclusions this only happened a day or two ago and has been the problem all along. I would like to work on it continuously but SWMBO (She Who Must Be Obeyed) has spoken and if I want to continue to live in this house I must start building a desk for my granddaughter that must be done by Christmas and working on a new floor that must be installed. So I guess I will work on the PIC between 10 pm and 1 am. | |
| |
| | (permalink) |
| I need to make a correction in my last post. I said "Please don't jump to conclusions this only happened a day or two ago and has been the problem all along." I meant to have said "Please don't jump to conclusions this only happened a day or two ago and has NOT been the problem all along." | |
| |
| | (permalink) | |
| Quote:
i didnt get you properly-- did you feel that you need a driver with winows API-- if so, icprog105D has it . please go thro the spll dataprovided by the website ic-prog.com if you configure the driver to work with WINXP and thereafter the Stettings- Hardware page shows working on WINDOWS API. hope this serves you you are perfectly right to feel it is driver which does or need configuration. At times you may need simple things like terminate a pin with 10K to gnd etc.. i saw your K8048 manual-- it really nice. it is only aquestion of proper device driver with component specific data. if i remember winpic prog has given a way toadd devices not exisitng in their driver -- please see this aspect also. All the best enjoy Cristmas times regards sarma
__________________ Regards, Sarma. | ||
| |
| | (permalink) |
| Hi sarma, I have settled on WinPic software. I like it better than any I have seen. As I said before it specifically lists support for my programmer and has a setup file for it. On ICPROG I have to use JDM programmer type and use setting that someone else on the internet says is right. I have the driver problem straightened out. I don't think the chip has been completly and/or properly programmed up until now. I think this software will do it. I am anxious to get my LCD fixed so I can tell if it will or not. Steve | |
| |
| | (permalink) | |
| Quote:
Yhat is Nice-- perhaps you might have downloaded ver3.60 of winpic800 -- today itoo did. it is really good. All the best to you you and best of Christmas times Steve regards
__________________ Regards, Sarma. | ||
| |
| | (permalink) |
| I finally got my timer running last night. I have been working on this every spare minute since my last post. I had to completely scrap the TMR0 timer and use the TMR1 timer. I tried everything before doing this but nothing worked. I have my internal clock set for 250khz. This is the fastest speed I could run and stay in a 16 bit timer without a prescaler. I am preloading the TMR1H & L registers to get a one sec interrupt. I am disabling TMR1 and clearing TMR1H & L in the interrupt service routine. I considered just adding to these registers but read somewhere that this can cause unexpected results. I tried to count the instructions between the interrupt and reenabling TMR1 and compensate for this in the preload. I might be a little off on this number. I got one more question. Can data be saved while the pic is turned off? I wanted to use this timer to keep track of time spent on woodworking projects. The reason I was so adamant about using the f88 was it's low power consumption feature. Sometimes there might be several day between work sessions on a project. If the pic could be turned off and still retain the cumulative data would be much better than the low power feature. My next project is to add a button to start and suspend the timer. I am attaching a copy of the latest version. | |
| |
| | (permalink) |
| Hi Steve, Congratulations. better late than .... All the best Regards
__________________ Regards, Sarma. | |
| |
| | (permalink) |
| IMSlo, you can write to the EEPROM to save your times? Last edited by mramos1; 29th December 2006 at 08:14 PM. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| 16F88 Code protected question | RonnyBone | Micro Controllers | 6 | 30th October 2006 09:30 AM |
| 3.2V to 5V TTL interface problems | GraveYard_Killer | Micro Controllers | 9 | 12th March 2005 02:30 PM |
| 16F88 internal oscillator problems | Jimbob's Ma | Micro Controllers | 1 | 1st March 2004 10:28 PM |
| Channel coding for digital wireless.. | Blueteeth | General Electronics Chat | 0 | 22nd January 2004 11:50 PM |
| Report in problems of 3 phase rectifiers | Ziyad_noel | General Electronics Chat | 0 | 11th October 2003 07:06 PM |