Very Simple ICSP Programmer - Page 2


Closed Thread
Page 2 of 4 FirstFirst 1234 LastLast
Results 41 to 80 of 130
  1. #41
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Not able to Prog !

    I am not able to Program any PIC using the Simple Interface suggested. I am using Windows XP (SP2).

    I get Programming failed at Dataaddress 000000h. Any help or suggestion. I am using ICP, Windows API , I/O delay 1. I tried changing these setting to diffrent settings but could not get the Chip to Prog. I am trying to Prog F72, F873A and F876

  2. #42
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Windows XP OS Problem

    I just found out a good explaination to the possible problem I could be facing with my programing software.

    Just thought of sharing the link with the Thread.

    http://www.talkingelectronics.com.au...-03-Using.html

    I shall post my findings later when I overcome my problem.

    regards

  3. #43
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    I have just set up a 16F877 circuit for ICSP using this interface
    with my desktop PC. (XP service pack 2 BTW). No problem with
    read, verify, or erase

    I used the settings with IC prog suggested earlier in the thread:
    I/O delay 20, JDM programmer, Direct I/O with nothing inverted.
    Have you have also powered the pic seperately with 5 volts while trying
    to use this interface?

    Cheers, Art.

  4. #44
    zero13's Avatar
    zero13 Guest


    Did you find this post helpful? Yes | No

    Thumbs up WinPic800 Software programming Pics Auto

    Hello, i am use WinPic800 for programming Pics.

    Info:

    WinPic800 3.55 f
    http://www.zerobots.net/electronica_software.html

    Web:
    http://perso.wanadoo.es/siscobf/winpic800.htm

    Slds!
    Zero13
    www.zerobots.net

  5. #45
    breogan's Avatar
    breogan Guest


    Did you find this post helpful? Yes | No

    Default Pinout ?

    Hi Art,
    Please, could you tell me what are the connections that you have made between the Serial port and the PIC16F877 ?.

    PIC Serial Port
    MCLR/Vpp ---- ?
    RB3/PGM ---- ?
    RB6/PGC ---- ?
    RB7/PGD ---- ?

    Thanks a lot !.

  6. #46
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    Today 20:52
    breogan, You only need

    MCLR/Vpp
    RB6/PGC
    RB7/PGD

    to flash a program into any pic using high voltage programming (+12 volts) on the Vpp line. Now if you are planning on programming it using low voltage programming then you need:

    MCLR/Vpp
    RB3/PGM
    RB6/PGC
    RB7/PGD

    If you plan on using a boot loader then you need to use 1 of the first 2 options loading a bootloader hex file into the pic (if it supports bootloading). Then all you need to do is connect the RX/TX lines from the PIC thru an inverter such as a Max-232 to your pc's comm port to load your application software from that point on. I perfer to use the bootloader method of loading the application code myself.

    Dave Purola,
    N8NTA

  7. #47
    breogan's Avatar
    breogan Guest


    Did you find this post helpful? Yes | No

    Thumbs up Thank you

    Thank you Dave,
    I will try with
    MCLR/Vpp
    RB6/PGC
    RB7/PGD

    I'm tired of programming/erasing 16F74A /JW version...

  8. #48
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Thumbs up 16F88 Chip Ok

    Hi All,

    I've just bought my first 16F88 Chip.

    I can confirm that this chip programs using the Very Simple ICSP Programmer too!

    Cheers
    Squibcakes

  9. #49
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Squibcakes
    Hi All,

    I've just bought my first 16F88 Chip.

    I can confirm that this chip programs using the Very Simple ICSP Programmer too!

    Cheers
    Squibcakes
    Hi Squib,
    I haven't tried it yet, but I can't see a reason why it shouldn't if it is supported by the programmer software.
    Even the 16F88 is a PIC ;-)
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  10. #50
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Talking

    Hi Nav, True, but some newbies may want to know.. thats all....

    BTW, I've just downloaded the Tiny Bootloader software to use with the 16F88. Use the Very Simple Programmer to load the bootloader program first into the PIC.

    There after use Tiny Bootloader to load your programs. Gee it's fast! It transfers the complete program into the PIC in about 4 seconds! (This is in comparison to IC-Prog which takes around 2 minutes)

    You can get it here..
    http://www.etc.ugal.ro/cchiculita/so...bootloader.htm

    TinyBootloader programer requires a Max232 chip connected to the Pic's USART port and does not use the Very Simple programmer.

  11. #51
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Squibcakes
    TinyBootloader programer requires a Max232 chip connected to the Pic's USART port and does not use the Very Simple programmer.

    I am currently using one of these for bootloading
    http://www.dontronics.com/micro-usb.html

    It can supply 3.3V or 5V to power the PIC and the TX ad RX lines are at 3.3V. Just put a 1K resistor in series with each for use with a 5V PIC.

    I have two test development projects currently built up on pieces of veroboard and each has a 4 pin header. My MicroUSB has a flying lead attached with a 4 pin plug and I just use it with whichever project I am working on at the time. The entire project is then powered from the USB port on the PC.

    I have a MANUAL RESET BUTTON on the veroboard as I prefer to manually reset rather than have the PC do it. That way I dont get false resets when I fire up serial comms with the board when I am not bootloading.

    I am using it with a 16F88 and 18F452 at the moment.

    No connection etc.... other than being a VERY satisfied user

    Regards

    Keith
    Keith

    www.diyha.co.uk
    www.kat5.tv

  12. #52
    NewBoy's Avatar
    NewBoy Guest


    Did you find this post helpful? Yes | No

    Default

    Hello Chaps,

    Please help a NewBoy start. I'm moving up from Picaxe and the change is traumatic.

    What I want at the-end-of-the-day:
    To be able to programme a 16F88 in circuit via a cheap'n'cheerful serial PC link using the MAX232 (or similar).

    I have Proton IDE and a MELABS USB programmer.
    (I was going to make my own programming board for trial.)

    I've picked up a lot of useful information from the Proton forum, but have got stuck due to ineptitude.

    My confusions:
    - I believe I have to use the programmer to download 'firmware' to allow me to programme/load subsequent code. Where is this 'firmware'?

    - Is the above a 2-stage process? I have installed the MELABS programmer software, so where do I go from there?

    - What are the pinouts of the MELABS USB programmer to allow me to load the firmware/subsequent code in-circuit? (i.e. in-my-circuit)
    (The Mecanique website shows an ICSP diag. but the programmer pins are perhaps only for the serial programmer as they don't tie up).

    And finally, a last question:
    Is there a simpler PC serial to programmed PIC , rather than using a MAX232 based circuit? (That will work safely).

    I'm getting muddled with the terminology interchange of 'bootloader' and 'firmware' too which isn't helping.

    I am terminologically challenged and obviously thick.

    Thanks. (Any drawings/circuit diagrams/links gratefully accepted).

  13. #53
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Cool

    The Bootloader firmware resides in PIC Flash memory.

    You load it into the PIC Flash using the Simple ISCP programmer, or any other program use use. This is a one off programing of the PIC (until you erase the chip)

    There after, you load your programs into the pic using RS232 via the USART pins of the pic.

    Not sure on the exact details of how it works, but the bootloader in the pic erases or overwrites the existing program with the new program.

    In part yes it is a 2 step process, but only the first time you load the bootloader firmware.

    You need to use a MAX232 style chip to load your programs (or a USB converter with RS232 outputs).

    Get a MAX232 chip, half a dozen 10uF Caps and some V Board.

    I use 3 wires from the serial port, TX, RX GND - connected to a MAX232 chip, in turn connected to the PIC.

    See my last post about the software for loading the Bootloader Firmware.

    happy days.
    J

  14. #54
    NewBoy's Avatar
    NewBoy Guest


    Did you find this post helpful? Yes | No

    Default Stuck

    Thanks Squibcakes.

    I'm perplexed. I'll tell you what I've done.

    I have an MELABS USB Programmer and a handful of 16F88s.
    I have Proton IDE+Microloader and TinyLoader.

    What I want to achieve:
    In-circuit serial programming in my own designed pcbs.

    How far have I got?
    Halfway.
    I can programme from the USB Programmer fine. All functions work.
    So far, so good.

    I have a serial PCB with MAX232 and a ZIF socket.
    This is where it all goes wrong.

    Here is what I have done:-
    I transfer the 16F88 from the programmer to the serial PCB.
    I connect cable and switch it all on.
    I then try loading a 3 line programme using Microloader.
    Cannot load, press reset numerous times - no joy.
    I then try Tinyloader - cannot find PIC.
    (COM setting correct and I've tried every baud option)
    No joy. Neither can recognise the presence of a PIC.

    What I have checked on serial pcb +MAx232 (or equiv.).
    1. Power.
    2. RS232 voltages fine (nom +/-10V)
    3. Reset conencted.
    4. Connections to Rb6 and Rb7. Fine.
    5. Optionally taken Rb3 to ground via resistor.

    Then connected oscillioscope:
    1. Connected to; MCLR, Rb7 and Rb6 on 16F88.
    2. On USB Programmer it does a Reset .... 7mS .... activity on Rb7 & Rb6.
    3. On serial card (using Microloader) it does Reset ... repeated 250uS pulse on Rb7, nothing on Rb6.
    4. On serial card (using Tinyloader) it holds reset down and double pulses Rb7. (Why it holds reset down - regardless of 'options' settings is odd.)

    But there seems to be no response from the 16F88.

    Stick it back in the programmer and all is fine!

    Sadly, I need the ICSP for 2 reasons:
    a) So I can test programme in-situ (like everyone else does).
    b) Proton Microloader only supports COMs (as does Tinyloader??)
    c) Be able to programme device using a simple serial cable and not have to use USB programmer. i.e. a box with a serial port on the side.

    So, assuming my serial card with MAX232 isn't wrong (and all the pin measurements say its OK), what haven't I done?

    Keep in mind this is my first forray into PIC programming. I've only used PICAXE and Stamp previously.

    Copious thanks to the first person who prevents me having to buy Just For Men!

  15. #55
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Red face

    I see where you are going wrong...

    STEP ONE
    ----------
    Firstly, what Frequency is your chip running at?

    If 8Mhz internal clock, load tinybld16F88_i8MHz __19200.HEX file into the Pic Flash using ICSP (pins 6+7).

    If 20Mhz, then use the tinybld16F88_20MHz_115200.HEX file.

    The above is done once only into your newly erased chip.

    STEP TWO
    -----------

    The max chip should be connected to Pin 8 - RB2(RX Data), and Pin 11 - RB5 (TX Data). These Pins are for transfering your actual program to the PIC. Use TinyBootloader to transfer your program. You will need to be able to reset the MCLR line before downloading the program.

    If you just want to use ICSP on your already made board.. than you may not be able to use the above example. Just use basic ICSP only, forget tinyBootloader..... else you will need to modify the board so that you can program via pins 8 + 11 (Via Max232 of course ).

    Hope this is clears the air.

    Cheers
    J

  16. #56
    NewBoy's Avatar
    NewBoy Guest


    Did you find this post helpful? Yes | No

    Default

    Squibcakes.
    You are a GOD!

    I had been told to connect the MAX232 circuit as per Proton manual into PG7 and PG6. (I think in fairness this was a minor incorrect extrapolation of muddling pinouts from 2 different data sheets).

    Anyway, end result is that it works. Thanks to you.
    Everything is fine.
    Much appreciated!!!!!!!!

  17. #57
    amane's Avatar
    amane Guest


    Did you find this post helpful? Yes | No

    Default WinPic800 and JDM programmer

    I've been using WinPic800 to program PIC18LF4620 using my PC's serial port. It's working fine. I used JDM programmer as the hardware settings. I connected the PC to the programmer using DB9 to ICSP cable. I'm thinking of getting myself a development board with PIC18LF4620. The board comes with ICSP connector that uses PGC, PGD, /MCLR, 3.3Vdc and GND to connect to the PIC and program it. I'm wondering whether will I be able to use the JDM programmer settings using a DB9 to ICSP cable to program the board. The board is going to cost me a huge sum of money and I wanted to be sure that I have the necessary tools to program it. Thanks!

  18. #58
    Join Date
    Apr 2006
    Posts
    4


    Did you find this post helpful? Yes | No

    Question microchip programmer like picwin for programing 16f 676

    i have downloaded details about picwin programmer . in this diode bat 42 component is reqd. which is not available . can anyone suggest the equilent diode. suggest me some good programmer details

  19. #59
    NewBoy's Avatar
    NewBoy Guest


    Did you find this post helpful? Yes | No

    Default

    Re: BAT 42

    I've found that BAT43, BAT48 and BAT85 all worked fine in my ICSP.

    I don't know anything about the programmer you mention but I guess they're simply specifying a small signal, fast, Schottky diode.

    If you don't mind a fatter diode then a 1N5818 will probably do.

    I've never tried a 'normal' signal diode, it may work, but no doubt you will messages of doom about them.

  20. #60
    BruMans's Avatar
    BruMans Guest


    Did you find this post helpful? Yes | No

    Default

    i guess BAT42 can be replaced by 1N5820 Diode

  21. #61
    jwildes's Avatar
    jwildes Guest


    Did you find this post helpful? Yes | No

    Smile Very Simple ICSP Programmer Working fine with 16F628A

    Hi guys,

    I made the programmer with 3 resistors and using the ICPICPROG 1.0D.
    I was confused with the pins connection between COM port and the PIC IC.
    I connect to 16F628A as below:

    TXD (Pin 3) -----[4.7K]------ MCLR/VPP ( Pin 4)

    GND (Pin 5) ----------------- Vss (Pin 5)

    DTR (Pin 4 ) -----[4.7K]------ RB 7 /PGD (Pin 13)

    CTS (Pin 8) ----------------- RB 7 /PGD (Pin 13)

    RTS (Pin 7) -----[4.7K]------ RB 6 /PGC (Pin 12)

    The ICprog run fine at Windows 98SE.
    Under XP Pro SP2 the program show error : Privileged Instruction...

    How i can use ICprog under XP Pro?

  22. #62
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jwildes
    Under XP Pro SP2 the program show error : Privileged Instruction...

    How i can use ICprog under XP Pro?
    Install the IC-Prog NT/2000 driver

    The driver can be found HERE

    You should also have a look at WinPIC
    Last edited by NavMicroSystems; - 12th May 2006 at 18:44.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  23. #63
    Join Date
    Apr 2006
    Posts
    4


    Did you find this post helpful? Yes | No

    Default winpic programmer

    i have prepared the pcb serial 9 pin interface given with the download use external supply and 7812 to regulate.
    i am getting the message programmer not initialised , their is no interface , how i can check the interface and please some one help me in running this programmer . i want to program 16f676

  24. #64
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Please provide at least the name of your interface (JDM or else) and your device programmer software... as there's few suggestion hre

    12Volt could work, but by the PIC spec, VPP should be 13Volts. So i can't safely says if it's caused by this or not. Even worst.. i don't use any of the previous for PICs. I used PonyProg and IC-Prog with SI-Prog for my on-the road radio decode service in the past. Worked good. But now, as some of my UK and US customer, we use my URD-1 decode dongle.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  25. #65
    Join Date
    Oct 2005
    Location
    Stuttgart, Germany
    Posts
    24


    Did you find this post helpful? Yes | No

    Exclamation

    Hi everyone.

    I tried suggested in the first post connection for high-voltage programming of PIC16F877A. Programmed uC with IC-Prog, with suggested above settings.Works flowless, no problem at all.
    However!
    There seems to be a problem with the bootloader. If you use the bootloader for PIC16F877, it will not work. And since there is no other bootloader included with older versions of MicroCode Studio Plus, one has a problem.
    So, if you want to work with PIC16F877A, you must upgrade to the latest MicroCode Studio Plus version (they have new loader files and they work with 877A), or you have to request it by email from Mecanique.

    Hope this info saves somebody some time

  26. #66
    Join Date
    Apr 2006
    Posts
    4


    Did you find this post helpful? Yes | No

    Default winpic programmer

    i have downloaded this programmer , prepare the hardware . but as i am putting it to pc thorgh serial port wire, message " programmer not initialised"
    please feedback me how i check the fault. i want to program 16 f676 , suggest some way

  27. #67
    Alex200's Avatar
    Alex200 Guest


    Did you find this post helpful? Yes | No

    Default

    Hello all,

    My levels at my COM are 10.4V and on another computer are 11.8V. Is the programmer going to work?

  28. #68
    Join Date
    Apr 2006
    Posts
    4


    Did you find this post helpful? Yes | No

    Default 16 f 676 chip programming

    i have made win pic programmer , as i am interfacing some time programmer shows interface ok but i am unable to programe the code. i have prepared the hex by mplab 7.1 ide. pl send me simple code for 16 f 676 chip to check if code are written wrong , or some programmer trouble . pl suggest me

  29. #69


    Did you find this post helpful? Yes | No

    Talking After 6 months of flawless use

    Hey Squibcakes-

    Just to say thank you for posting this project to the Forum way back when.
    I have just completed 6 months of work on a 2 way comms project using DTMF signalling, and I have to tell you that not having to take out the PIC every time I program is an absolute pleasure and revolutionised my programming life. Also, where in the world can you make up a complete working programmer for the cost of 1 DB9 connector, 3 resistors, and some shrink tubing?

    The Picstart is now gathering dust in the cupboard, as ICprog and the Squibcakes programmer does everything I want it to do.

    Further on the discussion about programming voltages, I found that the programmer would not work with Vprog less than 11.5v, and as my laptop/USB-Serial only gives out 9.5v, I have to stick to my desktop

  30. #70
    Steffen44's Avatar
    Steffen44 Guest


    Did you find this post helpful? Yes | No

    Default

    Hallo@all

    I need help to connect my 16F877 PIC with the Resistors/Serial Port.
    I does not work with the 5 Volt Power Supply.

    what i have for 16F877 is :

    TXD (3) ------[4.7k]-------VPP/MCLR

    GND (5) -----------------VSS (GND)

    DTR (4) -------[4.7k]----RB7/PGD (DATA ???)

    CTS (8) -----------------RB3/PGM (DATA ???)

    RTS (7) -------[4.7k]----RB6/PGC/CLK

    are the Connetions wrong ? I dont know ?
    IC Prog tells me the Error Code on 0000h.



    What stands the two data lines for ?!
    DTR (4) -------[4.7k]------DATA (????)
    CTS (8) ------------------DATA (????)


    Regards
    Steffen

  31. #71
    Join Date
    Mar 2006
    Location
    Hyderabad (India)
    Posts
    123


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by charudatt View Post
    I am not able to Program any PIC using the Simple Interface suggested. I am using Windows XP (SP2).

    I get Programming failed at Dataaddress 000000h. Any help or suggestion. I am using ICP, Windows API , I/O delay 1. I tried changing these setting to diffrent settings but could not get the Chip to Prog. I am trying to Prog F72, F873A and F876
    Hi Charudatt,
    1. please check whether the programmer has external 13.5 volts for Vpp if the derived voltage from COM port is used, pl ensure its value by measurement.

    2. Please try winpic800 programme and see. www.winpic800.com
    Regards,
    Sarma

  32. #72
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Originally Posted by charudatt
    I am not able to Program any PIC using the Simple Interface suggested. I am using Windows XP (SP2).

    I get Programming failed at Dataaddress 000000h. Any help or suggestion. I am using ICP, Windows API , I/O delay 1. I tried changing these setting to diffrent settings but could not get the Chip to Prog. I am trying to Prog F72, F873A and F876

    Quote Originally Posted by mvs_sarma View Post
    Hi Charudatt,
    1. please check whether the programmer has external 13.5 volts for Vpp if the derived voltage from COM port is used, pl ensure its value by measurement.

    2. Please try winpic800 programme and see. www.winpic800.com
    That 1st post was over 1 1/2 years ago... Ya think he might have it figured out by now or had moved onto a different project... I'd doubt if he's sitting in front of his monitor staring into it waiting for another answer

  33. #73
    Join Date
    May 2004
    Posts
    81


    Did you find this post helpful? Yes | No

    Question

    Ok, I don't know what Im missing here....

    I used the circuit after reading through this thread... actualy seems to be no problems with programming. Im using IC-PROG, load a simple hex file made from the pbp samples code to blink an LED on port 1. Im not using any external oscilators.

    When I program, no problems. Read back it verifies correctly. Just to be sure I shut the whole thing down, restarted IC-PROG, and reloaded from the pic and there is indeed code in there.

    When I pull pic out of the circuit and try to plug into simmple LED blink circuit, nothing happens. Blink circuit is nothing more than 5V+ on VDD, GND on VSS, Cathode of LED to ground, and Anode of LED to Pin 6 (RB0)..

    Im using PIC16F818... Am I missing a config fues some where? its been over two years since ive toyed with these things so I cant remember what my set ups were back then

    thanks in advance


    oh yeah, and I already bought the programmer off e-bay... just waiting for it to show up from Hong kong... mean while this is all ive got and i have to start getting work on this project going.

  34. #74
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bearpawz View Post
    Ok, I don't know what Im missing here....

    I used the circuit after reading through this thread... actualy seems to be no problems with programming. Im using IC-PROG, load a simple hex file made from the pbp samples code to blink an LED on port 1. Im not using any external oscilators.

    When I program, no problems. Read back it verifies correctly. Just to be sure I shut the whole thing down, restarted IC-PROG, and reloaded from the pic and there is indeed code in there.

    When I pull pic out of the circuit and try to plug into simmple LED blink circuit, nothing happens. Blink circuit is nothing more than 5V+ on VDD, GND on VSS, Cathode of LED to ground, and Anode of LED to Pin 6 (RB0)..

    Im using PIC16F818... Am I missing a config fues some where? its been over two years since ive toyed with these things so I cant remember what my set ups were back then

    thanks in advance


    oh yeah, and I already bought the programmer off e-bay... just waiting for it to show up from Hong kong... mean while this is all ive got and i have to start getting work on this project going.


    MCLR pulled up to +5?

  35. #75
    Join Date
    May 2004
    Posts
    81


    Did you find this post helpful? Yes | No

    Default

    Actually, its not programming as nice as I thought. Not it seems hit or miss as to weather or not it fails. This is the scheme I have:


    +12V------- LM7805 -------+5V------O |-- ->VDD(14)
    | (switch)
    |
    GND/Vss




    RS232 PIC16F818
    TXD (3) ------[4.7] -------- VPP (4)
    GND (5) -------------------- VSS (5)
    DTR (4) ------[4.7]--------- PGD (13)
    CTS (8) -------------------- PGD (13)
    RTS (7) ------[4.7]--------- CLK (12)



    ICPROG SETTINGS:
    JDM Programmer on COM2, I/o Delay = 20, Direct I/O

    I created a small program to blink an LED: Progam with these settings:

    Oscilator = INTrc
    Code Protect = OFF
    Write Enable = OFF
    Fuses:
    WDT = 1
    PWRT = 1
    MCLR = 0
    BODEN = 1
    LVP = 0
    CPD = 0
    DEBUGGER = 0
    CCPMX = 1


    All in all just a head ache of problems... I sure hope my JDM programmer I bought of ebay comes in tomorrow... been over a week for "Air mail" to show up...

  36. #76
    Join Date
    Mar 2006
    Location
    Hyderabad (India)
    Posts
    123


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    ......................That 1st post was over 1 1/2 years ago... Ya think he might have it figured out by now or had moved onto a different project... I'd doubt if he's sitting in front of his monitor staring into it waiting for another answer
    Hi Skimask, you are right-- i too noticed it jsut after posting-- however, even if it is useful to anybody else, it serves-- coming to using winpic800 (ver3.60)programm, the hardware under concern is to be treated similar to propic 2 while configuring the hardware under winpic800 - this what the orginal hardware designer suggested.

    i agree and this helps only to locate winpic800 drivers, which are really good.
    Regards,
    Sarma

  37. #77
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Wink

    Bearpawz,

    Show us your basic blink code and maybe we can figure it out. BTW did you use a dropping resistor on that LED? If not you may have blow up your IC. Don't suppose the polarity is around the wrong way?

    Oh yeah, Winpic800 is a much quicker at programming than IC prog.. I suggest using that now days.

    DTR/CTS lines connected to the data I/O are for Program reading and writing of the chip.

    Cheers and....


    Happy New Year to All

    Squib

  38. #78
    NewBoy's Avatar
    NewBoy Guest


    Did you find this post helpful? Yes | No

    Wink

    As Skimask says: do you have a pull-up res for MCLR pin in your LED blink circuit? 4K7 is hte commonly used value though higher vals will work with care.
    Is your blink circuit power supply good? (With decoupling capacitors where necessary?)
    As Squibcakes says: Do you have a dropping/limiting resistor for your LED? 470R to 2K2 should be fine unless you have a superfast 'blink'.

    Is it possible to include res+LED etc in your programming circuit to save transferring PIC to the other board? (Just for testing).

    If you go the bootloader route I can post a simple transistor circuit for programming via Tx and RX pins. (Easier/cheaper than MAX232 method though obv not true RS232 but it works 100%with the 6 PCs I've tried it with. No guarantees as i don't know how good your soldering is)

  39. #79
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Sorry all, but i would suggest you buy a Microchip PICKIT2 programmer. It's still <50$ and work perfectly (at least the few time i used it on the road).

    I see a lot of problem here and there using those JDM etc etc few bucks programmer and free software. Now with Windows and USB to serial etc etc, it's getting hard to make them working.

    If you have an old PC running windows '98 it could work better.

    Your PC don't have DB9? buy a i/o card OR a USB programmer. The USB programmer like PICKIT 2 is still cheaper than an i/o card so far.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  40. #80
    Join Date
    May 2004
    Posts
    81


    Did you find this post helpful? Yes | No

    Default

    The blink code is a copy and paste from the PBP samples folder. Just added a few extra configuration lines... (oscon etc).

    When the pic is flashed there is no problems with the program running correctly. The problem is more getting it to program the pic in the first place. Sometimes it works... more often it doesnt. Especialy if start getting complicated programs.

    PS: My little programmer I bought on ebay is still a no show... how long does it take to get from Hong Kong to us via "air mail"?

Similar Threads

  1. Melabs U2 Programmer Command Line Options
    By Robert Wells in forum General
    Replies: 5
    Last Post: - 3rd July 2009, 03:11
  2. Soic Icsp
    By earltyso in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th September 2008, 20:51
  3. Replies: 1
    Last Post: - 11th December 2007, 00:57
  4. problems with USB programmer
    By malc-c in forum General
    Replies: 7
    Last Post: - 10th May 2007, 21:14
  5. USB programmer problems
    By uiucee2003 in forum USB
    Replies: 2
    Last Post: - 16th August 2006, 00:47

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts