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

LPC1768 Ethernet Boot Loader Problem

hi all,

i am using Ethernet bootloader on Cortex-M3 LPC1768. The bootloader sample code used was provided by Flash Magic. i have configured the bootloader code locatio from 0x0000 to 0x2000 and application code location from 0x2000 to 0x80000. it is working properly when i erase the full chip, load the application code first then bootloder code. But if i load the bootloader code first then application code, execution is not jumping to application code.
what colud be the problem? please suggest.

Parents
  • i am using J-Link debugger to load the code. i am separating the memory regions for Bootloder code(0x0 - 0x2000) and application code(0x2000 - 0x80000) in Target options of corresponding projets and compiling them. Now i am erasing the full chip and loading the Bootloder Code first and then Application code, i am assuming this procedure does not erase the Bootloder code after loading the Application code. Am i correct? if i am correct what should i do to run the code from Bootloder to Application code or if i am wrong how should i take care not to erase or overwrite the bootloder code?

Reply
  • i am using J-Link debugger to load the code. i am separating the memory regions for Bootloder code(0x0 - 0x2000) and application code(0x2000 - 0x80000) in Target options of corresponding projets and compiling them. Now i am erasing the full chip and loading the Bootloder Code first and then Application code, i am assuming this procedure does not erase the Bootloder code after loading the Application code. Am i correct? if i am correct what should i do to run the code from Bootloder to Application code or if i am wrong how should i take care not to erase or overwrite the bootloder code?

Children