Skip to main content
Visitor II
March 31, 2020
Solved

Debugging Cortex M4 in engineering mode, is it necessary to edit and build device trees for custom modifications?

  • March 31, 2020
  • 1 reply
  • 730 views

Hello,

I'm trying to connect stm32mp157c-dk2 board with another device over FDCAN in engineering mode (MCU single core) using CN2 pin 3 and 5 (stm32 PA12 and PA11 pins respectively). Though I can initialize and request to use FDCAN1 from resource manager utility without any error, FDCAN related interrupts still don't get fired. Do I need to assign RX/TX pins to M4 FDCAN1 in tf-a, u-boot or kernel device trees.

    This topic has been closed for replies.
    Best answer by Olivier GALLIEN

    Hi @MNoor.1​ 

    In Engeneering mode A7 is on hold and M4 is able to initialize the assigned IPs as per configured in CubeMX.

    Thus, not need to change anything on Linux side. ( have to be done when you will move to Production mode)

    I guess you should check your FDCAN and related IT settings in CubeMX.

    Olivier

    1 reply

    Technical Moderator
    April 1, 2020

    Hi @MNoor.1​ 

    In Engeneering mode A7 is on hold and M4 is able to initialize the assigned IPs as per configured in CubeMX.

    Thus, not need to change anything on Linux side. ( have to be done when you will move to Production mode)

    I guess you should check your FDCAN and related IT settings in CubeMX.

    Olivier