I was trying to test my new MCB1700 Board (Keil). I have not been able to get passed a Error:
swd communication failure
at this time. First I tried to use the JTAG connector with a ulink2 second I tried to use a adapter to the cortex 10 pin connector. Both give the same error. I tried lowering the freuency to 1 MHZ.
Thanks for any suggestions
I removed the RS232 cable from COM0 connector and then I am able to program the board without a problem. I do not know the reason that this affects the board. I have other Keil boards that do not have a problem like this
The boot loader in the processor will look at the state of one interrupt pin on reset (EINT2 for your processor) - and the straps on several development boards allows the UART handshake signals to control reset and this "magic" interrupt pin.
This allows FlashMagic to automatically reset the board, signal "software download" mode, and then transfer new firmware.
So most likely, your board always hung in the boot loader with no JTAG interface enabled in the processor.
Thank You Per, I see what you are telling me when I look at the schematic. If Pin 4 of COM0 is High and the RST jumper is plugged in the RST signal would be pulled low. RST is active low signal and will be pulled low if you press the RST button or if COM0 pin 4 is high value.
Oh, There is another jumper ISP that needs to be removed sot that P2.10 will not be forced to go low by pin 7 of COM0.