- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
PSoC 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solution to be found at end of this thread http://www.cypress.com/?app=forum&id=1573&rID=86197
Happy regedit.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And you really de- and re-installed Designer?
Are there any non-ASCII characters in your username?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I uninstalled and reinstalled. Also the name of the project is called " EMVSirenDetector".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are missing the closing bracket for the while loop.
"}"
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And -
LCD_PrHexInt(ADCResult)
should be changed to
LCD_PrHexInt(ADCResult);
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or post a tech case at for direct factory support -
“Support”
“Technical Support”
“Create a MyCase”
Regards, Dana.