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.
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.