资源简介
代码片段和文件信息
import tkinter as tk
import serial
import binascii
import time
import sys
import serial.tools.list_ports
import tkinter.filedialog
from tkinter import messagebox ttk
PAD_X = 2
PAD_Y = 2
PAGE_SIZE = 1024
CAN_ID = 0x78E
CRC_TABLE = (0x00000000 0x04C11DB7 0x09823B6E 0x0D4326D9
0x130476DC 0x17C56B6B 0x1A864DB2 0x1E475005
0x2608EDB8 0x22C9F00F 0x2F8AD6D6 0x2B4BCB61
0x350C9B64 0x31CD86D3 0x3C8EA00A 0x384FBDBD)
def dword(value):
return value & 0xFFFFFFFF
def crc32_fast(crc data):
crc data = dword(crc) dword(data)
crc ^= data
for _ in range(8):
crc = dword(crc << 4) ^ CRC_TABLE[crc >> 28]
return crc
def crc32_fast_block(crc buffer):
for data in buffer:
crc = crc32_fast(crc data)
return crc
def crc32_fast_bytes(crc bytes_data):
if len(bytes_data) & 3:
raise ValueError(‘bytes_data length must be multiple of four‘)
for index in range
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\
文件 4063 2016-10-26 14:49 stm32-can-bootloader-master\CANBOOT.ioc
文件 430 2016-10-26 14:49 stm32-can-bootloader-master\CANBOOT.xm
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\STM32F1xx\
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\STM32F1xx\Include\
文件 927261 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xb.h
文件 8815 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h
文件 3335 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\STM32F1xx\Source\
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\gcc\
文件 11536 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\gcc\startup_stm32f103xb.S
文件 16392 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
目录 0 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\
文件 7265 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\arm_common_tables.h
文件 3942 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\arm_const_structs.h
文件 252339 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\arm_math.h
文件 24423 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\cmsis_armcc.h
文件 55083 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\cmsis_armcc_V6.h
文件 41435 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\cmsis_gcc.h
文件 37218 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\core_cm0.h
文件 44796 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\core_cm0plus.h
文件 103909 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\core_cm3.h
文件 114498 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\core_cm4.h
文件 139660 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\core_cm7.h
文件 3620 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\core_cmFunc.h
文件 3636 2016-10-26 14:49 stm32-can-bootloader-master\Drivers\CMSIS\Include\core_cmInstr.h
............此处省略51个文件信息
- 上一篇:ALIENTEK MiniSTM32开发板入门资料
- 下一篇:stm32遥控
相关资源
- STM32 BLDC 无刷电机
- stm32 实现Fatfs对U盘文件操作(main.c)
- stm32f103 USB键盘
- OBD_CAN读取代码(stm32f103)
-
STM32-ba
se64加密源代码 - stm32 MQTT
- stm32f103 can驱动
- STM32三菱PLC源码原理图
- 基于STM32智能家居的无线网关设计与实
- 基于stm32的交通信号灯代码
- DHT11驱动程序基于STM32
- 基于STEM32的倒车记录仪智能报警系统
- STM32_GY25Z计步器
- USB 完整bootloader项目,包括底层驱动和
- C语言实现的红外发送STM32F10x单片机应
- stm32L系列F系列 加密库Cryptographic lib
- 心率传感器算法-stm32-实测可用
- 工程使用的STM32版FX2N源码和原理图
- 基于stm32f1的频率计
- stm32F103zet6开串口通信2 C语言
- LPC1768IAP+MFC上位机+bootloader+app
- LPC1768IAP+MFC上位机+bootloader+app有看不懂
- ADC电压采集程序
- STM32 电子密码锁设计,LCD12864显示C语
- 利用OV7725照相机与STM32F1识别车牌
- 基于STM32的小车红外黑线寻迹代码
- stm32图像采集+QT上位机源码
- STM32,5110液晶显示声纳探鱼器200KHz,
- stm32iap+bootloader+app+mfc上位机
- BMP180气压计STM32例程+51例程+数据手册
评论
共有 条评论