欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

專注電子技術(shù)學(xué)習(xí)與研究
當(dāng)前位置:單片機(jī)教程網(wǎng) >> MCU設(shè)計(jì)實(shí)例 >> 瀏覽文章

LPC11Cxx CAN RAM

作者:未知   來源:本站原創(chuàng)   點(diǎn)擊數(shù):  更新時(shí)間:2014年08月13日   【字體:

How to reserve LPC11Cxx RAM

For CAN API usage and IAP functions of LPC11C14 or LPC11C24 it's necessary to reserve RAM regions.There have been several threads about this already so I'll show here again 2 LPCXpresso solutions 

Problem #1 Reserving CAN API RAM[INDENT] For CAN API usage RAM from 0x1000 0050 to 0x1000 00B8. UM is warning us, but this warning can easily be overseen:

UM10398

Quote:

17.4.1 Calling the C_CAN API
...
On-chip RAM from address 0x1000 0050 to 0x1000 00B8 is used by the CAN API.

There a several solutions, but I'll describe here only 2 of them.
Note: Changing linker script is described in older threads. Since there are easier solutions nowadays and I don't want to disable 'Managed linker script' this option isn't described here. 
-----------------------------------------------------------------------------------
 調(diào)試LPC11C24片上API CAN時(shí),發(fā)現(xiàn)執(zhí)行CAN的API函數(shù)時(shí),有的全局變量的值會(huì)變。如上E文,原因是執(zhí)行CAN API 會(huì)用到RAM從 0x1000 0050 到0x1000 00B8。空掉此段,問題解決。

關(guān)閉窗口

相關(guān)文章