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

mismatch errors in cortex-M4, LPC4357

'm using a developer kit LPC4357 and I try to test the evaluation programs from FreeRTOS in my microcontroller. Besides, I configured my debugger with JLINK and selected the memory according with my features. Below I show my configuration and the errors:

Initialization file Debug:
-Init file: .\LPC43XX-M4-FLASH-DEBUG.ini

Configure flash menu:
-Init file: .\LPC43XX-M4-FLASH-PROGRAM.ini

Programming algorithm: S29GL0649N Dual Flash - Address Range: 0x1C000000H-1CFFFFFFH

LOAD Flash\LPC43xx_M4_FLASH.axf INCREMENTAL
// Setup for running from a specific memory location
Setup();
^ *** error 34, line 160: undefined identifier
Full Chip Erase Done.
Programming Done.
Contents mismatch at: 1C000000H (Flash=FFH Required=D0H) !
Contents mismatch at: 1C000001H (Flash=FFH Required=B7H) !
-----------------------****------------------------------
Contents mismatch at: 1C000064H (Flash=FFH Required=15H) !
Too many errors to display !
Error: Flash Download failed - "Cortex-M4"

Parents
  • The setup() is defined because they have the default features for testing the FreeRTOS in my microcontroller. But, now the error is a little bit different, without "error 34, line 160: undefined identifier".

    ""<<..
    /******************************************************************************/
    _sleep_(100);
    // Just set up the memory interface to enable the correct access to the external
    // flash memory on CS0.
    emc_setup();

    Erase Done.
    Programming Done.
    Contents mismatch at: 1C000000H (Flash=FFH Required=D0H) !
    ------------------******************-----------
    Contents mismatch at: 1C000064H (Flash=FFH Required=15H) !
    Too many errors to display !
    Error: Flash Download failed - "Cortex-M4"

    ...>>"

Reply
  • The setup() is defined because they have the default features for testing the FreeRTOS in my microcontroller. But, now the error is a little bit different, without "error 34, line 160: undefined identifier".

    ""<<..
    /******************************************************************************/
    _sleep_(100);
    // Just set up the memory interface to enable the correct access to the external
    // flash memory on CS0.
    emc_setup();

    Erase Done.
    Programming Done.
    Contents mismatch at: 1C000000H (Flash=FFH Required=D0H) !
    ------------------******************-----------
    Contents mismatch at: 1C000064H (Flash=FFH Required=15H) !
    Too many errors to display !
    Error: Flash Download failed - "Cortex-M4"

    ...>>"

Children