View previous topic :: View next topic |
Author |
Message |
E_Blue
Joined: 13 Apr 2011 Posts: 417
|
Blank disassembly list depending on code |
Posted: Wed Aug 19, 2015 10:07 am |
|
|
I'm using MPLAB IDE v8.92 and CCS v5.048 to generate code for a PIC18F67J50.
I get three results depending on the code, even a single Enter can change the result.
1)I get the full disassembly list code.
2)I get one blank line.
3)I get one line with a single GOTO @cinit1
I search in this forum and see that happen old time ago with an early version of CCS compiler.
https://www.ccsinfo.com/forum/viewtopic.php?p=59447
This bug was solved or still alive until nowadays.
There's any considerations to take to work around this bug? _________________ Electric Blue |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Aug 20, 2015 12:12 am |
|
|
What are your Project / Build Options settings in MPLAB ? In the Debug
section, if I select None or Expanded COD format and compile, it says
"Failed to Load" and gives me a blank Disassembly Listing in the View
menu. If you use COFF format, it should work OK. |
|
|
E_Blue
Joined: 13 Apr 2011 Posts: 417
|
|
Posted: Thu Aug 20, 2015 6:04 am |
|
|
Yes I'm using COFF format.
The result changes according to the code. _________________ Electric Blue |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19541
|
|
Posted: Thu Aug 20, 2015 7:34 am |
|
|
I must admit, I have never seen this.
However I always compile _outside_ MPLAB. Don't know why, but it seems much easier to have proper control of the compile process, being confident that MPLAB will not change things, and seeing the compiler error messages directly, rather than having an extra layer that may hide things.
Try the experiment, with code that shows the problem, of compiling this outside. I'd guess there is going to be something like a warning being generated, and it is this that hiccups MPLAB.... |
|
|
E_Blue
Joined: 13 Apr 2011 Posts: 417
|
|
Posted: Thu Aug 20, 2015 8:09 am |
|
|
How do you compile outside the MPLAB?
Are you using CCS IDE?
I use MPLAB because I mostly compile to debug the program. _________________ Electric Blue |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19541
|
|
Posted: Thu Aug 20, 2015 8:26 am |
|
|
If you have the IDE yes, you can use this, otherwise just use a command line compile. |
|
|
|