Skip to content

alif: Fix jump to bootloader.#19173

Open
iabdalkader wants to merge 1 commit into
micropython:masterfrom
iabdalkader:fix_ae3_jump_to_boot
Open

alif: Fix jump to bootloader.#19173
iabdalkader wants to merge 1 commit into
micropython:masterfrom
iabdalkader:fix_ae3_jump_to_boot

Conversation

@iabdalkader
Copy link
Copy Markdown
Contributor

Summary

Clear TRCENA (if it was enabled for DWT CYCCNT) before calling NVIC_SystemReset(), otherwise it spins forever. Just started noticing this issue after enabling CYCCNT unconditionally for ticks.

Testing

Tested with AE3, gets stuck in NVIC reset for(;;) without this patch.

Generative AI

I did not use generative AI tools when creating this PR.

Clear TRCENA (if it was enabled for DWT CYCCNT) before
calling NVIC_SystemReset(), otherwise it spins forever.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants