crycode-de / mcp-can-boot

CAN bus bootloader for AVR microcontrollers attached to an MCP2515 CAN controller.
Other
33 stars 12 forks source link

Question about MCUID parameter #10

Closed fabehr closed 9 months ago

fabehr commented 9 months ago

Hi, I'm trying to run can bootloader on arduino pro mini (with 328p mcu). Fuse bits are set and bootloader flashed without errors. Now I try to upload sample .hex file npx mcp-can-boot-flash-app -f firmware.hex -p ATmega328P -m 0x0042, after receiving message Waiting for bootloader start message for MCU ID 0x0042 ... I'm pressing reset button on arduino pro mini board, but nothing happend after it. I also have candump opened, and no message are coming on can0 interface. I assume that I have to change MCUID, but I'm not sure, where to get it?

fabehr commented 9 months ago

Ok, I've found it in config.h file and also discovered, that I have different canbus speed. Now everythinks works great :)