Hi,
I'm using this micro XC864 for first time, I've bought the starter kit ( kit_xc864_ek_v1 ) but now I even don't know if it can be used to program in situ my micro put on my final application or is just an evaluation board without external programing possibilities.
In case of being possible the external programing, which ports would be necessary to bring to the micro wewould like to program?
thank you
I've bought the starter kit ... I even don't know if it can be used to program in situ
DO NOT BUY before you know what you are buying DO NOT BUY if you do not get full documentation
In my opinion there is plenty of documentation that comes with the XC864 easy kit. In addition you can find information on the Infineon web site.
You can program the XC864 in-system using the JTAG (via ULINK) or bootstrap loader (via the UART). Signals needed are explained in the users manual. There is also a schematic included with the documentation.
On the Easy kit in addition to the above options you can also use DAS (using the USB connection and setting JTAG over USB Chip option).
Thanks for the answers.
Erik, you are absolutely right.
Chris, after looking it I've decided to use the program in-system by UART (bootstrap loader), I've connected the UART to the ports P0.2 and P0.1, as you can see in the next figure:
" href= "http://picasaweb.google.es/lh/photo/6cw44DA5qxM1r7pVtOorcQ?authkey=Gv1sRgCNT65OWLoP6KpQE&feat=directlink"> picasaweb.google.es/.../6cw44DA5qxM1r7pVtOorcQ
The main problem that I've know is that the R232 of my PC it's at logical levels of +/-9V while my XC864 works on 3,3V what should I put between that two points?
" the R232 of my PC it's at logical levels of +/-9V"
That's right - RS232 uses "bipolar" voltage levels.
"XC864 works on 3,3V what should I put between that two points?"
You need an RS232 Transceiver - like the MAX232 or one of its very many successors.
Alternatively, use one of these:
www.ftdichip.com/.../TTL-232R-3V3.htm
apple.clickandbuild.com/.../ftdichip:+TTL-232R
thanks
I just got one final question, is the next schematic right? :
picasaweb.google.es/.../xztbGJsRk1CIwnguyZAUJw
I mean, I can program the xc864 using the UART port P0.2 and P0.1? , or I need to use the ports P1.0-P1.1 as in the demo board?
I still have the doubt if with this configuration I can program in-aplication (using breakpoints and similar). If not its not necessary.
why would you want to? The '51 is a "stored program device" not a "loaded program device" so, if you want to "load applications" use another controller instead of wrangling this one into doing something it was never designed to do.
Erik