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.
"if i load the bootloader code first then application code, execution is not jumping to application code"
So how, exactly, do you "load" the application code in this case?
If you're using the debugger, then you will need to take care not to erase or overwrite the bootloader ...
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?
Take a look at: http://www.keil.com/support/docs/3913.htm
Specifically refer "Jumping to the user application requires a number of steps before the user application can be executed"
hi. how to ignore minutes in time data?