Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Wilfried71390 opened this issue Jan 4, 2024 · 3 comments
Open

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

Wilfried71390 opened this issue Jan 4, 2024 · 3 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@Wilfried71390
Copy link

Wilfried71390 commented Jan 4, 2024

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).

@per1234 per1234 self-assigned this Jan 5, 2024
@per1234 per1234 added the type: support OT: Request for help using the project label Jan 5, 2024
@per1234 per1234 removed their assignment Jan 5, 2024
@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself and removed type: support OT: Request for help using the project labels Jan 5, 2024
@per1234
Copy link
Contributor

per1234 commented Jan 5, 2024

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.

@per1234 per1234 changed the title Portenta H7 compatibility ? controller.getFWVersion() fails when using Portenta H7 Jan 5, 2024
@Wilfried71390
Copy link
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
Copy link
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
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants