cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

 Hi all,

   

I have been trying to implement a simple UART Bootloader example and for some reason the code gets stuck in the below loop in CyBootAsmGnu.s when it enters the Bootloader_Start();

   
     CyDelayCycles_loop:
    SUBS r0, r0, #1           /*  1    2 */
    MOV r0, r0                /*  1    2   Pad loop to power of two cycles */
    BNE CyDelayCycles_loop    /*  2    2 */
   
   

 What is this delay from and how can I fix it? I also added my workspace just in case. 

   

Also I try using Bootloader Host tool and it times out after 5 seconds saying "Unable to read data from the target device". I believe this is because of the above loop too.

   

Thank you in advance,

   

Kaan

0 Likes
Reply
1 Reply
Anonymous
Not applicable

Hello

   

Please refer to the UART example projects given in the below AppNote.

   

http://www.cypress.com/documentation/application-notes/an68272-psoc-3-psoc-4-and-psoc-5lp-uart-bootl...

0 Likes
Reply