cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

 Starting MAKE...

   

creating project.mk 

   

name translation failed on C:/Program\ Files\ (x86)/Cypress/PSOCDE~1/5.4/Common/CY110F~1 - 3

   

name translation failed on C:\Program - 2

   

name translation failed on Files - 2

   

name translation failed on (x86)\Cypress\PSOCDE~1\5.4\Common\CY110F~1\tools\include\CY8C29~1 - 3

   

CAUTION there are no library files

   

extra file name "-D_M8C" encountered

   

!E: cannot open output file "(x86)\Cypress\PSOCDE~1\5.4\Common\CY110F~1\tools\icppw.exe"

   

!E: cannot load source file "Files"; file not found

   

make: *** [obj/main.o] Error 1

0 Likes
Reply
10 Replies
Anonymous
Not applicable

For further clarification. This is my first project build for the new 5.4 PSoC Designer on a 64bit operating system. From what I heard it is now compatible with a 64bit operating OS. Not sure if this error is relevant to this, but it might be.

   

-Chris

0 Likes
Reply
JoMe_264151
Expert II

Solution to be found at end of this thread http://www.cypress.com/?app=forum&id=1573&rID=86197

   

 

   

Happy regedit.

   

Bob

0 Likes
Reply
Anonymous
Not applicable

 Thanks that fixed a part of the problem now im left with this:

   

Code:

   

//----------------------------------------------------------------------------

   

// C main line

   

//----------------------------------------------------------------------------

   

 

   

#include <m8c.h>        // part specific constants and macros

   

#include "PSoCAPI.h"    // PSoC API definitions for all User Modules

   

 

   

WORD ADCResult;

   

 

   

void main(void)

   

{

   

M8C_EnableGInt ; // Uncomment this line to enable Global Interrupts

   

// Insert your main routine code here.

   

   

PWM_Start(); // Start the PWM. 

   

PGA_Start(PGA_HIGHPOWER); // Start the PGA at high power

   

ADC_Start(ADC_HIGHPOWER); // Start the ADC at high power and start sampling

   

ADC_GetSamples(0); // Passing a zero to this function runs the ADC in continous sampling mode

   

LCD_Start(); // Start the LCD

   

LCD_Position(0,0);

   

LCD_PrCString("VIN: "); // Print the label Vin on the first line of the LCD

   

   

while(1)

   

{

   

while(!(ADC_fIsDataAvailable())); // Wait until the ADC is ready

   

ADCResult = ADC_iGetDataClearFlag(); // Read the ADC result

   

LCD_Position(0,5); // Print the ADC result on the LCD

   

LCD_PrHexInt(ADCResult)

   

}

   
        
   
    Output:   
   
    
     Starting MAKE...    
    
     Environment values missing    
    
     make: *** [makemake] Error 3    
    
     CAUTION there are no library files    
    
     make: *** No rule to make target `project.mk', needed by `output/.rom'.  Stop.    
    
          
    
     EMVSirenDetector - 2 error(s) 0 warning(s) 15:49:45    
   
0 Likes
Reply
JoMe_264151
Expert II

And you really de- and re-installed Designer?

   

Are there any non-ASCII characters in your username?

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

 Yes I uninstalled and reinstalled. Also the name of the project is called " EMVSirenDetector".

0 Likes
Reply
ETRO_SSN583
Esteemed Contributor

You are missing the closing bracket for the while loop.

   

 

   

"}"

   

 

   

Regards, Dana.

0 Likes
Reply
ETRO_SSN583
Esteemed Contributor

And -

   

 

   

LCD_PrHexInt(ADCResult)

   

 

   

should be changed to

   

 

   

LCD_PrHexInt(ADCResult);

   

 

   

 

   

 

   

Regards, Dana.

0 Likes
Reply
Anonymous
Not applicable

 Thanks Dana, but it seems as if that did not fix the problem I believe this is a software compatibility issue not anything code related because I'm getting errors relating to program files. Does anyone have this working for the 64bit operating system?

   

Code:

   

//----------------------------------------------------------------------------

   

// C main line

   

//----------------------------------------------------------------------------

   

 

   

#include <m8c.h>        // part specific constants and macros

   

#include "PSoCAPI.h"    // PSoC API definitions for all User Modules

   

 

   

WORD ADCResult;

   

 

   

void main(void)

   

{

   

M8C_EnableGInt ; // Uncomment this line to enable Global Interrupts

   

// Insert your main routine code here.

   

   

PWM_Start(); // Start the PWM. 

   

PGA_Start(PGA_HIGHPOWER); // Start the PGA at high power

   

ADC_Start(ADC_HIGHPOWER); // Start the ADC at high power and start sampling

   

ADC_GetSamples(0); // Passing a zero to this function runs the ADC in continous sampling mode

   

LCD_Start(); // Start the LCD

   

LCD_Position(0,0);

   

LCD_PrCString("VIN: "); // Print the label Vin on the first line of the LCD

   

   

while(1)

   

{

   

while(!(ADC_fIsDataAvailable())); // Wait until the ADC is ready

   

ADCResult = ADC_iGetDataClearFlag(); // Read the ADC result

   

LCD_Position(0,5); // Print the ADC result on the LCD

   

LCD_PrHexInt(ADCResult);

   

}

   

}

   

Output:

   

Starting MAKE...

   

creating project.mk 

   

name translation failed on C:/Program\ Files\ (x86)/Cypress/PSOCDE~1/5.4/Common/CY110F~1 - 3

   

name translation failed on C:\Program - 2

   

name translation failed on Files - 2

   

name translation failed on (x86)\Cypress\PSOCDE~1\5.4\Common\CY110F~1\tools\include\CY8C29~1 - 3

   

CAUTION there are no library files

   

extra file name "-D_M8C" encountered

   

!E: cannot open output file "(x86)\Cypress\PSOCDE~1\5.4\Common\CY110F~1\tools\icppw.exe"

   

!E: cannot load source file "Files"; file not found

   

make: *** [obj/main.o] Error 1

   

 

   

EMVSirenDetector - 3 error(s) 0 warning(s) 18:10:31

   
        
0 Likes
Reply
ETRO_SSN583
Esteemed Contributor

If you want I can try a compile under 32 bit to confirm. Just post an

   

archive, "File", "Archive Project", post with IE or Firefox, Chrome

   

has issues.

   

 

   

Regards, Dana.

0 Likes
Reply
ETRO_SSN583
Esteemed Contributor

Or post a tech case at for direct factory support -

   

   

www.cypress.com

   

“Support”

   

“Technical Support”

   

“Create a MyCase”

   

 

   

Regards, Dana.

   

0 Likes
Reply