boot.tpl/asm file location

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi All,

   

Please let me know how to locate and edit the boot.tpl/boot.asm file for PSoC 4. 

   

I am a novice in this field, so thanks for your help!!

   

BR,

   

ksnf3000

0 Likes
7 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There is no need to edit a boot.tpl. Interrupts (the only reason) are introduced differently from PSoC1 with Creator. Under the help menu you can find the "System Reference Guide" that introduces CY_ISR() to define your own interrupt handlers.

   

The Cortex m0 core has an interrupt-vector area too, but it resides in sram and so the values are set with APIs.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

This might be useful -

   

 

   

    

   

          

   

http://www.cypress.com/?rID=38267     AN54460

   

 

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 Hi Bob/Dana,

   

Thanks for your reply. Well, I need to configure the boot file so that I am able to read the SRAM contents before the boot process initializes. 

   

Do you think an ISR would work or I should dig into the startup boot file?

   

Thanks!!

   

BR,

   

ksnf3000

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Bootloadable project maybe ?

   

 

   

    

   

         

   

http://www.cypress.com/?rID=50230     AN68272

   

 

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

This might also be of use -

   

 

   

    

   

                    

   

http://www.cypress.com/?rID=40991     AN60616

   

 

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 Hi Bob/Dana,

   

Yes, its bootloadable but just reading the contents of the SRAM at time of boot.

   

I will now look into these. Is there any specific APIs for accessing the SRAM also?

   

Thanks!! 

   

BR,

   

ksnf3000

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

The eimplest way to access SRAM is using a pointer. This will assist

   

you -

   

 

   

    

   

          http://www.cypress.com/?id=4&rID=57109

   

 

   

Regards, Dana.

0 Likes