RT1062:Screen flicker was found after entering the APP from BOOTLOADER after the watchdog reset system

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1062:Screen flicker was found after entering the APP from BOOTLOADER after the watchdog reset system

1,361 Views
18222967901
Contributor I

Dear Friend,

      I Created two  project,one was bootloader to run some flash-copy and jump to app ,another one was my app.The bootloader was start 0x20000000,and my app was started on 0x80200000, I had two 64MB flash on 0x80000000~0x84000000; Today i found that when bootloader had more delay before jump (10ms to 10s),if app's wdog reboot system ,the screen flicker was found .  This was not the case if I perform a hardware reset operation, such as deenergizing and reenergizing.

     The sdk i used with 2.4.1sdk -2.6.0 sdk about RT1060.

Best wishes,

0 Kudos
Reply
5 Replies

1,266 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi 诺 朱 ,

  I suggest you to refer to the newest SDK2.7.0, which can be downloaded from this link:

  https://mcuxpresso.nxp.com/en/select 

  This new SDK contains the secondary bootloader code.

\SDK_2.7.0_EVK-MIMXRT1060\boards\evkmimxrt1060\bootloader_examples\ota_bootloader

  You can check it, whether some difference with this bootloader.

  BTW, do you also try to disable the watchdog, whether the issue can be improved or not?

 

   Wish it helps you!

   If you still have questions about it, please kindly let me know.

   

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

1,267 Views
18222967901
Contributor I

My purpose is to reset my device and re-operate it after a period of operation, but it must be operated by the MCU itself. I think the watchdog is a relatively complete reset operation, but the phenomenon I mentioned appears.Do you have a more complete reset method?

0 Kudos
Reply

1,267 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi 诺 朱

   If you want to reset the device, why you don't use the software reset?

   NVIC_SystemReset();

   If you are using the watchdog, when you don't want to reset the chip, you need to feed(refresh) the watchdog, otherwise, when the timeout, the chip will be reset.

   So, when you want to reset the chip in the detail code position, I suggest you use the software reset.

   Wish it helps you!

   If you still have questions about it, please kindly let me know.

   

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

1,267 Views
18222967901
Contributor I

thanks for your reply,at the beginning i used  NVIC_SystemReset();and found the screen flicker,so i decided to use watchdog to reset MCU.

The current phenomenon is that the screen flashes in both cases, except when the power is switched off and recharged.In the document(IMXRT1065RM.pdf), I found that both of these are weak reset, how to use the strong reset method?Any examples?

pastedImage_3.png

pastedImage_2.png

Thank you

0 Kudos
Reply

1,267 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi 诺 朱

  What do you mean screen flashes? Do you mean the LCD screen? What about any other module function, any influence? Do you check the clock after software reset or the watchdog reset, any difference with the POR?

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply