-
大小: 2.33MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-11-09
- 语言: 其他
- 标签: CANbootloade
资源简介
S32KCANbootloader包含了上位机及下位机源码,可以拓展开发,上位机可以根据源码进行自定义。下位机源码需要与上位机源码配合使用。。
代码片段和文件信息
/*************************************************************************
* DISCLAIMER *
* Services performed by FREESCALE in this matter are performed *
* AS IS and without any warranty. CUSTOMER retains the final decision *
* relative to the total design and functionality of the end product. *
* FREESCALE neither guarantees nor will be held liable by CUSTOMER *
* for the success of this project. FREESCALE disclaims all warranties *
* express implied or statutory including but not limited to *
* implied warranty of merchantability or fitness for a particular *
* purpose on any hardware software ore advise supplied to the project *
* by FREESCALE and or any product resulting from FREESCALE services. *
* In no event shall FREESCALE be liable for incidental or consequential *
* damages arising out of this agreement. CUSTOMER agrees to hold *
* FREESCALE harmless against any and all claims demands or actions *
* by anyone on account of any damage or injury whether commercial *
* contractual or tortuous rising directly or indirectly as a result *
* of the advise or assistance supplied CUSTOMER in connection with *
* product services or goods supplied under this Agreement. *
*************************************************************************/
/*******************************************************************
Copyright (c) 2011 Freescale Semiconductor
\file Form1.cs
\brief Bootloader GUI
\author R66120
\version 1.0
\date 26/Sep/2011
\version 1.1
\date 04/Jan/2011
\version 1.2
\date 12/Jan/2012
\version 1.2.1
\date 04/June/2012
\support address beyond 0xFFFF
*********************************************************************/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using s19_handler;
using Global_Var;
using System.Threading;
namespace Boot_Code
{
public partial class Form1 : Form
{
public string program_status = ““;
public Form1()
{
int iNumberOfCOM;
string[] ports;
InitializeComponent();
Form1.CheckForIllegalCrossThreadCalls = false;
MyVar.Init();
ports = System.IO.Ports.SerialPort.GetPortNames();
NumberOfCOM = ports.GetLength(0);
for (i = 0; i < NumberOfCOM;i++ )
{
comboBox1.Items.Add(ports[i]);
}
}
private void openFileDialog1_FileOk(object sender CancelEventArgs e)
{
}
private void button1_Click(object sender EventArgs e)
{
if (program_status == ““ || program_status == “ver
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 553340 2017-01-11 14:45 S32K CAN FD Bootloader.pdf
----------- --------- ---------- ----- ----
553340 1
- 上一篇:webservice服务上传文件
- 下一篇:SIM7000C硬件设计手册
评论
共有 条评论