Build failed without error message

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jofo_817731
Level 1
Level 1

 Hi,

   

I am trying to build my project but it ends with "Build failed" and no explanation why. Log below.

   

I have looked at the Notice List, it shows 0 Errors, 0 Warnings, 0 Notes. I also tried to run all the commands below from the command line and they run without errors and produce the hex file. But not from PSoC Creator.  

   

I have another project that builds just fine so my installation seems ok. 

   

Any tips?

   

Cheers,
Jostein

   

 

   

--------------- Build Started: 06/11/2015 23:38:38 Project: Superdyno, Configuration: DP8051 Keil 9.51 Debug ---------------

   

The code generation step is up to date.

   

The compile step is up to date, no work needs to be done.

   

LIBX51.exe TRANSFER '.\DP8051_Keil_951\Debug\Adc.obj', '.\DP8051_Keil_951\Debug\Adc_INT.obj', '.\DP8051_Keil_951\Debug\Adc_PM.obj', '.\DP8051_Keil_951\Debug\Adc_theACLK.obj', '.\DP8051_Keil_951\Debug\AMux.obj', '.\DP8051_Keil_951\Debug\CyBootAsmKeil.obj', '.\DP8051_Keil_951\Debug\CyDmac.obj', '.\DP8051_Keil_951\Debug\CyFlash.obj', '.\DP8051_Keil_951\Debug\CyLib.obj', '.\DP8051_Keil_951\Debug\cymem.obj', '.\DP8051_Keil_951\Debug\cyPm.obj', '.\DP8051_Keil_951\Debug\CySpc.obj', '.\DP8051_Keil_951\Debug\cyutils.obj', '.\DP8051_Keil_951\Debug\KeilStart.obj', '.\DP8051_Keil_951\Debug\EgtMinus.obj', '.\DP8051_Keil_951\Debug\EgtPlus.obj', '.\DP8051_Keil_951\Debug\LoadCellMinus.obj', '.\DP8051_Keil_951\Debug\LoadCellPlus.obj', '.\DP8051_Keil_951\Debug\Pwm.obj', '.\DP8051_Keil_951\Debug\Pwm_PM.obj', '.\DP8051_Keil_951\Debug\RPM_Simulator.obj', '.\DP8051_Keil_951\Debug\TimerClock.obj', '.\DP8051_Keil_951\Debug\UsbUart.obj', '.\DP8051_Keil_951\Debug\UsbUart_cls.obj', '.\DP8051_Keil_951\Debug\UsbUart_descr.obj', '.\DP8051_Keil_951\Debug\UsbUart_drv.obj', '.\DP8051_Keil_951\Debug\UsbUart_episr.obj', '.\DP8051_Keil_951\Debug\UsbUart_hid.obj', '.\DP8051_Keil_951\Debug\UsbUart_std.obj', '.\DP8051_Keil_951\Debug\UsbUart_vnd.obj', '.\DP8051_Keil_951\Debug\UsbUart_audio.obj', '.\DP8051_Keil_951\Debug\UsbUart_boot.obj', '.\DP8051_Keil_951\Debug\UsbUart_cdc.obj', '.\DP8051_Keil_951\Debug\UsbUart_pm.obj', '.\DP8051_Keil_951\Debug\UsbUart_midi.obj', '.\DP8051_Keil_951\Debug\cyfitter_cfg.obj', '.\DP8051_Keil_951\Debug\Adc_Ext_CP_Clk.obj', '.\DP8051_Keil_951\Debug\DieTemp.obj', '.\DP8051_Keil_951\Debug\DynoRpmTimer.obj', '.\DP8051_Keil_951\Debug\DynoRpmTimer_PM.obj', '.\DP8051_Keil_951\Debug\DYNO_RPM_IN.obj', '.\DP8051_Keil_951\Debug\DynoRpmTimerIsr.obj', '.\DP8051_Keil_951\Debug\EngineRpmTimer.obj', '.\DP8051_Keil_951\Debug\EngineRpmTimer_PM.obj', '.\DP8051_Keil_951\Debug\EngineRpmTimerIsr.obj', '.\DP8051_Keil_951\Debug\ENGINE_RPM_IN.obj', '.\DP8051_Keil_951\Debug\Adc_IRQ.obj', '.\DP8051_Keil_951\Debug\UsbUart_Dm.obj', '.\DP8051_Keil_951\Debug\UsbUart_Dp.obj' TO '.\DP8051_Keil_951\Debug\Superdyno.lib'

   

LX51.exe '.\DP8051_Keil_951\Debug\main.obj', '.\DP8051_Keil_951\Debug\Superdyno.lib', 'd:\Program Files (x86)\Cypress\PSoC Creator\3.2\PSoC Creator\psoc\content\cycomponentlibrary\CyComponentLibrary.cylib\DP8051\DP8051_Keil_951\Debug\CyComponentLibrary.lib' TO '.\DP8051_Keil_951\Debug\Superdyno.omf' CODE RU RC(10) DW(16) WL(2) PR(.\DP8051_Keil_951\Debug/Superdyno.map) IX CL(XDATA(X:0x0000-X:0x1FFF)) CL(CODE(C:0x0000-C:0xFFFF)) CL(CONST(C:0x0000-C:0xFFFF))

   

Program Size: data=20.1 xdata=1170 const=1486 code=23643

   

OHx51.exe Superdyno.omf HEXFILE(Superdyno.ihx)

   

c8051-elf-omf2elf.exe Superdyno.omf Superdyno.elf

   

--------------- Build Failed: 06/11/2015 23:38:39 ---------------

0 Likes
1 Solution
Anonymous
Not applicable

The guys at Cypress just solved this for my system. Kudos to them for the effort.

   

We fixed  it by ensuring either of these keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Keil\Products\C51";
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Keil\Products\C51
had
a string entry named "Version" eg: "9.05"
and an entry named "path" to a valid location eg: "F:\Keil\c51\bin ", but any valid path should work

   

In my case,  in ....wow6432node... I had a "Version" of 9.05 but there was no "path". I just created a new string called path with a value like "c:\temp"
I think what might have happened is that I once had Keil installed, and the path no longer exists. Norton Registry cleaner probably removed the invalid path key somewhere along the line.

   

FYI I am presently at 3.3SP1.

   


If the other suggestions in this thread haven't worked, try that, and create a support case if it still doesn't work.

View solution in original post

0 Likes
12 Replies