ARM核的演变及小技巧

来源:互联网 发布:php 去除图片水印 编辑:程序博客网 时间:2024/05/16 10:32

ARM7与Cortex-M3的区别

http://blog.sina.com.cn/s/blog_682686610100z0qt.html


关于A8核一段经典的描述:

From high-end feature phones to netbooks, digital TVs, printers and automotive-infotainment, the Cortex-A8 processor offers a proven high-performance solution with millions of units shipped annually. The processor features a high-performance, superscalar microarchitecture with targets ranging from 600MHz to 1GHz and above.It is binary compatible with theARM926™,ARM1136™, andARM1176™ processors, providing an option for migration from Classic ARM processors.

With the advent of hi-bandwidth wireless connectivity (3G) and larger screens in mobile devices, the Cortex-A8 reached mass production in 2008. The introduction of the Cortex-A8 coincided with the tremendous ramp in the volume of smartphone sales.


加速Cortex-M MCU调试的五个技巧

http://geek.csdn.net/news/detail/74176

技巧3#-从printf到SWO

在高端的ARM Cortex-M系列配件中,如M3/M4,它为开发人员提供了额外的调试能力,即串行线查看器(Serial Wire Viewer,SWV)。SWV还包括除串行线输出(SWO)以外的标准串行线调试。SWO可以用来做很酷的东西,如程序检索计数器,事件计数器,及数据追踪等。开发者还可以对它们进行自定义,设置自己想要在SWO中传送的信息。

许多开发者为了从他们的嵌入式系统中获取调试信息通常会设置printf。实际上则并不是在单片机中使用串口引脚,而是开发人员可以使用SWO通过调试器重新路由printf信息。以这种方式使用调试器可以保存专用串行接口的需要,同时消除了开发UART和USB设备的时间,效率更高。现在通过SWO和调试硬件将最初被应用程序所使用的开销卸去,缩减了那些有可能被应用程序代码使用的宝贵的时钟周期。


KEIl工具之scatter file分散加载文件1

http://blog.csdn.net/xlhcgd/article/details/45876175



STM32从Flash地址0x08000000的启动重映射

http://blog.csdn.net/mmhh3000/article/details/21375393

STM32的Flash在MDK里被设置为起始地址0x0800 0000,而CM3手册规定芯片复位时要从0x0000 0000地址开始取出中断向量 ,那STM32怎么样执行代码呢?地址重映射?或者在0x0000 0000里有对应有实际存储器?

仔细阅读手册,发现这件事是因为STM32设计的Flash起始地址是在0x0800 0000位置开始的。全部代码都只能从这里开始存储。详见STM32 referenc manual手册第54页。

理论上,CM3中规定上电后CPU是从0地址开始执行,但是这里中断向量表却被烧写在0x0800 0000地址里,那启动时不就找不到中断向量表了?既然CM3定下的规矩是从0地址启动,SMT32当然不能破坏ARM定下的“规矩”,所以它做了一个启动映射的过程,就是和芯片上总能见到的BOOT0和BOOT1有关了,当选择从主Flash启动模式后,芯片一上电,Flash的0x0800 0000地址被映射到0地址处,不影响CM3内核的读取,所以这时的CM3既可以在0地址处访问中断向量表,也可以在0x0800 0000地址处访问中断向量表,而代码还是在0x0800 0000地址处存储的。这就是最难理解的地方,其实,这是基本上所有ARM芯片采用的启动映射方法


怎样设置指定的烧录地址开始运行? 

http://www.openedv.com/posts/list/50858.htm







0 0
原创粉丝点击