Converting projectd from MPlab v8 to Mplabx

Author
avinash.bharatwaj
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2017/09/04 00:44:36
  • Location: 0
  • Status: offline
2017/09/14 05:38:07 (permalink)
0

Converting projectd from MPlab v8 to Mplabx

Hi All,
I have a project in mplab v8 and I have to convert it to mplabx. The project has two .mcp files. When I try to convert it, I get these errors- "Cannot delete file Makefile in Directory.", "other has different root". I am beginning with PIC controllers and I have no idea why I get this error. I also have one more question, Can we open the .mcw file in mplabx?
I use the PIC32 Ethernet starter kit
#1

13 Replies Related Threads

    jartim
    Bit basher
    • Total Posts : 68
    • Reward points : 0
    • Joined: 2017/07/07 00:28:33
    • Location: 0
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/14 09:08:22 (permalink)
    0
    Your MPLAB-8 project should only have ONE .mcp file, and maybe one .mcw file.  In MPLAB-X, "import" the .mcp file using <File><Import><MPLAB v8 Project>.  MPLAB-X projects are stored as a separate folder and not as .mcp/.mcw files so you will see additional folders appear after the import.
    #2
    avinash.bharatwaj
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2017/09/04 00:44:36
    • Location: 0
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/14 23:59:08 (permalink)
    0
    Thank you !
    but when I do that, it says "Other has different root" and "cannot delete file Makefile"
    #3
    vloki
    Jo, alla!
    • Total Posts : 6785
    • Reward points : 0
    • Joined: 2007/10/15 00:51:49
    • Location: Germany
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/15 02:17:33 (permalink)
    0
    The project files all have to be located at the same drive.
    Copy the missing files to the projects drive.
    Create a copy of the mcp file and modify the path of the moved files in a text editor
    and try again...
     
    (If this not help, it should be easy to set up the MPLAB-X project
    manually with the info found in the mcp file)

    Uffbasse !
    #4
    RISC
    Super Member
    • Total Posts : 5359
    • Reward points : 0
    • Status: online
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/15 14:27:31 (permalink)
    +1 (1)
    Hi,
    There is a tutorial here to convert projects : 
    http://microchipdeveloper.com/mplabx:convert-an-mplab-8-project-to-mplab-x
    Regards
     
    #5
    avinash.bharatwaj
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2017/09/04 00:44:36
    • Location: 0
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/18 01:47:56 (permalink)
    0
    Thanks all !
    @vloki : All my project files are located at the same drive and there are no missing files as well but I still get the errors.
    @RISC : I have checked at the tutorial and followed them to no avail.
     
    My doubt is, My project has an Application.mcp and Bootloader.mcp. I can convert the Bootloader.mcp without any problem. I have these troubles only when  converting the Application.mcp and I cant seem to find why this happens !
    #6
    qhb
    Superb Member
    • Total Posts : 7898
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/18 02:06:24 (permalink)
    +1 (1)
    avinash.bharatwaj
    ...
    My doubt is, My project has an Application.mcp and Bootloader.mcp.

    That is two separate projects then.
    They might be two parts of the same product to you, but they are separate projects from MPLAB's point of view.
     
    I can convert the Bootloader.mcp without any problem. I have these troubles only when  converting the Application.mcp and I cant seem to find why this happens !

    The bootloader probably looks like a very standard project, as it will be sitting at the bottom of memory.
    The application will have been relocated to allow it to load above the bootloader, so will have a modified linker file.
     
     
    #7
    RISC
    Super Member
    • Total Posts : 5359
    • Reward points : 0
    • Status: online
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/18 14:17:02 (permalink)
    0
    Hi,
    Where did you take this project ?
    Is it your project or an example project you downloaded from internet ?
    Your board is PIC32 ethernet starter kit or PIC32 ethernet starter kit II ?
    Regards
     
    #8
    avinash.bharatwaj
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2017/09/04 00:44:36
    • Location: 0
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/18 23:59:32 (permalink)
    0
    Hi ,
    It is a project from my company( 4 or 5 year old), where I am working currently.
    and my board is PIC32 Ethernet starter kit II.
    Thanks
    Avinash
    #9
    vloki
    Jo, alla!
    • Total Posts : 6785
    • Reward points : 0
    • Joined: 2007/10/15 00:51:49
    • Location: Germany
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/19 01:55:37 (permalink)
    +1 (1)
    How many files does the project contain?
    As I said above, there is nothing mysterious setting up the project from scratch.
    Create a new project and add the files manually.
     
    If possible you could post the mcp file here...

    Uffbasse !
    #10
    avinash.bharatwaj
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2017/09/04 00:44:36
    • Location: 0
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/20 01:08:06 (permalink)
    +1 (1)
    Thanks @vloki . I am going to try to set the project up from scratch. The project contains around 50 source files.
    I will keep you guys posted !
    Thank you for the help so far :)
    #11
    avinash.bharatwaj
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2017/09/04 00:44:36
    • Location: 0
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/29 00:50:38 (permalink)
    0
    Hi Guys ,

    I have created the project from the scratch but now I seem to get this error
    make: Makefile: No such file or directory
    make: *** No rule to make target 'Makefile'.  Stop.
    I have checked all the workarounds for this and nothing seems to fix it .
     
    and another question I have in mind is, How to link the bootloader and application . I know it is with linker files but I still have trouble understanding the logic behind it . Any material or something to understand it better ?
     
    Thanks
     
    #12
    vloki
    Jo, alla!
    • Total Posts : 6785
    • Reward points : 0
    • Joined: 2007/10/15 00:51:49
    • Location: Germany
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/29 01:07:00 (permalink)
    0
    avinash.bharatwaj
    I have created the project from the scratch but now I seem to get this error
    make: Makefile: No such file or directory...

    Once I solved this issue by copying a Makefile from another project.

    Uffbasse !
    #13
    avinash.bharatwaj
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2017/09/04 00:44:36
    • Location: 0
    • Status: offline
    Re: Converting projectd from MPlab v8 to Mplabx 2017/09/29 01:17:13 (permalink)
    0
    I tried that as well :(
    #14
    Jump to:
    © 2018 APG vNext Commercial Version 4.5