Problem with COM-Init

Discussion in 'Embedded Systems and Microcontrollers' started by Sparky49, Aug 24, 2011.

  1. Sparky49

    Thread Starter Well-Known Member

    Jul 16, 2011
    Hi all,

    I finally taken the plunge into the deep, dark world of PICs!

    However, I've come across a problem when trying to program the PIC itself.

    When I'm actually programming the PIC, a message pops up saying;


    I know the program is correct as it was a sample code I bought with the board, I've checked that it was converted to HEX for the correct PIC, but still this message pops up.

    Can anyone help me find the problem?

    I'm using the VM111 kit from Velleman, see here;

    It contains a 16F627.


  2. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    I've never used anything from Velleman, all my tools are from Microchip.

    Their webpage states the PC program is "software: PICprog Rev" which does not match the title of the window in your attachment.

    Are you sure you have selected the COM port your serial port is on?
  3. Sparky49

    Thread Starter Well-Known Member

    Jul 16, 2011

    I'm on a laptop so there is only one choice, and I made sure it was on by linking the laptop to the TV...

    The software I'm using is exactly the stuff that came with the kit. That's why I paid a bit more money for it, so I could be sure that it worked.

    Oh the irony...:rolleyes:
  4. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    Connected what to your TV? Are you confusing your video display adapter with a serial port?
  5. stahta01


    Jun 9, 2011
    Per ErnieM post, I would check the com port.

    The view/set button under configuration is likely set to the wrong com port.

    I am guessing you have an 9 pin rs-232 port on your computer and the cable from it goes to the programmer.

    If using an USB to rs232; you should confirm it works with the programmer.

    Tim S.
    Last edited: Aug 25, 2011
  6. strantor

    AAC Fanatic!

    Oct 3, 2010
    that's what I was thinking... quite odd to have a serial port on your t.v.; what would a TV even do with a serial port?
  7. Joshua Gobin

    New Member

    Mar 16, 2011
    Well a com init error is the result of one of two possible problems..1) the software u are using the load the hex file is installed incorrectly or is not supported by your system or 2) u have the wrong com port selected for loading your program