Keil failes before debug mode

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
I debug some soft on Infineon C166 using Keil.
Yesterday the project was completely OK, I compiled, loaded and debugged everything.
Today when I try to lauch debug mode it says that "The program uVision4 failed. Close."
I am totally confused... Please help938.attach
0 Likes
14 Replies
Not applicable
Hi,

You may want to contact Keil directly for their technical support.
0 Likes
User9698
Level 3
Level 3
hi,
I started working with the "XC164CS-32F" in Keil C166 v7.54.0.
I started simple example of Keil.
when i compile code, Keil show this error:
Error: *** Device is not supported by Toolchain ! ***
the Keil C166 need special setting! or must use different compiler?
I Update Device database, but not solve.!
can any help?thanks very much.
0 Likes
Not applicable
Hi hemn,

Could you check the "About uVision" and see if you have the same compiler as mine?
1095.attach
I have no issue compiling the 'HELLO' example located in Keil example folder.
0 Likes
User9698
Level 3
Level 3
hi Jackson.
thanks.I have compiler same your compiler but in higher version.i am confused!!!
when open this example show this warning:
http://www.keil.com/download/docs/284.asp
"C166LEDBLINKER.ZIP"
1096.attach

and in database haven't XC167CI,but there is XC167CI-32F and XC167CI-16F,after change target to the XC167CI-32F or XC167CI-16F ,show this error
Error: *** Device is not supported by Toolchain ! ***
0 Likes
User9698
Level 3
Level 3
Hi Jackson.
thanks.yes.
i have compiler same your but in higher version.


i open another example and have this error when open it:
this is link of Keil example:
http://www.keil.com/download/docs/284.asp


in database there isn't XC167CI! but have XC167CI-32F and XC167CI-16F
when i select one of these targets after compile have this error:
Error: *** Device is not supported by Toolchain ! ***
i am confused.!
thanks.
0 Likes
User9698
Level 3
Level 3
Hi Jackson.
thanks.yes.
i have compiler same your but in higher version.
0 Likes
User9698
Level 3
Level 3
i have compiler same your but in higher version.


i open another example and have this error when open it:
this is link of Keil example:
http://www.keil.com/download/docs/284.asp


in database there isn't XC167CI! but have XC167CI-32F and XC167CI-16F
when i select one of these targets after compile have this error:
Error: *** Device is not supported by Toolchain ! ***
i am confused.!
thanks.
0 Likes
Not applicable
Hi Hemn,

Do you have example under C166 folder?
C:\Keil\C166\Examples\XC16x Devices
0 Likes
User9698
Level 3
Level 3
Hi Jackson.
Yes i have.but have this error too..!
Error: *** Device is not supported by Toolchain ! ***
i open another example and have this error when open it:
this is link of Keil example:
http://www.keil.com/download/docs/284.asp
1096.attach

in database there isn't XC167CI! but have XC167CI-32F and XC167CI-16F
when i select one of these targets after compile have this error:
Error: *** Device is not supported by Toolchain ! ***
i am confused.!
thanks.
0 Likes
User9698
Level 3
Level 3
Hi Jackson.
Yes i have.but have this error too..!
Error: *** Device is not supported by Toolchain ! ***

this is link of Keil example:
http://www.keil.com/download/docs/284.asp
i open it example in Keil and have this error when open it:
sorry i can't load here!
"http://www.freeuploadsite.com/do.php?img=65615"


in database there isn't XC167CI! but have XC167CI-32F and XC167CI-16F.
when i select one of these targets after compile have this error:
Error: *** Device is not supported by Toolchain ! ***
i am confused.!:mad::(:(
thanks.
0 Likes
User9698
Level 3
Level 3
Hi Jackson.
Yes i have.but have this error too..!
Error: *** Device is not supported by Toolchain ! ***
this is link of Keil example:
keil.com/download/docs/284.asp
i open it example in Keil and have this error when open it:
sorry i can't load here!
freeuploadsite.com/do.php?img=65615"
in database there isn't XC167CI! but have XC167CI-32F and XC167CI-16F.
when i select one of these targets after compile have this error:
Error: *** Device is not supported by Toolchain ! ***
i am confused.!:mad::(:(
thanks.
0 Likes
Not applicable
Hi hemn,

Not sure is it because the uVision5 does not support C166.
I'm using uVision4 for C166 and it is working fine.
Is uVision5 comes by default in C166 development tool when you download from Keil?
0 Likes
User9698
Level 3
Level 3
Hi jackson.
I try with uVision4 and not work,that have this error too. do you have license for "uVision4"?
when i use Evaluation mode is work fine but limited for 4kbyte code.
when i add license, not work!
best regards.
0 Likes
Not applicable
Hi hemn,

Yes, I have license for my uVision4.
This seems to be the problem with the license or the Keil toolchain directly.
I would suggest you contact Keil directly to let their technical expert to assist you.
http://www.keil.com/support/
0 Likes