This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWRL1432: How to read CFSR and FAR register

Part Number: AWRL1432
Other Parts Discussed in Thread: MMWAVE-L-SDK

Tool/software:

Hi expert,

Customer want to read CFSR and FAR register on xWRL1432 but we don't find these registers in CCS. 

Could you share how to read these registers as we need them to debug the program.

Thanks.

Allen

  • Hey Allen,

    Thanks for reaching out on E2E regarding your inquiry on the register mapping. Let me reach out to our design engineer's to check why these registers appear to be unavailable.

    Regards,

    Kristien

  • Hi Kristien,

     Any feedback?

    Thanks.

    Allen

  • Hey Allen, 

    Sorry for the delay here. I haven't received any new information from the design team, but I will ask once again. However, I wanted to ask if you could share more details regarding the debugging needed here. It sounds like there is some sort of fault on the device that needs to be detected. Faults are acknowledged through the OS' internal interrupt handlers - see the various fault handlers (HardFault [HFSR], MemManage [MMFAR], BusFault [BFAR], and UsageFault [UFSR]) within HwiP_arm7m_handlers_freertos.c or HwiP_arm7m_handlers_nortos in the MMWAVE-L-SDK. You should be able to identify fault causes based on what handler is called. 

    Regards,

    Kristien

  • Hi Kristien,

    Thanks. I checked M4 information we can read the CFSR from adress

    Register
    Address
    CFSR
    0xE000ED28
    MMFSR
    0xE000ED28 (byte access)
    BFSR
    0xE000ED29 (byte access)
    UFSR
    0xE000ED2A (halfword access)

    I think it's CCS problem which not support these registers. Customer can read it by address. Let's close this thread. Thanks.

    Regards,

    Allen

  • Hey Allen,

    I'm glad you were able to track down this information yourself. I will close out the thread now.

    Regards,

    Kristien