This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Ulink2 download problem on Smartfusion2

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

Parents
  • I have contacted both Microsemi and Keil. Microsemi says that they are not familiar with uVision. Keil goes through the uVision configuration with me, but they think they are all set up correctly. So bad that I don't know anyone that have direct usage experience at work.

    I have uVision license, so there should be any issue with code size. Flash->Erase says it erased OK. Flash->Download gives the error that I have described before.

    One thing I noticed is that after a full Chip Erase, I can still do the debugging process as you have suggested. Does that mean I actually have not erased anything in the flash?

    I have a Dev Kit, and works fine with uVision after getting rid of pull down resistor. I basically copied the design for the JTAG part. Maybe I should compare the signal waveform on the scope to see the difference.

Reply
  • I have contacted both Microsemi and Keil. Microsemi says that they are not familiar with uVision. Keil goes through the uVision configuration with me, but they think they are all set up correctly. So bad that I don't know anyone that have direct usage experience at work.

    I have uVision license, so there should be any issue with code size. Flash->Erase says it erased OK. Flash->Download gives the error that I have described before.

    One thing I noticed is that after a full Chip Erase, I can still do the debugging process as you have suggested. Does that mean I actually have not erased anything in the flash?

    I have a Dev Kit, and works fine with uVision after getting rid of pull down resistor. I basically copied the design for the JTAG part. Maybe I should compare the signal waveform on the scope to see the difference.

Children