登录
首页 » Others » CANoe写bootloader上位机代码

CANoe写bootloader上位机代码

于 2020-12-06 发布
0 506
下载积分: 1 下载次数: 1

代码说明:

有朋友邮件问我如何用CANoe的CAPL读取S19文件并解析,以实现bootloader刷写。基于此,我愿和大家一起分享我以前写的代码,不是很完善,敬请大家见谅。有更优化的,请和我分享,谢谢!我的邮箱:tianhua_ming@126.com如果回复不是很及时,请谅解!

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 稀疏自编码深度学习的Matlab实现
    稀疏自编码深度学习的Matlab实现,sparse Auto coding,Matlab codetrain, m/7% CS294A/CS294W Programming Assignment Starter CodeInstructions%%%This file contains code that helps you get started ontheprogramming assignment. You will need to complete thecode in sampleIMAgEsml sparseAutoencoder Cost m and computeNumericalGradientml For the purpose of completing the assignment, you domot need tochange the code in this filecurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencodtrain.m∥%%========%6% STEP 0: Here we provide the relevant parameters valuesthat willl allow your sparse autoencoder to get good filters; youdo not need to9 change the parameters belowvisibleSize =8*8; number of input unitshiddensize 25number of hidden unitssparsity Param =0.01; desired average activation ofthe hidden units7 (This was denoted by the greek alpharho, which looks like a lower-case pcurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod4/57train.,m∥in the lecture notes)1 ambda=0.0001%o weight decay parameterbeta 3%o weight of sparsity penalty term%%==:79 STEP 1: Implement sampleIMAGESAfter implementing sampleIMAGES, the display_networkcommand shouldfo display a random sample of 200 patches from the datasetpatches sampleIMAgES;display_network(patches(:, randi(size(patches, 2), 204, 1)), 8)%为产生一个204维的列向量,每一维的值为0~10000curer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod5/57train.m/v%中的随机数,说明是随机取204个 patch来显示%o Obtain random parameters thetatheta= initializeParameters ( hiddenSize, visibleSize)%%=============三三三三====================================97 STEP 2: Implement sparseAutoencoder CostYou can implement all of the components (squared errorcost, weight decay termsparsity penalty) in the cost function at once, butit may be easier to do%o it step-by-step and run gradient checking (see STEP3 after each stepWecurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod6/57train. m vb suggest implementing the sparseAutoencoder Cost functionusing the following steps(a) Implement forward propagation in your neural networland implement the%squared error term of the cost function. Implementbackpropagation tocompute the derivatives. Then (using lambda=beta=(run gradient Checking%to verify that the calculations corresponding tothe squared error costterm are correctcurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod7/57train. m vl(b) Add in the weight decay term (in both the cost funcand the derivativecalculations), then re-run Gradient Checking toverify correctnessl (c) Add in the sparsity penalty term, then re-run gradiChecking toverify correctnessFeel free to change the training settings when debuggingyour%o code. (For example, reducing the training set sizecurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod8/57train m vl/number of hidden units may make your code run fasterand setting betaand/or lambda to zero may be helpful for debuggingHowever, in yourfinal submission of the visualized weights, please useparameters web gave in Step 0 abovecoS七grad]sparseAutoencoderCost(theta, visibleSize,hiddensize, lambda,sparsityParam, beta,patches)二〓二二二二二二二〓二〓二〓二〓=二====〓=curer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod9/57train.m vlll96% STeP 3: Gradient CheckingHint: If you are debugging your code, performing gradienchecking on smaller modelsand smaller training sets (e. g, using only 10 trainingexamples and 1-2 hiddenunits) may speed things upl First, lets make sure your numerical gradient computationis correct for a%o simple function. After you have implemented computeNumerun the followingcheckNumericalGradientocurer:YiBinYUyuyibintony@163.com,WuYiUniversityDeep Learning, MATLAB Code for Sparse Autoencode10/57
    2020-12-05下载
    积分:1
  • android 连连看 源码
    android 连连看 源码android 连连看 源码
    2020-12-03下载
    积分:1
  • xilinx FPGA 的PCIE设计
    xilinx FPGA 的PCIE设计,很好的取理解PCIE的IP核的使用
    2020-11-27下载
    积分:1
  • 切比雪夫神经网络的应用函数逼近
    【实例简介】一个源程序,是关于切比雪夫神经网络的 函数逼近的源程序,希望对大家有帮助
    2021-11-07 00:39:51下载
    积分:1
  • VC编写的飞机仪表显示
    这是一个VC++编写的飞机仪表显示的例子,适合与初学者
    2020-11-29下载
    积分:1
  • 地震资料分析:地震资料处理、反演和解释 (上册).pdf
    地震资料分析:地震资料处理、反演和解释 (上册).pdf
    2020-05-29下载
    积分:1
  • STM32 LWIP TCP客户端访问WEB实验(http格式)
    本DEMO为工作项目的部分内容,STM32f107 作为TCP客户端访问WEB站点 ,使用http/1.1格式上传并获取WEB数据。附件WORD文档为项目的接口格式说明。 应用层:HTTP数据格式解析 MAX层:stm32f107 传输层:LWIP协议栈
    2021-05-06下载
    积分:1
  • 无线定位基本算法
    无线定位基本算法,其中包括了chan算法、Taylor算法、Tdoa
    2020-11-06下载
    积分:1
  • Matrix.h 和 Matrix.cpp(C++ 实现矩阵操作)
    实现了矩阵中的各种操作, 包括矩阵相加,相减,矩阵乘法,矩阵转秩,余子式,求行列式的值,求矩阵特征值,LU 分解,QR 分解,求现行方程组的解等等。 是任何做科学计算工作者必备的类库。此类库也是C++初学者极好的参考资料。类库的实现运用了运算符重载,友元,异常处理,文件输入输出,函数重载,指针,动态分配内存等一系列C++技术。此类库是我在美国研究生阶段的一个Term Project.品质保证。
    2020-12-01下载
    积分:1
  • pcl5语言详细介绍
    pcl5语言详细介绍,Adobe, PostScript, and the PostScript logo are trademarks of Adobe Systems Incorporated, which may be registered in certain jurisdictions. AppleTalk is a registered trademark of Apple Computer, Inc.
    2020-12-02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载