Skip to content

controller.getFWVersion() fails when using Portenta H7 #62

Open
@Wilfried71390

Description

@Wilfried71390

I'm using a MKR motor carrier with a Portenta H7 board.

It's impossible to connect to the carrier, the sketch fails here: "Couldn't connect! Is the red LED blinking? You may need to update the firmware with FWUpdater sketch"
No red LED blinking on carrier (neither on Portenta).

Activity

self-assigned this
on Jan 5, 2024
removed their assignment
on Jan 5, 2024
added
type: imperfectionPerceived defect in any part of project
topic: codeRelated to content of the project itself
and removed
type: supportOT: Request for help using the project
on Jan 5, 2024
per1234

per1234 commented on Jan 5, 2024

@per1234
Contributor

A claim of support was added in version 2.0.2 of the library: #44. However, I can reproduce the fault reported by @Wilfried71390, using the library's example (e.g., examples/MKRMotorCarrier/Motor_test) or this minimal sketch:

#include <ArduinoMotorCarrier.h>

void setup() {
  Serial.begin(115200);
  while (!Serial);
  Wire.begin();
  if (controller.begin()) {
    Serial.print("MKR Motor Carrier connected, firmware version ");
    Serial.println(controller.getFWVersion());
  } else {
    Serial.println("Couldn't connect! Is the red LED blinking? You may need to update the firmware with FWUpdater sketch");
    while (1);
  }
}
void loop() {}

It works as expected when I use the MKR Zero board instead of the Portenta H7.

changed the title [-]Portenta H7 compatibility ?[/-] [+]`controller.getFWVersion()` fails when using Portenta H7[/+] on Jan 5, 2024
Wilfried71390

Wilfried71390 commented on Jan 6, 2024

@Wilfried71390
Author

Hello,
Thanks a lot per1234, i'm feeling less alone!
Why did you change the title of the post in 'controller.getFWVersion'? Does it mean that the issue is link to this request? Does it mean that the 'controller.begin' should work ?
Regards
Wilfried

Wilfried71390

Wilfried71390 commented on Jan 6, 2024

@Wilfried71390
Author

An other question: did you try to update the firmware of the motor carrier (through the MKR zero board) and then make a new try with the portenta?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @per1234@Wilfried71390

        Issue actions

          `controller.getFWVersion()` fails when using Portenta H7 · Issue #62 · arduino-libraries/ArduinoMotorCarrier