Starting an application #9
              
                Unanswered
              
          
                  
                    
                      Teunderbolt
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 11 replies
-
| Hi, That code is effectively the same as used in the  Here's a commented version: See https://developer.arm.com/documentation/dui0497/a/the-cortex-m0-processor/exception-model/vector-table for the layout of the vector table. As you can see there, the first two entries are the stack pointer and the entry point. So it's basically just telling the processor where the application's vector table is and setting up the stack pointer before jumping to the application's entry point. | 
Beta Was this translation helpful? Give feedback.
                  
                    11 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using your project as an example to write my own bootloader, so I am able to update the pi pico using a network connection. There is only one thing I don't understand yet, and that is the assembler code to start the application.
I am able to flash a hex file to the pico's flash, but the application won't run at the moment.
I hope that when you clarify the piece of assembler code I will find the thing that goes wrong in my code.
Kind regards,
Teun
Beta Was this translation helpful? Give feedback.
All reactions