Are you using MCU 8051 IDE? Have you?
Discussion in "8051 Discussion Forum" started by Edward_ Dec 23, 2014.
Tue Dec 23 2014, 11:02 pm
Could anyone using MCE 8051 IDE please help me with a really easy question??
Why would compiling code result in a "Unable to find "LEDMatrix1.cdb" message?
I have never been able to compile a project in this IDE, no Hex file generated.
The complete compile report is:
Starting compiler ...
cd "C:\Program Files\MCU 8051 IDE\demo\LedMatrix1"
sdcc -mmcs51 --iram-size 256 --xram-size 0 --code-size 8192 --nooverlay --noinduction --verbose --debug -V --std-sdcc89 --model-small -I "C:Program FilesSDCCinclude" "LEDMatrix1.c"
FilesSDCCinclude""=="" was unexpected at this time.
Unable to find "LEDMatrix1.cdb"
|
+-- Most probably that indicates that you have disabled debugging switch, if it is not that what you want then go to
[Main Menu] --> [Configure] --> [Compiler configuration] --> [C language] --> [General] and enable "--debug" compiler switch.
Compilation successful
------------------------------
Any advice appreciated
Why would compiling code result in a "Unable to find "LEDMatrix1.cdb" message?
I have never been able to compile a project in this IDE, no Hex file generated.
The complete compile report is:
Starting compiler ...
cd "C:\Program Files\MCU 8051 IDE\demo\LedMatrix1"
sdcc -mmcs51 --iram-size 256 --xram-size 0 --code-size 8192 --nooverlay --noinduction --verbose --debug -V --std-sdcc89 --model-small -I "C:Program FilesSDCCinclude" "LEDMatrix1.c"
FilesSDCCinclude""=="" was unexpected at this time.
Unable to find "LEDMatrix1.cdb"
|
+-- Most probably that indicates that you have disabled debugging switch, if it is not that what you want then go to
[Main Menu] --> [Configure] --> [Compiler configuration] --> [C language] --> [General] and enable "--debug" compiler switch.
Compilation successful
------------------------------
Any advice appreciated
Wed Dec 24 2014, 12:36 am
Why would compiling code result in a "Unable to find "LEDMatrix1.cdb" message?Edward_
Have you checked that debugging is enabled as recommended here
go to
[Main Menu] --> [Configure] --> [Compiler configuration] -->
[C language] --> [General] and enable "--debug" compiler switch.
FilesSDCCinclude""=="" was unexpected at this time.
This looks wrong.
"C:Program FilesSDCCinclude" "LEDMatrix1.c"
Check that you have set up the path to "includes" correctly
in the IDE settings and in LEDMatrix1.c
I have never been able to compile a project in this IDE, no Hex file generated.Edward_
Creating the hex file is actually not part of the compilation process.
You may need to tick a settings box in the IDE or even run
a separate program.
Wed Dec 24 2014, 03:56 am
Thanks for your reply
1. Yes I have the "debug" enable in the compiler. I have tested it both enabled and disabled.
2.
3.
I must respectfully disagree with you on this. I just compiled a demo project that was included with MCU 8051 IDE and it Did create a Hex file. See compile results message below, the hex file it created can't be attached.
Compiling file: demo0.asm
Initializing pre-processor ...
Compiling ...
Creating IHEX8 ... -> "demo0.hex"
Creating object file ... -> "demo0.bin"
Creating assembler debug file ... -> "demo0.adf"
Creating code listing file ... -> "demo0.lst"
0 errors, 0 warnings
Compilation successful. (time: 1 sec.)
Sadly I'm getting no MCU 8051IDE forum replies or replies from their tech support message system after several days...
1. Yes I have the "debug" enable in the compiler. I have tested it both enabled and disabled.
2.
looks wrong to me also.FilesSDCCinclude""=="" was unexpected at this time.
3.
Creating the hex file is actually not part of the compilation process.
You may need to tick a settings box in the IDE or even run
a separate program.
I must respectfully disagree with you on this. I just compiled a demo project that was included with MCU 8051 IDE and it Did create a Hex file. See compile results message below, the hex file it created can't be attached.
Compiling file: demo0.asm
Initializing pre-processor ...
Compiling ...
Creating IHEX8 ... -> "demo0.hex"
Creating object file ... -> "demo0.bin"
Creating assembler debug file ... -> "demo0.adf"
Creating code listing file ... -> "demo0.lst"
0 errors, 0 warnings
Compilation successful. (time: 1 sec.)
Sadly I'm getting no MCU 8051IDE forum replies or replies from their tech support message system after several days...
Fri Dec 26 2014, 02:33 am
I must respectfully disagree with you on this. I just compiled a demo project that was included with MCU 8051 IDE and it Did create a Hex file.Edward_
The demo is in assembly, 'c' programs use the sdcc compiler.
There seems to be a bug in the way 'MCU 8051 IDE' handles
the Include path.
Go to
Configure-- >Configure compiler-->SDCC tab.
Leave "include path" blank.
Clear the "compile only tickbox"
create a very simple c program and try again.
[ Edited Fri Dec 26 2014, 02:38 am ]
Powered by e107 Forum System