Hello everyone............ I execute led flasher program for at91sam9x35 evk and generate a bin file with help of keil software(4.70)..but when i load that bin file with help of sam-ba software led is not blincking on evk...but when i use another bin file after executing same program on another system then led was blinking..i use sam-ba software for the same..plz help me to sort out this issue...
Do not play around with different toolchains and stick to one.
If you have created the .bin using MDK then download the file using MDK only.
Well - that's not a bad philosophy, I guess. Especially for a beginner.
But, if you are going to switch toolchains, then you need to take care that you fully understand how to use them all properly!
"If you have created the .bin using MDK then download the file using MDK only"
Nonsense.
A bin file is just a straight image of the Flash content - it shouldn't make any difference what tool is used to download it. (assuming, of course, that you are using it correctly!)
I use same mdk on another system
If they are truly the same, then the configurations must be different.
But it's not clear exactly what you're doing, and exactly what's working, and exactly what's failing.
Remember that different settings will be required for code to be loaded via a bootloader (eg, SAM-BA) from code loaded via the debugger.
Code placed in NAND, Data Flash, SDCARD, etc requires length field in unused vector so RomBOOT will copy into Internal RAM and execute. Absent this the code won't validate and won't be executed. SAM-BA is supposed to tag code it writes.
If this is unfamiliar time to Please read the manual
That's a rather old ARM9 chip.
Any particular reason for that choice?