91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 278KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-02
  • 語言: 其他
  • 標簽: MPC5606s??Bootloader??

資源簡介

該文檔基于飛思卡爾MPC5606S單片機制作的BootLoader工程程序,分為BOOT頭程序和APP程序,BOOT頭程序可以實現ROM地址擦除以及通過CAN線下載更新程序。

資源截圖

代碼片段和文件信息

??
/**?
?*?FILE:?Exceptions.c
?*
?*??DEscriptION:?Setup?of?IVPR?to?point?to?the?EXCEPTION_HANDLERS?memory?area?
?*???????????????defined?in?the?linker?command?file.
?*???????????????Default?setup?of?the?IVORxx?registers.?
*/


/*----------------------------------------------------------------------------*/
/*?Includes???????????????????????????????????????????????????????????????????*/
/*----------------------------------------------------------------------------*/

#include?“Exceptions.h“?/*?Implement?functions?from?this?file?*/

/*----------------------------------------------------------------------------*/
/*?Function?Implementations???????????????????????????????????????????????????*/
/*----------------------------------------------------------------------------*/

#pragma?push?/*?Save?the?current?state?*/
/*?Symbol?EXCEPTION_HANDLERS?is?defined?in?the?application?linker?command?file?(.lcf)?
???It?is?defined?to?the?start?of?the?code?memory?area?used?for?the?.__exception_handlers?section.?
*/
/*lint?-esym(752?EXCEPTION_HANDLERS)?*/
__declspec?(section?“.__exception_handlers“)?extern?long?EXCEPTION_HANDLERS;??
#pragma?force_active?on
#pragma?function_align?16?/*?We?use?16?bytes?alignment?for?Exception?handlers?*/
__declspec(interrupt)
__declspec?(section?“.__exception_handlers“)
void?EXCEP_DefaultExceptionHandler(void)
{

}
#pragma?force_active?off
#pragma?pop

__asm?void?EXCEP_InitExceptionHandlers(void)
{
nofralloc

????/*?Set?the?IVPR?to?the?Exception?Handlers?memory?area?defined?in?the?lcf?file?*/?
????lis?????r0?EXCEPTION_HANDLERS@h
????ori?????r0?r0?EXCEPTION_HANDLERS@l
????mtivpr??r0

????/*?Set?all?IVOR?registers?to?the?Default?Exception?Handler?*/
????lis?????r0?EXCEP_DefaultExceptionHandler@h
????ori?????r0?r0?EXCEP_DefaultExceptionHandler@l

#if?!defined(Z0H_CORE)
????/*?IVORx?registers?are?“hard-wired“?in?the?e200z0?and?z0h?cores?*/

????/*?IVOR0?Critical?input?(SPR?400)?*/
????mtivor0?r0
????/*?IVOR1?Machine?check?interrupt?(SPR?401)?*/
????mtivor1?r0
????/*?IVOR2?Data?storage?interrupt?(SPR?402)?*/
????mtivor2?r0
????/*?IVOR3?Instruction?storage?interrupt?(SPR?403)?*/
????mtivor3?r0
????/*?IVOR4?External?input?interrupt?(SPR?404)?*/
????mtivor4?r0
????/*?IVOR5?Alignment?interrupt?(SPR?405)?*/
????mtivor5?r0
????/*?IVOR6?Program?interrupt?(SPR?406)?*/
????mtivor6?r0
????/*?IVOR7?Floating-point?unavailable?interrupt?(SPR?407)?*/
????mtivor7?r0
????/*?IVOR8?System?call?interrupt?(SPR?408)?*/
????mtivor8?r0
????/*?IVOR9?Auxiliary?processor?(SPR?409)?*/
????mtivor9?r0
????/*?IVOR10?Decrementer?interrupt?(SPR?410)?*/
????mtivor10?r0
????/*?IVOR11?Fixed-interval?timer?interrupt?(SPR?411)?*/
????mtivor11?r0
????/*?IVOR12?Watchdog?timer?interrupt?(SPR?412)?*/
????mtivor12?r0
????/*?IVOR13?Data?TLB?error?interrupt?(SPR?413)?*/
????mtivor13?r0????????
????/*?IVOR14?Instruction?TLB?error?interrupt?(SPR?414)?*/
????mtivor14?r0??
????/*?IVOR15?Debug?inter

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????93621??2010-08-20?15:55??App\App.mcp
?????目錄???????????0??2010-09-06?11:29??App\App_Data\
?????文件????????4197??2010-08-20?15:56??App\App_Data\CWSettingsWindows.stg
?????目錄???????????0??2010-09-06?11:29??App\App_Data\internal_FLASH\
?????目錄???????????0??2010-09-06?11:29??App\App_Data\internal_FLASH\objectCode\
?????文件??????122678??2010-08-20?15:56??App\App_Data\internal_FLASH\TargetDataWindows.tdt
?????目錄???????????0??2010-09-06?11:29??App\App_Data\RAM\
?????文件???????50623??2010-08-20?15:56??App\App_Data\RAM\TargetDataWindows.tdt
?????目錄???????????0??2010-09-06?11:29??App\bin\
?????文件???????25640??2010-08-20?15:55??App\bin\internal_FLASH.elf
?????文件???????38489??2010-08-20?15:55??App\bin\internal_FLASH.MAP
?????文件????????6620??2010-08-20?15:55??App\bin\internal_FLASH.mot
?????目錄???????????0??2010-09-06?11:29??App\lcf\
?????文件????????2485??2010-08-20?14:37??App\lcf\MPC5606S_FS60X2.lcf
?????文件????????1913??2010-08-20?14:27??App\lcf\MPC5606S_FS60X2_DEBUG.lcf
?????文件????????2898??2010-08-20?14:27??App\readme.txt
?????目錄???????????0??2010-09-06?11:29??App\src\
?????文件????????3319??2010-08-20?14:27??App\src\Exceptions.c
?????文件????????1537??2010-08-20?14:27??App\src\Exceptions.h
?????文件????????8928??2010-08-20?14:27??App\src\IntcInterrupts.c
?????文件????????2142??2010-08-20?14:27??App\src\IntcInterrupts.h
?????文件????????2168??2010-08-20?14:27??App\src\ivor_branch_table.c
?????文件????????2428??2010-08-20?15:51??App\src\main.c
?????文件????????3375??2010-08-20?15:08??App\src\MPC55xx_init.c
?????文件????????2089??2010-08-20?14:27??App\src\MPC55xx_init_debug.c
?????文件??????187917??2010-08-16?15:57??App\src\MPC5606S_FS60X2.h
?????文件??????182806??2009-07-07?10:23??App\src\MPC5606S_FS60X2_.h
?????文件????????7193??2010-08-20?14:27??App\src\MPC5606S_FS60X2_HWInit.c
?????文件????????5901??2010-08-20?14:27??App\src\MPC5606S_FS60X2_HWInit.h
?????文件????????4691??2010-08-20?14:27??App\src\typedefs.h
?????文件???????29987??2010-08-20?14:27??App\src\__ppc_eabi_init.c
............此處省略47個文件信息

評論

共有 條評論