+ Reply to Thread
Results 1 to 7 of 7

Thread: Wich PIC Programmer is best???

  1. #1
    ravmonster Newbie
    Join Date
    Aug 2009
    Posts
    7

    Default Wich PIC Programmer is best???

    hi i'm new to PICs and
    I want to learn how to Program a PIC
    and For the first step i would like to build a PIC Programmer
    i have search Google and Yahoo For schematics of PIC Programmer


  2. #2
    deansmith Newbie
    Join Date
    Jan 2007
    Location
    English-live in Germany
    Posts
    38

    Default

    Nigel Goodwins page is a good place to start Nigel's PIC Tutorial Page. I started with a velleman kit 8048. it comes with program examples
    MPASM and Progpic, and of course schematic diagram.

  3. #3
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,711
    Blog Entries
    5

    Default

    Search these forums for PICkit2 or Junebug.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  4. #4
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,464
    Blog Entries
    11

    Default Junebug and PICkit2

    The Junebug and PICkit2 have software written and maintained by Microchip. That is a huge advantage.

    Both can be used to debug PIC chips with hardware breakpoints. All but the very small PICs do.

    Both can be used as simple 4 channel logical analyzer.

    Both can be used as simple tool to route TTL level to view ASCII from the PIC or other device.

    I have not tried it but Bill tells us the Junebug will function as serial analyzer (supporting I2C™, SMBus, SPI and USART protocols) if you are willing to swap out the PIC18F2550 with another 18F2550 can program using the junebug. You can not do the with the PICkit2.

    It functions the same as this analyzer.
    PICkit Serial Analyzer



    3v0
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

  5. #5
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,711
    Blog Entries
    5

    Default

    Hi 3V0, yes because the Junebug has the I2C connections on the top header it can be reflashed to work as a Serial Analyzer. I've been using the I2C master mode to test I2C devices and it works great. The genuine SA also reports on bus level (a feature not supported by a Junebug or PK2)

    Here's someone who's modded their PK2 for use as a SA.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  6. #6
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,464
    Blog Entries
    11

    Default

    Bill's post on doing the conversion is here
    Just testing, Turn your Junebug into a PICKit2 Serial Analyzer *with a second 18F2550

    The important thing is the hex file it links to. You will need it to program the new 18F2550

    I have been playing with the analyzer for the last hour or so. Mostly reading the documentation
    http://ww1.microchip.com/downloads/e...Doc/51647C.pdf

    At least in the I2C mode it can be set as a master or slave to take part in I2C transactions.

    3v0
    Last edited by 3v0; 28th August 2009 at 07:22 PM.
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

  7. #7
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,711
    Blog Entries
    5

    Default

    I find I2C is trickier than SPI so I welcome the SA.
    Here's something I wrote to test the I2C on a PICDEM Explorer HPC Board I had laying around.

    This simple program worked first time. It reads from the onboard TC74 I2C temperature sensor and displays the result on the 8 LEDs on PORTD every 200ms.
    Code:
    Device = 18F8722
    Clock = 4
    
    Include "I2C.BAS"                   
    Const TC74  = $9A                   // default TC74 V5 address 
     
    Dim Value As Byte,
        Address As Word
    
    OSCCON = $62                        // 4MHz internal OSC
    TRISD = $00
    I2C.Initialize
    
     // read the data back...
    While (1=1)
    I2C.Start
    I2C.WriteByte(TC74)
    I2C.WriteByte($00)        
    I2C.Restart                         
    I2C.WriteByte(TC74 + 1)             // change to I2C read
    Value = I2C.ReadByte
    I2C.Acknowledge(I2C_NOT_ACKNOWLEDGE)
    I2C.Stop
      
        PORTD = Value                      
        DelayMS(200)
     
    Wend
    End
    
    Last edited by blueroomelectronics; 28th August 2009 at 07:34 PM.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

+ Reply to Thread

Similar Threads

  1. wich C compiler is the best?
    By Hesam Kamalan in forum Micro Controllers
    Replies: 8
    Latest: 10th July 2006, 01:20 AM
  2. Wich PIC? 8 analog in, I2C out.
    By Odin in forum Micro Controllers
    Replies: 4
    Latest: 16th August 2004, 04:25 PM
  3. Wich PIC to choose!?
    By Lac in forum Micro Controllers
    Replies: 7
    Latest: 19th March 2004, 10:13 PM
  4. wich one is better?
    By bogdanfirst in forum General Electronics Chat
    Replies: 2
    Latest: 1st October 2003, 11:17 AM
  5. Wich one is +/-
    By egh01 in forum General Electronics Chat
    Replies: 3
    Latest: 15th September 2003, 04:06 PM

Tags for this Thread