PDA

View Full Version : Programming XC822



Valer
Dec 3rd, 2011, 07:18 AM
Hi guys,

I'm a bit confused. After reading thru the data sheet, it seems the micro can be programmed thru UART or SPD (?). What programmer do I need to use for this? I dont want to buy the easy kit. Is there a simpler way? I guess it's not possible to debug with UART. Is SPD for that purpose? Is there any other difference? The website is not very organized or informative.
Is this Dave Bench the IDE? All I need is to download this?

Thanks

tomattila
Dec 4th, 2011, 02:02 AM
Yes, XC822 can be programmed via UART or SPD. SPD is a proprietary protocol from Infineon. You can use any USB-to-UART bridg (http://www.ftdichip.com/Products/Modules/DevelopmentModules.htm)e from FTDI (e.g. UB232R) for UART or the miniWiggler (http://www.infineon.com/miniwiggler) for SPD. The loader software you need is FLOAD (http://www.infineon.com/xc800-tools-download). And you're right, no debugging is available with UART.

Yes, DAVE BENCH is the IDE. I suggest you download the DAVE (http://www.infineon.com/dave) mothersystem, the DIP file for XC822 and DAVE BENCH (http://www.infineon.com/davebench) (it already contains FLOAD) to start software development.

Take a look at these slides, they will make things clear: 26

Valer
Dec 4th, 2011, 09:31 AM
Thanks bro