Skip to content

CANHackerV2.00.02 does not see com ports #25

@brightproject

Description

@brightproject

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions