- 博客(0)
- 资源 (5)
- 收藏
- 关注
SAE-2020-J3101-硬件安全标准.pdf
SAE-2020-J3101 美国汽车协会2016年发布的关于车辆硬件安全方面的标准J3101。Automotive computer systems are required to establish trustworthiness through device identity, sealing, attestation, data integrity, and availability. These systems must be res小 ent to a wide range of attacks that cannot be thwarted through software-only security mechanisms. A hardware root of trust and the hardware-based security primitives are fundamentally necessary to satisfy demands of connected and highly or fully automated vehicles. This document provides a comprehensive view of security mechanisms supported in hardware for automotive use cases, along with best practices for using such mechanisms. The goal of this document is to provide a common reference that facilitates communication among engineers across different parts of the automotive supply chain relevant to hardware-enabled security features. Silicon vendors will find this document useful in understanding the hardware security foundations and their corresponding use cases and applications that they should support to address vehicle security needs. This document should also bring more order into the diverse nature of hardware security features, so products are developed with the end use case in mind and with the right level of security. ECU suppliers and system integrators will benefit from the different security requirements
and use cases outlined here as they assess the threats that affect their systems and the right hardware systems needed to address them.
2020-05-26
看门狗的应用
利用看门狗进行单片机的复位。部分程序如下:
void delay(unsigned int t)
{
unsigned int i,j;
for(i=0;i<t;i++)
{
for(j=0;j<10;j++) asm("CLRWDT");
}
}
2013-03-12
蜂鸣器间歇性鸣叫
利用开发板上的硬件资源,通过PIC18F452单片机控制蜂鸣器间歇性鸣叫,部分程序如下:
void fengpro(void)
{
if(beepbit==1)
{
beep=1;
if(++fengcon>20000)
{
fengcon=0;
beepbit=0;
}
}
else
{
fengcon=0;
beep=0;
}
}
2013-03-12
DS18B20采集的温度实时显示在lcd液晶屏上
本程序是pic18单片机中的一个实例,通过DS18B20温度传感器对温度的采集,然后在pic18f452单片机控制下实时显示在lcd液晶屏上。部分程序如下:
#include //调用头文件,可以去PICC18软件下去查找PIC18FXX2.H
__CONFIG(1,XT) ; //晶振为外部4M
__CONFIG(2,WDTDIS) ; //看门狗关闭
__CONFIG(4,LVPDIS) ; //禁止低电压编程
#define RSPIN RB5 //Data or Instrument Select
#define RWPIN RB4 //Write or Read
#define EPIN RB3 //6800 mode Enable single
unsigned char temp1; //采集到的温度高8位
unsigned char temp2; //采集到的温度低8位
//转换后的温度值小数点部分查表
const unsigned char tablexiao[16]={0,0,1,2,2,3,4,4,5,6,6,7,8,8,9,9};
2013-03-05
脉搏采集程序
通过脉冲的采集得到人的脉搏数~部分程序如下:
#include
#include
#define uchar unsigned char
#define uint unsigned int
sbit dula=P2^6;
sbit wela=P2^7;
sbit mc=P1^1;
uint PL[10],bai,shi,ge,t0,i=0,j,k,flag;
uint ave=0,sum=0;
uchar code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};
2013-03-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人