Microcode studio "device not found"


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2006
    Location
    Brussels, Belgium
    Posts
    104

    Default Microcode studio "device not found"

    I think I'm missing something really basic here. I've got a simple program that compiles easily with no faults in MPLAB. Open the file in meProg and it programs with no probs. I try it in Microcode Studio and I just get "Target device does not match selected device" when trying to program if MPASM is unchecked in the MCS Assembler options. If MPASM is checked it seems to think it can not find the c:\pbp\16f628a.inc

    I've noticed that MPLAB is using MPASM v5.0.1 whereas MCS is using v02.15

    Where do I tell MCS where to look for the right version assuming that is my problem ?
    If not, what is the problem ?

    MCS seems a much nicer programming tool than MPLAB but I can't get it to work

    Andrew

  2. #2
    Join Date
    Nov 2003
    Location
    Sao Paulo - Brazil
    Posts
    92


    Did you find this post helpful? Yes | No

    Default

    Hi Andrew,

    I had this problem two times : the first time in my Desktop computer and the second one in my Notebook.

    Both were fixed the same way :

    When the MPLAB was installed on my computers, the directories used were :

    C:\Program Files\Microchip\Docs
    C:\Program Files\Microchip\MpAM
    C:\Program Files\Microchip\MPASM Suite
    C:\Program Files\Microchip\MPLAB ASM30 Suite
    C:\Program Files\Microchip\MPLAB IDE
    C:\Program Files\Microchip\MPLAB IDE Common
    C:\Program Files\Microchip\Third Party

    When I started using the Darrel Instant interrupts I had to change to MPASM, but he <Find Automatically> button found the MPLAB installed by the Proteus VSM. I think that MCS uses the first MPASM found on the Disk, and the 16f877.inc could not be found.

    I had to change manually to (in my case) :

    C:\Program Files\microchip\mpasm suite

    And then, everything become ok !

    I hope this could help you !

    Bye

    Sérgio
    Last edited by srspinho; - 4th September 2007 at 17:31.

  3. #3
    Join Date
    Feb 2006
    Location
    Brussels, Belgium
    Posts
    104


    Did you find this post helpful? Yes | No

    Default

    Hi Sergio,

    That sorted out the MPASM version, thanks, but I'm still getting "Target device does not match selected device".

    Andrew

  4. #4
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    You are selecting the correct PIC in the dropdown list in MCS ?

    The other thing you can do is copy all the .inc files from the Microchip folder to the PBP folder

  5. #5
    Join Date
    Feb 2006
    Location
    Brussels, Belgium
    Posts
    104


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by malc-c View Post
    You are selecting the correct PIC in the dropdown list in MCS ?

    The other thing you can do is copy all the .inc files from the Microchip folder to the PBP folder
    Selected the correct PICS but they come up as

    Microcode Studio (3.0.0.5): 16F628A
    Melabs programmer (4.20 beta): PIC16F628A

    Does that matter ?

    Rooting around what I find for the .INC files is:

    PBP folder: M16F62XA.INC
    MPASM Suite folder: P16F628A.INC

    Again, does that matter ??

Similar Threads

  1. Code Folding - Microcode Studio Wish
    By Rob in forum PBP Wish List
    Replies: 4
    Last Post: - 6th December 2007, 09:11
  2. Microcode studio loader problem
    By woodygjw in forum General
    Replies: 2
    Last Post: - 10th September 2007, 01:18
  3. Microcode studio and USB pics
    By KPDes in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th May 2007, 09:28
  4. New error with MicroCode Studio?
    By jswayze in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th February 2006, 20:36
  5. How to used ICD of microcode studio
    By chai98a in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th November 2005, 00:29

Members who have read this thread : 0

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