My project uses Microsemi's Smartfusion2 SoC FPGA. After I got the hardware, I tested that using Microsemi's FlashPro, I am able to download hardware configurations using Flashpro11.3 and debug firmware using MicroSemi's Softconsole IDE.
When I tried to use uVision and Ulink2, I am only able to erase the on board flash (eNVM), but not able to download firmware to the flash. Here is the error message:
Erase Done. Programming Failed! Error: Flash Download failed – “Cortex-M3”
Please advice as to where to begin to solve the problem!
Thanks a lot.
Jim
Ok, beyond the JTAG/SWD interface pins, you should perhaps look at the power (supply/ground) and reset pins. Compare those to the working reference design. If that doesn't locate and issue start looking at other pins.
Looking at the signals on the JTAG/SWD is like searching for a needle in a haystack, I'd try to look for more obvious issues first.
What's the version number of the uVision being used here?
It is the latest version of uVision, V5.11.1.0.