首页 > 评测 > 评测列表 > MCU

ARM中的R,一款Cortex R内核开发板:三星ARTIK 055开发体验

  • 作者:zhanzr
  • 来源:21ic
  • [导读]
  • 三星公司的Exynos系列处理器针对IoT市场目前推出了两款: Exynos i S111, Exynos i T200. S111是针对NB-IoT市场的, T200即本文评测的这款针对WiFi市场. 就T200而言, 无论是开发工具, 还是配套SDK的完善度, 都是比较优秀的. 但是缺点是来的太迟了, T200这款芯片可以大约对标乐鑫的ESP32.

[2018/09/26 11:28:14:896]32768 bytes written at address 0x04040000

[2018/09/26 11:28:14:896]downloaded 32768 bytes in 0.572000s (55.944 KiB/s)

[2018/09/26 11:28:15:091]target halted in ARM state due to debug-request, current mode: Supervisor

[2018/09/26 11:28:15:092]cpsr: 0x600001d3 pc: 0x00003834

[2018/09/26 11:28:15:092]D-Cache: disabled, I-Cache: disabled

[2018/09/26 11:28:15:237]Flashing D:/ARTIK/SDK/A05x/18.05.00/source/tinyara/build/configs/artik055s/bin/wlanfw.bin to 'WLAN F/W' partition at 0x04048000...

[2018/09/26 11:28:15:431]target halted in ARM state due to debug-request, current mode: Supervisor

[2018/09/26 11:28:15:431]cpsr: 0x600001d3 pc: 0x00003834

[2018/09/26 11:28:15:431]D-Cache: disabled, I-Cache: disabled

[2018/09/26 11:28:27:419]524288 bytes written at address 0x04048000

[2018/09/26 11:28:27:419]downloaded 524288 bytes in 8.957982s (57.156 KiB/s)

[2018/09/26 11:28:27:626]target halted in ARM state due to debug-request, current mode: Supervisor

[2018/09/26 11:28:27:626]cpsr: 0x600001d3 pc: 0x04019240

[2018/09/26 11:28:27:626]D-Cache: disabled, I-Cache: enabled

[2018/09/26 11:28:27:772]Flashing D:/ARTIK/SDK/A05x/18.05.00/source/tinyara/build/output/bin/tinyara_head.bin-signed to 'OS' partition at 0x040C8000...

[2018/09/26 11:28:27:957]target halted in ARM state due to debug-request, current mode: Supervisor

[2018/09/26 11:28:27:958]cpsr: 0x600001d3 pc: 0x00003834

[2018/09/26 11:28:27:958]D-Cache: disabled, I-Cache: disabled

[2018/09/26 11:28:55:103]859648 bytes written at address 0x040c8000

[2018/09/26 11:28:55:103]downloaded 859648 bytes in 14.523936s (57.801 KiB/s)

Flash operation successful!

如果看到以上输出说明开发环境的硬软件已经配置正确, 否则回头看看哪里有遗漏.

关于开发环境多说几句

这个开发工具是基于Eclipse+arm-none-eabi-gcc环境的.事实上任何可以编译Cortex R的指令集(ARMv7r + Thumb)的编译器都能干这活,比如Keil MDK, DS 5. 请看armcc支持的CPU列表:

$ ./armcc.exe --cpu list

The following arguments to option 'cpu' can be selected:

--cpu=4

--cpu=4T

--cpu=5T

--cpu=5TE

--cpu=5TEJ

--cpu=6-M

--cpu=6S-M

--cpu=7-A

--cpu=7-R

--cpu=7-M

--cpu=7E-M

--cpu=7-A.security

--cpu=ARM7EJ-S

--cpu=ARM7TDMI

--cpu=ARM720T

--cpu=ARM7TDMI-S

--cpu=ARM9TDMI

--cpu=ARM920T

--cpu=ARM922T

--cpu=ARM9E-S

--cpu=ARM926EJ-S

--cpu=ARM946E-S

--cpu=ARM966E-S

--cpu=Cortex-M0

--cpu=Cortex-M0plus

--cpu=SC000

--cpu=Cortex-M1

--cpu=Cortex-M1.os_extension

--cpu=Cortex-M1.no_os_extension

--cpu=Cortex-M3

--cpu=Cortex-M3-rev0

--cpu=SC300

--cpu=Cortex-M4

--cpu=Cortex-M4.fp.sp

--cpu=Cortex-M7

--cpu=Cortex-M7.fp.sp

--cpu=Cortex-M7.fp.dp

--cpu=Cortex-R4

--cpu=Cortex-R4F

--cpu=Cortex-A5

--cpu=Cortex-A5.vfp

--cpu=Cortex-A5.neon

--cpu=Cortex-A7

--cpu=Cortex-A7.no_neon

--cpu=Cortex-A7.no_neon.no_vfp

--cpu=Cortex-A8

--cpu=Cortex-A8.no_neon

--cpu=Cortex-A8NoNEON

--cpu=Cortex-A9

--cpu=Cortex-A9.no_neon

--cpu=Cortex-A9.no_neon.no_vfp

--cpu=Cortex-A12

--cpu=Cortex-A12.no_neon.no_vfp

--cpu=Cortex-A15

--cpu=Cortex-A15.no_neon

--cpu=Cortex-A15.no_neon.no_vfp

--cpu=Cortex-A17

--cpu=Cortex-A17.no_neon.no_vfp

事实上Keil MDK在安装了Legacy支持包之后确实能开发几种Cortex R的处理器, 但是不包括T200. Keil MDK目前重心放在Cortex M系列上, 整个开发环境对Cortex R支持不完整. ARM公司建议使用DS-5来开发Cortex R的处理器. 而且现代嵌入式开发早就不仅仅是编译烧写, 还包括快速原型建立, 中间件支持, 调试, Trace等等. 所以建议还是使用三星官方整合好的ARTIK IDE来开发. 感兴趣的读者可以看看ARM公司官方对于这个问题的回复:

http://www.keil.com/support/docs/3969.htm

QUESTION

Does MDK-ARM support the ARM Cortex-R series?

ANSWER

MDK-ARM primarily supports the ARM Cortex-M series.

There is just a limited Legacy support of Cortex-R4 devices offered for the:

Texas

Instruments RM42Lxxx-, RM46Lxxx-, RM48Lxxx- and TMS570LSxxxx-series

RESOLUTION

ARM offers the DS-5 Development Studio for Cortex-R support.

A Debug support of Cortex-R is covered with the DSTREAM High-Performance Debug and Trace unit.

  • 本文系21ic原创,未经许可禁止转载!

网友评论