Log in

View Full Version : PSoC Build error


adamdb
22-01-2010, 17:03
I keep getting the following error when I try to build the demo "PSoC Rocks" project:

Error: prj.M0043: error: No location was selected for the binaries of the tool chain "DP8051-Keil Generic". The tool chain will not build until a location is selected. Use Tools > Options > Project Management > Toolchain Settings to set the location of the appropriate binaries.

I have installed and re-installed 3 different ways now and still get the same thing. The Keil compiler was installed to C:\Keil and I have tried adding that in the menu option shown in the error above, along with trying several variations of sub-directories under C:\Keil.

Has anybody else seen this?

Adam

jhersh
23-01-2010, 06:00
I haven't seen that issue, but I do know you have to register the compiler with Keil before it will work. It's free for some amount of time, but it must be registered.

Just FYI, you don't have to program the PSoC if you are using it as I/O for the driver station. You only need to if you plan to use it on the robot.

-Joe

adamdb
23-01-2010, 11:31
I did register the compiler as well, with the same results. Very odd.

jhersh
23-01-2010, 13:07
I did register the compiler as well, with the same results. Very odd.

It looks like that settings window is only for ARM toolchains. Since you need to use the Keil 8051 tools, I think it doesn't apply to you. In my development tools that work fine, all those paths are empty. Perhaps you have created a project for a PSoC5 instead of a PSoC3.

adamdb
23-01-2010, 19:12
The project I am trying to download is the default "PSoC Rocks" project, but you may be right. There may be some settings in there somewhere that is indicating a different processor or project type.

norm365
05-02-2010, 15:24
If we do not need to program the PSoC to use the Advanced I/O functions, where do we find the pin assignments for the I/O: AO,AI,DO,DI ? I plugged in the PSoC and on the error log of the driver station it said it was either not plugged in properly or not programmed.

Mike Betts
05-02-2010, 15:42
If we do not need to program the PSoC to use the Advanced I/O functions, where do we find the pin assignments for the I/O: AO,AI,DO,DI ? ...

Is this (http://usfirst.org/uploadedFiles/Community/FRC/Game_and_Season__Info/2010_Assets/Cypress%20IO%20Pinout%20tables.pdf) what you are looking for?

Vikesrock
05-02-2010, 16:12
If we do not need to program the PSoC to use the Advanced I/O functions, where do we find the pin assignments for the I/O: AO,AI,DO,DI ? I plugged in the PSoC and on the error log of the driver station it said it was either not plugged in properly or not programmed.

You do still have to program it with the provided FIRST hex file as detailed towards the end of Chapter 2 of the Control System Manual.

Also, I remember seeing some teams mentioning that some uninstalling and reinstalling of the Driver Station Update and/or the Cypress software managed to fix issues with the PSoC not being recognized by the Classmate.

On the I/O tab of the Driver Station there is a Configure button that will allow you to setup some parameters of the PSoC if desired.

norm365
06-02-2010, 16:14
That is exactly what I was looking for. Thank you Mike & Kevin. Once we dig out of 18" of snow, we will make it to the robot to try it out!!

Norm