Lines Matching +full:cortex +full:- +full:m4

9 96Boards Meerkat96 board is based on NXP i.MX7 Hybrid multi-core processor,
10 composed of a dual Cortex®-A7 and a single Cortex®-M4 core.
11 Zephyr OS is ported to run on the Cortex®-M4 core.
13 - Board features:
15 - RAM: 512 Mbyte
16 - Storage:
18 - microSD Socket
19 - Wireless:
21 - WiFi: 2.4GHz IEEE 802.11b/g/n
22 - Bluetooth: v4.1 (BR/EDR)
23 - USB:
25 - Host - 2x type A
26 - OTG: - 1x type micro-B
27 - HDMI
28 - Connectors:
30 - 40-Pin Low Speed Header
31 - 60-Pin High Speed Header
32 - LEDs:
34 - 4x Green user LEDs
35 - 1x Blue Bluetooth LED
36 - 1x Yellow WiFi LED
50 - Dual Cortex A7 (800MHz/1.0GHz) core and Single Cortex M4 (200MHz) core
52 - Memory
54 - External DDR memory up to 1 Gbyte
55 - Internal RAM -> A7: 256KB SRAM
56 - Internal RAM -> M4: 3x32KB (TCML, TCMU, OCRAM_S), 1x128KB (OCRAM) and 1x256MB (DDR)
58 - Display
60 - RGB 1920x1080x24bpp
61 - 4-wire Resistive touch
63 - Multimedia
65 - 1x Camera Parallel Interface
66 - 1x Analog Audio Line in (Stereo)
67 - 1x Analog Audio Mic in (Mono)
68 - 1x Analog Audio Headphone out (Stereo)
70 - Connectivity
72 - USB 2.0 OTG (High Speed)
73 - USB 2.0 host (High Speed)
74 - 10/100 Mbit/s Ethernet PHY
75 - 4x I2C
76 - 4x SPI
77 - 7x UART
78 - 1x IrDA
79 - 20x PWM
80 - Up to 125 GPIO
81 - 4x Analog Input (12 Bit)
82 - 2x SDIO/SD/MMC (8 Bit)
83 - 2x CAN
87 - `i.MX 7 Series Website`_
88 - `i.MX 7 Dual Datasheet`_
89 - `i.MX 7 Dual Reference Manual`_
97 +-----------+------------+-------------------------------------+
100 | NVIC | on-chip | nested vector interrupt controller |
101 +-----------+------------+-------------------------------------+
102 | SYSTICK | on-chip | systick |
103 +-----------+------------+-------------------------------------+
104 | GPIO | on-chip | gpio |
105 +-----------+------------+-------------------------------------+
106 | UART | on-chip | serial port-polling; |
107 | | | serial port-interrupt |
108 +-----------+------------+-------------------------------------+
122 +---------------+-----------------+---------------------------+
126 +---------------+-----------------+---------------------------+
128 +---------------+-----------------+---------------------------+
130 +---------------+-----------------+---------------------------+
132 +---------------+-----------------+---------------------------+
134 +---------------+-----------------+---------------------------+
136 +---------------+-----------------+---------------------------+
141 The M4 Core is configured to run at a 200 MHz clock speed.
152 The 96Boards Meerkat96 board doesn't have QSPI flash for the M4 and it needs
153 to be started by the A7 core. The A7 core is responsible to load the M4 binary
154 application into the RAM, put the M4 in reset, set the M4 Program Counter and
155 Stack Pointer, and get the M4 out of reset. The A7 can perform these steps at
158 The M4 can use up to 5 different RAMs. These are the memory mapping for A7 and M4:
160 +------------+-----------------------+------------------------+-----------------------+------------…
161 | Region | Cortex-A7 | Cortex-M4 (System Bus) | Cortex-M4 (Code Bus) | Size …
163 | DDR | 0x80000000-0xFFFFFFFF | 0x80000000-0xDFFFFFFF | 0x10000000-0x1FFEFFFF | 2048MB (les…
164 +------------+-----------------------+------------------------+-----------------------+------------…
165 | OCRAM | 0x00900000-0x0091FFFF | 0x20200000-0x2021FFFF | 0x00900000-0x0091FFFF | 128KB …
166 +------------+-----------------------+------------------------+-----------------------+------------…
167 | TCMU | 0x00800000-0x00807FFF | 0x20000000-0x20007FFF | | 32KB …
168 +------------+-----------------------+------------------------+-----------------------+------------…
169 | TCML | 0x007F8000-0x007FFFFF | | 0x1FFF8000-0x1FFFFFFF | 32KB …
170 +------------+-----------------------+------------------------+-----------------------+------------…
171 | OCRAM_S | 0x00180000-0x00187FFF | 0x20180000-0x20187FFF | 0x00000000-0x00007FFF | 32KB …
172 +------------+-----------------------+------------------------+-----------------------+------------…
173 | QSPI Flash | | | 0x08000000-0x0BFFFFFF | 64MB …
174 +------------+-----------------------+------------------------+-----------------------+------------…
185 .. code-block:: none
188 - &ddr_code
189 - &tcml_code
190 - &ocram_code
191 - &ocram_s_code
192 - &ocram_pxp_code
193 - &ocram_epdc_code
196 - &ddr_sys
197 - &tcmu_sys
198 - &ocram_sys
199 - &ocram_s_sys
200 - &ocram_pxp_sys
201 - &ocram_epdc_sys
204 Below you will find the instructions to load and run Zephyr on M4 from
205 A7 using u-boot.
208 plug into the board. Power it up and stop the u-boot execution.
209 Set the u-boot environment variables and run the zephyr.bin from the
212 .. code-block:: console
241 `J-Link Tools`_ and `NXP iMX7D Connect CortexM4.JLinkScript`_.
243 To run Zephyr Binary using J-Link create the following script in order to
246 get-pc-sp.sh:
247 .. code-block:: console
253 pc=$(od -An -N 8 -t x4 $firmware | awk '{print $2;}')
254 sp=$(od -An -N 8 -t x4 $firmware | awk '{print $1;}')
260 Get the SP and PC from firmware binary: ``./get-pc-sp.sh zephyr.bin``
261 .. code-block:: console
266 Plug in the J-Link into the board and PC and run the J-Link command line tool:
268 .. code-block:: console
270 …/usr/bin/JLinkExe -device Cortex-M4 -if JTAG -speed 4000 -autoconnect 1 -jtagconf -1,-1 -jlinkscri…
274 1. Put the M4 core in reset
278 5. Get the M4 core out of reset
280 Issue the following commands inside J-Link commander:
282 .. code-block:: console
297 - `Loading Code on Cortex-M4 from Linux for the i.MX 6SoloX and i.MX 7Dual/7Solo Application Proces…
298 - `J-Link iMX7D Instructions`_
301 https://www.96boards.org/product/imx7-96/
304 …nxp.com/products/processors-and-microcontrollers/applications-processors/i.mx-applications-process…
307 https://www.nxp.com/docs/en/data-sheet/IMX7DCEC.pdf
312 .. _J-Link Tools:
313 https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack
318 .. _Loading Code on Cortex-M4 from Linux for the i.MX 6SoloX and i.MX 7Dual/7Solo Application Proce…
319 https://www.nxp.com/docs/en/application-note/AN5317.pdf
321 .. _J-Link iMX7D Instructions:
325 …https://developer.toradex.com/knowledge-base/freertos-on-the-cortex-m4-of-a-colibri-imx7#Memory_ar…