Hi! I've never posted here and I'm sorry if this is a stupid question but this is driving me nuts. I'm getting this "Error: Flash Download failed-" I'm using an Infineon xc866 and trying to have it communicate with different components on a protoboard. It'll load fine if I don't have any of the mc's pins connected to anything on the protoboard but it won't load when I connect all the pins. I'm getting alot of "Content mismatch at address 0000H (Flash=00H Required=02H)"
There's plenty of those. The thing is, I can load other minor codes I've done before onto the mc and don't have any problems. Any idea how I can check to see if it's my coding or how I'm connecting it to the protoboard? Also I have no problem compiling the code. Any help is much appreciated, it's for a school project and any new advice is very welcome.
Start small. Take a working program and download it and make sure you get no flash programming errors.
Then, add the smallest amount of code to only wiggle a port pin. Get that working and downloading. If it fails and the code is small, you don't have many places to look for the problem.
Jon
View all questions in Keil forum