problem with LPC1768 Ethernet bootloader

Started by reza_hasar, February 23, 2016, 01:41:04 AM

Previous topic - Next topic

reza_hasar

Hi
I use flash magic to program my lpc1768 board.but when I want to start program i saw this warnning as below:




I set mu setting as below:



please help me to solve that :'( :'(

Andy Ayre

Please send your hex file to support (at) esacademy (dot) com

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Andy Ayre

Start Flash Magic
Choose LPC1768 Ethernet
Choose your hex file
Click on "more info" in step 3

You will see that your hex file uses the address range 0x000002FC to 0x000082B3

The bootloader occupies locations 0x00000000 to 0x00002000 so the error message is correct, because your hex file is using a section of Flash used by the bootloader.

As you know, 0x2FC is the code read protection (CRP) location. You need to disable generation of those four bytes, typically with Keil by defining NO_CRP or modifying your assembler startup code.
Embedded Systems Academy, Inc.
support at esacademy dot com