unleashed-firmware/applications/main/clock_app/resources/swd_scripts/halt.swd

12 lines
199 B
Text
Raw Normal View History

2023-11-08 09:41:41 +00:00
# make sure errors do not cause a script abort
errors ignore
message 0 "HAMMER TIME! Trying to halt CPU"
ap_select 0
# loop writing the halt bits
.label l1
mem_write 0xE000EDF0 0xA05F0003
goto l1