- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi to all,
this is the first time i am using creater 2.0 after biulding of sam[ple program given in Getting started with Psoc , I am Encountered with the problem,. the image i am attaching below.
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You cannot debug this PSoC3 version with Creator 2.0 (or newer). But you can exchange you old kit with a new one: http://www.cypress.com/?rID=61994
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some thoughts -
1) Does the board you are using have ES2 silicon on it ?
2) Is your project settings ES2 silicon ? It needs to match whatever the board is.
3) Your board have same project power settings ? Jumpers on board correct ?
4) Using correct USB connector if -030 board ? See attached.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see any problem in the attached image. The PSoC3ES2 silicon is no longer supported for PC 2.0 or later.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
so what should i select
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You cannot debug this PSoC3 version with Creator 2.0 (or newer). But you can exchange you old kit with a new one: http://www.cypress.com/?rID=61994
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#include <device.h>
void main()
{
uint16 count;
/* Initialize the PWMs */
PWM_1_Init();
PWM_2_Init();
for(;;)
{
/* Toggle an LED ON/OFF */
if (count == 0)
{
LED4_Write(~LED4_ReadDataReg());
}
count++ ;
}
}
/////////////// THIS IS THE ERROR I AM GETTING ///////////////////
---------------------------------------------------------------------------------------------------
WARNING: .\main.c:24: 'LED4_ReadDataReg': missing function-prototype
WARNING: .\main.c:24: 'LED4_Write': missing function-prototype
ERROR: .\main.c:24: 'LED4_Write': requires ANSI-style prototype The command 'c51.exe' failed with exit code '2'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ES2 silicon is not supported for Creator 2.1(!!!) or later, 2.0 will run ES2. Sou you are doing right. Keep in mind NOT to update to Creator 2.1 as long as you use this development kit. There is an exchange parogram by Cypress to get an updated development kit if you bought it originally.
The debug window you showed us looks perfect. The program has stopped where the yellow arrow is. As I can see, there is not much code within your for-loop, so what are you expecting is going to happen?
Happy coding
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ooops, totally wrong post! Where's my head?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The above said problem given in application note to toggle LEDs , where i went wrong , why i am not getting reqiured output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This time a correct post:
I cannot see why you expect a LED4_Write() to work nor can I see why it shouldn't.
When there are problems with a project it is always advisable to post the complete project here so that we all can have a look at the complete settings etc.
to do so: Build -> Clean Project
File -> Create Workspace Bundle (minimal)
and then upload the resulting archieve here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
bundle ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ziped bundle i am posting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yea, we had that problem formerly. Mail that file directly to me and I will post it here on your behalf.
mailto: briefe@jmeiersoftware.de
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sir,
i have mailed that file to your mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, I uploaded the file first, then I tried to open it. There is an error-message stating that the files are not complete. Did you really use "Create Workspacew Bundle" to get the archieve?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am once again mailing the file to email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, cannot handle email at this time, server has more headaches than only the powersupply. Can order a new one not before monday, will not get a new one before wednesday (cry!!!).
Someone else has to jump in please and accept the file to upload it here.
Bob