Not applicable
Jan 04, 2017
12:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 04, 2017
12:03 AM
Hello, I do need your help,
I do need some break times to initalize an ENC28J60 component with a XMC1200 via Keil.
It works well in "Debug Mode" but not in real time.
For example: The Led will only go out in debug mode!
int volatile a = 0;
P0_0_set(); //Led On
do{
a += 1;
}while(a < 20000);
P0_0_reset(); //Led Out
I tried to change the "Optimization Option" of the Project without any success.
Thank you for any help,
Bernd
I do need some break times to initalize an ENC28J60 component with a XMC1200 via Keil.
It works well in "Debug Mode" but not in real time.
For example: The Led will only go out in debug mode!
int volatile a = 0;
P0_0_set(); //Led On
do{
a += 1;
}while(a < 20000);
P0_0_reset(); //Led Out
I tried to change the "Optimization Option" of the Project without any success.
Thank you for any help,
Bernd
- Tags:
- IFX
3 Replies
Jan 06, 2017
06:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 06, 2017
06:11 AM
you should not use "int". instead use uint8_t, uint16_t, int8_t, etc...
but this will not solve your problem
but this will not solve your problem
Not applicable
Jan 08, 2017
11:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 08, 2017
11:36 PM
My "Keil myVision5" compiler is the problem because of a lot of stupid mistakes.
I tried to make an update but it seems that Keil doesn't assisted Infineon anay more.
I have a support infineon case (3531032) but didn't get any feedback until now.
Regards,
Bernd
I tried to make an update but it seems that Keil doesn't assisted Infineon anay more.
I have a support infineon case (3531032) but didn't get any feedback until now.
Regards,
Bernd
Jan 11, 2017
11:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 11, 2017
11:22 PM
Hi,
Try with :
Regards,
Jesus
Try with :
int a = 0;
do
{
__nop();
a += 1;
} while (a < 20000);
Regards,
Jesus