MCUXpresso Platform Customization: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= | = DART-MX8M = | ||
== | == Sections == | ||
=== Available Demos === | === Available Demos === | ||
<section begin=DART-MX8M_DEMOS_SECTION/> | <section begin=DART-MX8M_DEMOS_SECTION/><!-- | ||
* driver_examples/i2c/interrupt_b2b_transfer/slave | -->* driver_examples/i2c/interrupt_b2b_transfer/slave | ||
* driver_examples/i2c/interrupt_b2b_transfer/master | * driver_examples/i2c/interrupt_b2b_transfer/master | ||
* driver_examples/i2c/polling_b2b_transfer/slave | * driver_examples/i2c/polling_b2b_transfer/slave | ||
Line 41: | Line 41: | ||
* multicore_examples/rpmsg_lite_str_echo_rtos | * multicore_examples/rpmsg_lite_str_echo_rtos | ||
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote | * multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote | ||
* demo_apps/hello_world | * demo_apps/hello_world<!-- | ||
<section end=DART-MX8M_DEMOS_SECTION/> | --><section end=DART-MX8M_DEMOS_SECTION/> | ||
== Memory types == | |||
<section begin=DART-MX8M_MEMORY-TYPES_SECTION/><!-- | |||
-->The SDK allow linking using 2 different memory types: DDR, TCM. | |||
Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file. | |||
{| class="wikitable" | |||
|- | |||
! scope="col" | memory type | |||
! scope="col" | M4 memory area | |||
! scope="col" | A53 memory area | |||
! scope="col" | memory lentgh | |||
! scope="col" | linker file | |||
|- | |||
| DDR | |||
| 0x80000000-0x801FFFFF (code)<br>0x80200000-0x803FFFFF (data)<br>0x80400000-0x80FFFFFF (data2) | |||
| 0x80000000-0x801FFFFF (code)<br>0x80200000-0x803FFFFF (data)<br>0x80400000-0x80FFFFFF (data2) | |||
| 16MB (DDR) | |||
| MIMX8MQ6xxxJZ_cm4_ddr_ram.ld | |||
|- | |||
| TCM | |||
| 0x1FFE0000-0x1FFFFFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x80000000-0x80FFFFFF (data2) | |||
| 0x007E0000-0x007FFFFF (code)<br>0x00800000-0x0081FFFF (data)<br>0x80000000-0x80FFFFFF (data2) | |||
| 256kB (TCM) + 16MB (DDR) | |||
| MIMX8MQ6xxxJZ_cm4_ram.ld | |||
|- | |||
|} | |||
All linker files are locate in the armgcc folder of each demo | |||
Further details about memory mapping are available in [https://cache.nxp.com/secured/assets/documents/en/reference-manual/IMX8MDQLQRM.pdf i.MX 8M Applications Processors Reference Manual] paragraphs: | |||
* 2.1.2 Cortex-A53 Memory Map (pag 496) | |||
* 2.1.3 Cortex-M4 Memory Map (pag 498)<!-- | |||
--><section end=DART-MX8M_MEMORY-TYPES_SECTION/> | |||
== Releases == | |||
=== mcuxpresso-2.5.1-mx8mq-v1.0 === | === mcuxpresso-2.5.1-mx8mq-v1.0 === | ||
Line 60: | Line 98: | ||
-->{{#vardefine:DOCS_FOLDER|docs}}<!-- | -->{{#vardefine:DOCS_FOLDER|docs}}<!-- | ||
-->{{#vardefine:DEMOS_SECTION|DART-MX8M_DEMOS_SECTION}}<!-- | -->{{#vardefine:DEMOS_SECTION|DART-MX8M_DEMOS_SECTION}}<!-- | ||
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M_MEMORY-TYPES_SECTION}}<!-- | |||
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK i.MX 8M Devices.pdf}}<!-- | -->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK i.MX 8M Devices.pdf}}<!-- | ||
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MQ}}<!-- | -->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MQ}}<!-- | ||
Line 77: | Line 116: | ||
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}''' | *DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}''' | ||
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}''' | *DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}''' | ||
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}''' | |||
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}''' | *NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}''' | ||
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}''' | *NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}''' | ||
= DART-MX8M-MINI = | |||
== Releases == | |||
=== mcuxpresso-2.5.0-mx8mm-v1.0 === | === mcuxpresso-2.5.0-mx8mm-v1.0 === | ||
Line 97: | Line 139: | ||
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!-- | -->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!-- | ||
-->{{#vardefine:DOCS_FOLDER|docs}}<!-- | -->{{#vardefine:DOCS_FOLDER|docs}}<!-- | ||
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!-- | |||
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_SECTION}}<!-- | |||
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for i.MX 8M Mini.pdf}}<!-- | -->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for i.MX 8M Mini.pdf}}<!-- | ||
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!-- | -->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!-- | ||
Line 113: | Line 157: | ||
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}''' | *BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}''' | ||
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}''' | *DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}''' | ||
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}''' | |||
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}''' | |||
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}''' | *NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}''' | ||
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}''' | *NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}''' |
Revision as of 17:42, 5 May 2019
DART-MX8M
Sections
Available Demos
- driver_examples/i2c/interrupt_b2b_transfer/slave
- driver_examples/i2c/interrupt_b2b_transfer/master
- driver_examples/i2c/polling_b2b_transfer/slave
- driver_examples/i2c/polling_b2b_transfer/master
- driver_examples/wdog
- driver_examples/gpio/led_output
- driver_examples/tmu/tmu_monitor_report
- driver_examples/pwm
- driver_examples/uart/auto_baudrate_detect
- driver_examples/uart/interrupt
- driver_examples/uart/interrupt_rb_transfer
- driver_examples/uart/polling
- driver_examples/uart/interrupt_transfer
- driver_examples/gpt/timer
- driver_examples/gpt/capture
- driver_examples/ecspi/ecspi_loopback
- driver_examples/qspi/polling_transfer
- driver_examples/rdc
- driver_examples/sema4/uboot
- rtos_examples/freertos_ecspi/ecspi_loopback
- rtos_examples/freertos_hello
- rtos_examples/freertos_queue
- rtos_examples/freertos_sem
- rtos_examples/freertos_generic
- rtos_examples/freertos_uart
- rtos_examples/freertos_tickless
- rtos_examples/freertos_mutex
- rtos_examples/freertos_event
- rtos_examples/freertos_swtimer
- rtos_examples/freertos_i2c
- cmsis_driver_examples/i2c/int_b2b_transfer/slave
- cmsis_driver_examples/i2c/int_b2b_transfer/master
- cmsis_driver_examples/uart/interrupt_transfer
- cmsis_driver_examples/ecspi/int_loopback_transfer
- multicore_examples/rpmsg_lite_str_echo_rtos
- multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
- demo_apps/hello_world
Memory types
The SDK allow linking using 2 different memory types: DDR, TCM.
Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.
memory type | M4 memory area | A53 memory area | memory lentgh | linker file |
---|---|---|---|---|
DDR | 0x80000000-0x801FFFFF (code) 0x80200000-0x803FFFFF (data) 0x80400000-0x80FFFFFF (data2) |
0x80000000-0x801FFFFF (code) 0x80200000-0x803FFFFF (data) 0x80400000-0x80FFFFFF (data2) |
16MB (DDR) | MIMX8MQ6xxxJZ_cm4_ddr_ram.ld |
TCM | 0x1FFE0000-0x1FFFFFFF (code) 0x20000000-0x2001FFFF (data) 0x80000000-0x80FFFFFF (data2) |
0x007E0000-0x007FFFFF (code) 0x00800000-0x0081FFFF (data) 0x80000000-0x80FFFFFF (data2) |
256kB (TCM) + 16MB (DDR) | MIMX8MQ6xxxJZ_cm4_ram.ld |
All linker files are locate in the armgcc folder of each demo
Further details about memory mapping are available in i.MX 8M Applications Processors Reference Manual paragraphs:
- 2.1.2 Cortex-A53 Memory Map (pag 496)
- 2.1.3 Cortex-M4 Memory Map (pag 498)
Releases
mcuxpresso-2.5.1-mx8mq-v1.0
- HARDWARE_NAME = DART-MX8M
- RELEASE_NAME = mcuxpresso-2.5.1-mx8mq-v1.0
- RELEASE_LINK = MCUXPRESSO_2.5.1_V1.0_DART-MX8M
- RELEASE_NOTES_LINK = https://docs.google.com/spreadsheets/d/e/2PACX-1vSKd7IE5JQ_DWCDgnEmH-Mg_8A2k1YJmia0u8jvyytR14lMYCQ-rIkZprdoxQhry_cy73ZbWYPIpqHu/pubhtml
- MCUXPRESSO_VERSION = 2.5.1
- SDK_PATH = ~/var-mcuxpresso
- SDK_GIT_URL = https://github.com/varigit/freertos-variscite
- SDK_GIT_BRANCH = mcuxpresso_sdk_2.5.x-var01
- TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
- TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
- TOOLCHAIN_FOLDER = gcc-arm-none-eabi-7-2018-q2-update
- BOARD_FOLDER = boards/dart_mx8mq
- DOCS_FOLDER = docs
- DEMOS_SECTION = DART-MX8M_DEMOS_SECTION
- MEMORY_TYPES_SECTION = DART-MX8M_MEMORY-TYPES_SECTION
- NXP_USER_GUIDE = Getting Started with MCUXpresso SDK i.MX 8M Devices.pdf
- NXP_REFERENCE_KIT = EVK-MIMX8MQ
DART-MX8M-MINI
Releases
mcuxpresso-2.5.0-mx8mm-v1.0
- HARDWARE_NAME = DART-MX8M-MINI
- RELEASE_NAME = mcuxpresso-2.5.0-mx8mm-v1.0
- RELEASE_LINK = MCUXPRESSO_2.5.0_V1.0_DART-MX8M-MINI
- RELEASE_NOTES_LINK = https://docs.google.com/spreadsheets/d/e/2PACX-1vSKd7IE5JQ_DWCDgnEmH-Mg_8A2k1YJmia0u8jvyytR14lMYCQ-rIkZprdoxQhry_cy73ZbWYPIpqHu/pubhtml
- MCUXPRESSO_VERSION = 2.5.0
- SDK_PATH = ~/var-mcuxpresso
- SDK_GIT_URL = https://github.com/varigit/freertos-variscite
- SDK_GIT_BRANCH = mcuxpresso_sdk_2.5.x-var01
- TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
- TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
- TOOLCHAIN_FOLDER = gcc-arm-none-eabi-7-2018-q2-update
- BOARD_FOLDER = boards/dart_mx8mm
- DOCS_FOLDER = docs
- DEMOS_SECTION = DART-MX8M-MINI_DEMOS_SECTION
- MEMORY_TYPES_SECTION = DART-MX8M-MINI_MEMORY-TYPES_SECTION
- NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for i.MX 8M Mini.pdf
- NXP_REFERENCE_KIT = EVK-MIMX8MM