No, timer0 will not reset after a GAPM_RESET_CMD command (if this is the kind of reset that you are mentioning), but since timer0 is a h/w timer that means that the 580 needs to be awake when the timer runs, if the 580 powers down, the timer will stop ticking. This is also valid for the systick timer as well. I dont think that the systick timer will reset, upon the GAMP_RESET_CMD, i ve started the systick in the user_app_init() loaded a value of 5000000 and print the value right after issuing the reset command and as soon as the device configuration function is triggered (right after rge reset), the value was decading as long as the fw run.
嗨Wisilica,
No, timer0 will not reset after a GAPM_RESET_CMD command (if this is the kind of reset that you are mentioning), but since timer0 is a h/w timer that means that the 580 needs to be awake when the timer runs, if the 580 powers down, the timer will stop ticking. This is also valid for the systick timer as well. I dont think that the systick timer will reset, upon the GAMP_RESET_CMD, i ve started the systick in the user_app_init() loaded a value of 5000000 and print the value right after issuing the reset command and as soon as the device configuration function is triggered (right after rge reset), the value was decading as long as the fw run.
谢谢mt_dialog.