Author Topic: problem with LPC1768 Ethernet bootloader  (Read 2465 times)

reza_hasar

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
    • Email
problem with LPC1768 Ethernet bootloader
« on: February 23, 2016, 01:41:04 am »
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: problem with LPC1768 Ethernet bootloader
« Reply #1 on: February 24, 2016, 02:45:38 am »
Please send your hex file to support (at) esacademy (dot) com

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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: problem with LPC1768 Ethernet bootloader
« Reply #2 on: March 01, 2016, 01:21:50 am »
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