Hi, I'm using a C167 microcontroller for a project. In order to do some tests I'm using the MCB167-NET development board. It used to work correctly. However I have tried to use it today and I can't connect to the board via uvision2. When I start the debug session I got the message "CONNECTION TO TARGET LOST". I have check the COM port and it is correct. I can't debug any program (I tried the samples as hello and blinky as describe in the user's guide). I have tried to connect with flashtools also but it doesn't work either. By the way, I can connect to the C167 card with flashtools without any problem. (That's I eventually did but I would prefer to use the development board) Is there any hard reset or something like that I could do? Thanks a lot for your help. Stephane
Have you confirmed your P0 configuration?
What do you mean by P0 configuration? I'm juste trying to send a program via RS232
16-bit Port P0 is used to configure the device out of RESET such as Clock frequency (PLL), bus type, chip selects and so on. A very important pin is P0L.4 with is the BootStrap Loader Enable. If these are not set correctly then you will have problems to run your program as it depends on these settings.
I don't have this jumper but I have a jumper called BSL which is correctly set on :"ON". Any ideas? Thanks for your help.
Can you tell me exactly what error message you are getting? Do you know if you can connect via BSL successfully without trying to download anything?
the exact message is "CONNECTION TO THE TARGET LOST". (in fact it seems to connect sometimes as the progressbar at the bottom is going to 100% so i think something has been loaded) I can't fully connect to the board even with flashtools (It justs start the connection protocol)
What is your crystal frequency and what are the PLL settings on P0. You should make sure the baudrate error for the UART is less than 2%. I would quicky try 9600 or 19200 and see if you get a better result?
I've tried that but now it's working with 57000 bps... I didn't change anything so I don't understand why it's working now... Anyway I will continue to develop my application ! thanks for your help