Discussion in "8051 Discussion Forum" started by    Edward_    Dec 23, 2014.
Tue Dec 23 2014, 11:02 pm
#1
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
Wed Dec 24 2014, 12:36 am
#2


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
#3
Thanks for your reply

1. Yes I have the "debug" enable in the compiler. I have tested it both enabled and disabled.

2.

FilesSDCCinclude""=="" was unexpected at this time.

looks wrong to me also.

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
#4



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 ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am