'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"
With internal flash I checked simple programs and worked, but for install freeRTOS you need more memory for the bootloader and withthe internal memory flash is not possible
Ok, you have access to the board, and the related schematics and documentation. I do not. I don't have a horse in this race, and I'm not going to jump through hoops to sign up for Embedded Artists web site access, or to extract basic information from you.
a) Identify the flash chips used by your board. b) Select, or create, a flash algorithm for these chip(s) c) Get Embedded Artists to support their board and provide you with the tools/code to allow the Keil tools to download code.
I suggested two possible flash algorithms based on the address you where having problems with. If these aren't your parts, or are just broken, then your task would be to identify what changes need to be made, and compile your own functional flash algorithm. This may require you to debug/understand the current ones, or create your own.