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

CANHackerV2.00.02 does not see com ports #25

Open
brightproject opened this issue Nov 13, 2024 · 0 comments
Open

CANHackerV2.00.02 does not see com ports #25

brightproject opened this issue Nov 13, 2024 · 0 comments

Comments

@brightproject
Copy link

brightproject commented Nov 13, 2024

Good day @autowp
I installed an example from here:

https://github.com/autowp/can-usb/blob/master/can-usb.ino

I use MCU stm32f411 + module mcp2515

Microcontroller has two serial ports:

UART1 on pins PA9 and PA10
UART2 on pins PA2 and PA3

Usually I use UART1 by default, initializing it in the usual way in the Arduino environment:

Serial.begin(115200);

If I need to initialize UART2, I usually use this code:

HardwareSerial PORT2(USART2);
void setup()
{
PORT2.begin(115200);
}

Also a failure method to use:

const int SS_RX_PIN = PA3;
const int SS_TX_PIN = PA2;

SoftwareSerial softwareSerial(SS_RX_PIN, SS_TX_PIN);

void setup()
{
softwareSerial.begin(115200);
}

But I can't make CANHackerV2.00.01 or CANHackerV2.00.02 determine the COM port to which the example code:

https://github.com/autowp/can-usb/blob/master/can-usb.ino

The COM ports from the USB-TTL microcontroller are detected by Windows 10:

win_10_com_usb

CANHackerdoes not see these ports:

can_hacker_com_usb

At first I thought it was the STM32, but I also flashed the Arduino Leonardo and CANHacker doesn't see the ports there either.
What's the reason, can anyone tell me?
Maybe the CANHacker program doesn't support Windows 10?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant