AN12218SW Bootloader Hard Reset Problem

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

AN12218SW Bootloader Hard Reset Problem

683 Views
Nibesh
Contributor III

Hello I am using S32K148EVB and AN12218SW Bootloader and Example_app Code.
I am using their Java interface to upload Example_app.srec file.
Firstly I have uploaded Bootloader on MCU.
Secondly, to upload Application srec code, we have to Press Reset Button inorder to upload.

So is there any method to overcome with this Hardware RESET inorder to upload the Application SREC file.

I hope to hear from you soon!

0 Kudos
Reply
1 Reply

662 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please read the chapter 2.1. Bootloader workflow overview of AN12218:

The second step is to initialize the timeout mechanism. After a reset, the microcontroller will poll the selected communication channel, if no activity was detected during the time allowed by the timeout mechanism the device will attempt to execute the last application loaded, if the device hasn’t received an application it will get stuck in a loop. In order to attempt the download of an application another reset is required.
The timeout value is configurable and it is set by default to five seconds. Only one second multiples can be selected, in order to change the timeout value simply set the desired value in ‘sources/drivers/inc/timeout.h’ line 14.
/* Define timeout value, the base is 1s */
#define TIMEOUT_VAL 5

It seems that you clicked Download on JAVA Serial Bootloader Interface after the timeout. It is recommended that you click Download before the timeout or increase the timeout value.


Best Regards,
Robin
-------------------------------------------------------------------------------
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