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
  • I added the following informations in the target options form MCB4300 - LPC4350:

    Target Options:

    Device: LPC4350 -> LPC4350: Cortex-M4

    Target:
    IROM1: 0x1A000000 (Start) and 0x80000 (Size) (tick)
    IROM2: 0x1B000000 (Start) and 0x80000 (Size)
    IRAM1: 0x10000000 (Start) and 0x20000 (Size) (tick)
    IRAM2: 0x20000000 (Start) and 0x10000 (Size)
    Operating System: None

    I can only add the following:

    Utilities: Settings -> Flash Download -> Programming Algorithm -> Add

    - LPC18xx/43xx S25FL032 SPIFI 4M (Flash Size) Ext. Flash SPI (Device Type) MDK Core (Origin
    - RC28F640J3x Dual Flash 16M Ext. Flash 32-bit MDK Core
    - S29GL064N Dual Flash 16M Ext. Flash 32-bit MDK Core

    LPC18xx/43xx S25FL032 SPIFI Start: 0x14000000 Size: 0x00400000
    RC28F640J3x Dual Flash Start: 0x00000000 Size: 0x01000000
    S29GL064N Dual Flash Start: 0x1C000000 Size: 0x01000000

    Utilities: Settings -> Flash Download -> RAM for Algorithm: 0x10000000 (Start), 0x1000 (Size)

    I added LPC18xx/43xx S25FL032 SPIFI.

    But it doesn't works. I get always the error message: "Error: Flash Download failed - "Cortex-M4""

Reply
  • I added the following informations in the target options form MCB4300 - LPC4350:

    Target Options:

    Device: LPC4350 -> LPC4350: Cortex-M4

    Target:
    IROM1: 0x1A000000 (Start) and 0x80000 (Size) (tick)
    IROM2: 0x1B000000 (Start) and 0x80000 (Size)
    IRAM1: 0x10000000 (Start) and 0x20000 (Size) (tick)
    IRAM2: 0x20000000 (Start) and 0x10000 (Size)
    Operating System: None

    I can only add the following:

    Utilities: Settings -> Flash Download -> Programming Algorithm -> Add

    - LPC18xx/43xx S25FL032 SPIFI 4M (Flash Size) Ext. Flash SPI (Device Type) MDK Core (Origin
    - RC28F640J3x Dual Flash 16M Ext. Flash 32-bit MDK Core
    - S29GL064N Dual Flash 16M Ext. Flash 32-bit MDK Core

    LPC18xx/43xx S25FL032 SPIFI Start: 0x14000000 Size: 0x00400000
    RC28F640J3x Dual Flash Start: 0x00000000 Size: 0x01000000
    S29GL064N Dual Flash Start: 0x1C000000 Size: 0x01000000

    Utilities: Settings -> Flash Download -> RAM for Algorithm: 0x10000000 (Start), 0x1000 (Size)

    I added LPC18xx/43xx S25FL032 SPIFI.

    But it doesn't works. I get always the error message: "Error: Flash Download failed - "Cortex-M4""

Children