Now I have multiple applications in my project. How can I jump to different applications in my code?
You may have a look into our older ADuC702x article in Analog Dialog archive - this can be easy adapted to the AduCM36x and your modbus requirements I think.
Implementing In-Application Programming on the ADuC702x
Can you be a bit more specific about what you mean when you say project and applications?
By project do you mean a keil uvision or iar project?
Can you give me a more detailed description of what you have and what you would like to achieve?
Now I want to create a boot loader which use modbus protocol. First I created a IAR project for boot loader, then I create another IAR project for my application. I place the boot loader project in default flash address, so every time when the system boot, it will run the boot loader project. Then in boot loader code, it will determine if it need jump to application which I place in location 0x0001F000. Do you have any ideas how can I achieve it?
Thank you. Another question is that is the address same in ADuC702x and ADuCM360? Because the SRAM is from 0x2000 0000 to 0x2000 1FFF on ADuCM360. Is there any documentation for ADuCM360 boot-loader memory location?
In this case, I need rewrite some configuration part in startup_ADuCM360.s. How can I reconfigure it?
Think it gets obvious if you compare the data sheet for a ADuC702x and the User Guide for the ADuCM36x that the physical memory's, SRAM and Flash, are in totally different logical address range and it depends on the tool kit you are using to program the parts. So the best would be to read the appropriate referenced documentation from ARM about ARM Cortex M3 and the documentation for the tool kit you use.
Now I write a part of code. In bootloader part, I want to jump to the application code, but it gives me "B Unused_Handler" which is a BusFault_Handler.
How can I do with it?
Same comment as for your newer thread. ADuCM360 boot-loader
Retrieving data ...