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

Error: Flash Download failed - "Cortex-M4

Hello,

I'm working with µVision now. I have created a project and I want to load it on my evaluation board MCB4300 (LPC4350). If I click on "Build" I see "0 Error(s), 0 Warning(s)", but if I click on "Load" I get the following error message --> Error: Flash Download failed - "Cortex-M4".

In "Target Options" I completed:

Device: LPC4350-Cortex-M4
Utilities: Settings -> Flash Download -> Add -> LPC18xx/43xx S25FL032 SPIFI
Utilities: Settings -> Debug -> Download Options -> Download to Flash (yes)

Where is the problem? I hope anyone can help me.

Parents Reply Children
  • No, there are no other errors or warnings.

    Now I set the jumpers to SPIFI but nothing happened. The MCB4350 (LPC4350) has no internal flash, so must I configure in a other way. I'm working more than two days with this problem, and I can't load my program to MCB4350.

    The examples for MCB4300 is only for LPC4357 and not for LPC4350, otherwise I will use them.

  • If I choose:

    S29GL064N Dual Flash 16M Ext. Flash 32-bit MDK Core

    I get the following error message:

    Flash Timeout. Reset the Target and try it again.

    and after that:

    Error: Flash Download failed - "Cortex-M4"

    The MCB4300 (LPC4350) has no internal flash, so I have to load my program in the RAM or external flash. S29GL064N is my external flash. So why I get this error messages now?

  • Maybe the reason is the configuration of the JTAG/SW port clock. Please configure it to 1MHz or higher. With slower clock speeds, the flash algorithms may time-out as the data are not delivered fast enough.