-
大小: 4.98MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-11-19
- 语言: 其他
- 标签: S32K144 bootloader can s32
资源简介
NXP的S32K144的can bootloader,可自己修改成一般的CAN,目前是CANFD
代码片段和文件信息
/*
* Copyright (c) 2013 - 2014 Freescale Semiconductor Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms with or without modification
* are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice this list
* of conditions and the following disclaimer.
*
* o Redistributions in binary form must reproduce the above copyright notice this
* list of conditions and the following disclaimer in the documentation and/or
* other materials provided with the distribution.
*
* o Neither the name of Freescale Semiconductor Inc. nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“ AND
* ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES
* (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include “startup.h“
#include “derivative.h“
#if (defined(__ICCARM__))
#pragma section = “.data“
#pragma section = “.data_init“
#pragma section = “.bss“
#endif
/*******************************************************************************
* Code
******************************************************************************/
/*FUNCTION**********************************************************************
*
* Function Name : init_data_bss
* Description : Make necessary initializations for RAM.
* - Copy initialized data from ROM to RAM.
* - Clear the zero-initialized data section.
* - Copy the vector table from ROM to RAM. This could be an option.
*
* Tool Chians:
* __GNUC__ : GCC
* __CC_ARM : KEIL
* __ICCARM__ : IAR
*
*END**************************************************************************/
void init_data_bss(void)
{
uint32_t n;
/* Addresses for VECTOR_TABLE and VECTOR_RAM come from the linker file */
#if defined(__CC_ARM)
extern uint32_t Image$$VECTOR_ROM$$base[];
extern uint32_t Image$$VECTOR_RAM$$base[];
extern uint32_t Image$$RW_m_data$$base[];
#define __VECTOR_TABLE Image$$VECTOR_ROM$$base
#define __VECTOR_RAM Image$$VECTOR_RAM$$base
#define __RAM_VECTOR_TABLE_SIZE (((uint32_t)Image$$RW_m_data$$base - (uint32_t)Image$$VECTOR_RAM$$base))
#elif defined(__ICCARM__)
extern
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-07-06 18:19 S32K144 CAN FD Bootloader v2.0\
文件 146 2016-07-26 16:40 S32K144 CAN FD Bootloader v2.0\readme.txt
目录 0 2017-07-06 18:09 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\
文件 65450 2017-07-06 18:03 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\.cproject
文件 737 2017-07-06 18:03 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\.project
目录 0 2017-07-06 18:09 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\.settings\
文件 43 2017-07-05 21:52 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\.settings\com.freescale.s32ds.cross.wizard.prefs
文件 87 2017-07-05 21:52 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\.settings\com.processorexpert.core.ide.newprojectwizard.prefs
文件 3093 2017-07-06 18:03 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\.settings\language.settings.xm
目录 0 2017-07-06 18:09 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Debug\
文件 4208 2017-07-06 17:59 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Debug\LED_Blue.s19
文件 4208 2017-07-06 17:41 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Debug\LED_Green.s19
文件 4208 2017-07-06 17:58 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Debug\LED_Red.s19
文件 34 2016-11-11 19:20 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\desc
目录 0 2017-07-06 18:09 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\include\
文件 807 2016-11-11 19:20 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\include\derivative.h
文件 3337 2016-11-11 19:20 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\include\devassert.h
文件 3582 2016-11-11 19:20 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\include\fsl_core_cm4.h
文件 3207 2016-11-11 19:20 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\include\fsl_device_registers.h
文件 1004248 2016-11-11 19:20 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\include\S32K144.h
文件 45643 2016-11-11 19:20 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\include\S32K144_features.h
文件 2261 2016-11-11 19:20 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\include\startup.h
文件 11193 2016-11-11 19:20 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\include\system_S32K144.h
目录 0 2017-07-06 18:09 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Project_Settings\
目录 0 2017-07-06 18:09 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Project_Settings\Debugger\
文件 17349 2017-07-06 18:03 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Project_Settings\Debugger\App_Light_LED_Debug.launch
文件 17094 2017-07-06 18:03 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Project_Settings\Debugger\App_Light_LED_Debug_RAM.launch
文件 17083 2017-07-06 18:03 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Project_Settings\Debugger\App_Light_LED_Release.launch
目录 0 2017-07-06 18:09 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Project_Settings\li
文件 7588 2017-07-06 09:03 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Project_Settings\li
文件 6650 2016-11-11 19:20 S32K144 CAN FD Bootloader v2.0\S32K144_App_Light_LED\Project_Settings\li
............此处省略128个文件信息
- 上一篇:汤国安arcgis教程
- 下一篇:16位补码并行加法器含减法器实验
相关资源
- modscan32 破解版解压即可用
- 基于彩色图像的Canny边缘检测算法
- MCP2515 芯片手册
- Prescan多车道变道超车场景
- PCAN_USB_Win_x64-driver.rar
- 使用canvas画线,位移,旋转,绘制五
- CANoe/CAPL零基础教程
- DFT Compiler Scan User Guide Version E-2010.12
- calibre 仿真超细教程,candence没有那么
- CAN总线培训教材
- STM32F407串口1-6 CAN1&2测试例程
- CANoe软件安装.docx
- STM32F4 的CAN1 CAN2 双CAN收发
- stm32通过CAN通信控制电机
- STM32F042 带定时器中断 can ADC
- CANopen通信介绍及倍福的CANopen通信使用
- photomodeler scanner v6.2.2.596汉化破解原创
- 最新版的CiA-301 v4.2.0
- FTPScanFTPScan
- STM32F105RC_U盘升级bootloader.7z
- 任意串口BootLoader程序升级
- SAE J1939英文版+中文版,共20多份文档
- 恒润CAN.rar
- 改进的自适应阈值Canny边缘检测
- I CAN SEE YOU +IPAddressControlLib
- S32KCANbootloader上位机及下位机源码
- Postern-3.1.2.apk.zip
- tongyong_taocan_admin.zip
- 6416bootloader.rar
- STM32 BOOTLOADER IAP 自动跳转
评论
共有 条评论