Hi all,
I am following the tutorial:
Tutorial: PIC30 - Installing ERIKA and RT-Druid, and compile your first application on Windows hosts
So far so good, the last step states:
"You have now imported the COFF file inside MPLAB IDE. There is no need to create a MPLAB IDE Project, because the compilation process is handled by Eclipse. The Figure shows the Disassembly Listing and the Program Memory window. Please note that MPLAB IDE correctly recognizes the debug symbols of the source code produced inside Eclipse."
In my case a *.elf file was generated (for a pic32mx) but MPLAB IDE likes it.
But debuging with MPLAB SIMulator with Disassembly or Program Memory is a pain.
Is it possible to re-create the project with MPLAB IDE? (if that doesn't sound blasphemous :=) the simulation would be much friendly.
I started trying this, but had to give up as the structure of folders and finding the required files derailed me.
Thanks,
Rec
Is it possible to re-create project with MPLAB IDE?
Moderator: paolo.gai
Re: Is it possible to re-create project with MPLAB IDE?
We had a few years ago some instructions for doing that, but nobody used it after all and we stopped to support them. At the time we were compiling the EE library beforehand, and then after that we copied it in MPLAB to be linked with the other application code.
Anyway, I can confirm that as of today it is not possible to integrate the build environment as it is in MPLAB X. But note that since all the compilation process can be scripted it should not be that difficult to integrate. But noone did t yet.
About the current ELF - but what should happen is that the ELF file compiled with Eclipse should have all the debug symbols. so when you import in MPLAB X you should have all the right place, and when debugging you should be able to see the source code...
PJ
Anyway, I can confirm that as of today it is not possible to integrate the build environment as it is in MPLAB X. But note that since all the compilation process can be scripted it should not be that difficult to integrate. But noone did t yet.
About the current ELF - but what should happen is that the ELF file compiled with Eclipse should have all the debug symbols. so when you import in MPLAB X you should have all the right place, and when debugging you should be able to see the source code...
PJ
Re: Is it possible to re-create project with MPLAB IDE?
I just tried MPLAB X IDE and from this is easy to create a project for debugging and editing sources, starting from an existing ELF file.
So the easier way to integrate ERIKA for pic30 in a IDE is compiling from command line in Cygwin and using MPBLAB X with this kind of project.
I have to say that from my point of view the only think that MPLAB IDE is still in advantage respect MPLAB X is how the disassembly listing view works.
In all other aspect I say that MPLAB X has reached and more often surpassed the old brother.
See Ya,
Errico Guidieri
So the easier way to integrate ERIKA for pic30 in a IDE is compiling from command line in Cygwin and using MPBLAB X with this kind of project.
I have to say that from my point of view the only think that MPLAB IDE is still in advantage respect MPLAB X is how the disassembly listing view works.
In all other aspect I say that MPLAB X has reached and more often surpassed the old brother.
See Ya,
Errico Guidieri