Notes of Gomtree

2018년 10월 20일 토요일

JTAG attaching when Cortex-M3 CPU is in sleep state by execution of WFI instruction

When Cortex-M3 CPU is in sleep state by execution of WFI instruction, is it possible to attach JTAG to M3?

  1. Debug Halt from debugger can wake up CPU from WFI.
    https://developer.arm.com/docs/103489919/latest/how-can-a-cortex-m-processor-wake-up-from-wfi-if-interrupts-are-masked-or-disabled
    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka16222.html
  2. A Debug Entry request can wake up CPU from WFI.
    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/BABFEFIG.html
작성자: Gomtree 시간: PM 10:59 댓글 없음:
이메일로 전송BlogThis!X에 공유Facebook에서 공유Pinterest에 공유

Cortex-M3 WFI instruction and wake up by IRQ

[Question] If WFI instruction is executed in ISR of Cortex-M3 CPU, is it possible to wake up from it by arising of new IRQ?

[Answer] Yes if the priority of new IRQ is higher than current IRQ.
            But, I will confirm it by testing in Cortex-M3 CPU.

References:

  • https://community.arm.com/processors/f/discussions/6930/race-condition-between-wake-up-event-and-wfi-on-cortex-m3-m4


작성자: Gomtree 시간: PM 10:42 댓글 없음:
이메일로 전송BlogThis!X에 공유Facebook에서 공유Pinterest에 공유

RISC-V

http://blog.naver.com/v_lovepooh_v/221256905181

작성자: Gomtree 시간: PM 9:59 댓글 없음:
이메일로 전송BlogThis!X에 공유Facebook에서 공유Pinterest에 공유
최근 게시물 이전 게시물 홈
피드 구독하기: 덧글 (Atom)

블로그 보관함

  • ►  2025 (2)
    • ►  11월 (2)
  • ►  2024 (3)
    • ►  2월 (3)
  • ►  2023 (8)
    • ►  11월 (1)
    • ►  9월 (1)
    • ►  5월 (1)
    • ►  4월 (3)
    • ►  3월 (1)
    • ►  1월 (1)
  • ►  2022 (7)
    • ►  11월 (1)
    • ►  9월 (1)
    • ►  6월 (1)
    • ►  5월 (1)
    • ►  4월 (2)
    • ►  3월 (1)
  • ►  2020 (2)
    • ►  7월 (2)
  • ►  2019 (1)
    • ►  3월 (1)
  • ▼  2018 (4)
    • ▼  10월 (3)
      • JTAG attaching when Cortex-M3 CPU is in sleep stat...
      • Cortex-M3 WFI instruction and wake up by IRQ
      • RISC-V
    • ►  8월 (1)
  • ►  2017 (4)
    • ►  12월 (2)
    • ►  3월 (1)
    • ►  2월 (1)
  • ►  2016 (12)
    • ►  12월 (1)
    • ►  10월 (4)
    • ►  9월 (1)
    • ►  8월 (1)
    • ►  5월 (2)
    • ►  4월 (2)
    • ►  1월 (1)
  • ►  2015 (11)
    • ►  12월 (1)
    • ►  10월 (3)
    • ►  2월 (1)
    • ►  1월 (6)
  • ►  2014 (10)
    • ►  12월 (3)
    • ►  10월 (1)
    • ►  9월 (1)
    • ►  7월 (2)
    • ►  2월 (1)
    • ►  1월 (2)
  • ►  2013 (6)
    • ►  12월 (1)
    • ►  10월 (2)
    • ►  1월 (3)
  • ►  2012 (20)
    • ►  11월 (4)
    • ►  8월 (2)
    • ►  7월 (1)
    • ►  5월 (2)
    • ►  2월 (7)
    • ►  1월 (4)
세련 테마. 테마 이미지 제공: dino4. Powered by Blogger.