follow the can_message_t struct to learn how to decode/process the received frame. do whatever you need with your received CAN messages here If (can_receive(&rx_frame, pdMS_TO_TICKS(1000)) = ESP_OK) Serial.println("CAN Driver start FAILED.") Hector used an FPGA to sniff the bus for a TPM1.2 chip I wanted to see if I could achieve the same thing with a cheapie off-the-shelf logic analyzer and attempt the attack against a TPM2.0 chip. Also, the PiCAN2 is an affordable shield, and. This project kicked off for me when Hector Martin mentioned they were able to sniff the BitLocker VMK straight off the LPC bus. The RPI 3 is more convenient than the Arduino because of its Linux shell and access to apt-get with can-utils packages. Serial.println("CAN Driver start success.") After considering various options for a CAN controller + computer, we decided to go with the PiCAN2 board to provide CAN-Bus capability for the Raspberry Pi. Serial.println("CAN Driver installation fail.") Serial.println("CAN Driver installation success.") anything else you might need to do.Ĭan_timing_config_t timing_config = CAN_TIMING_CONFIG_500KBITS() Ĭan_filter_config_t filter_config = CAN_FILTER_CONFIG_ACCEPT_ALL() Įrror = can_driver_install(&general_config, &timing_config, &filter_config) Static const can_filter_config_t f_config = Code: Select all static const can_timing_config_t t_config = CAN_TIMING_CONFIG_25KBITS()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |