EasyManua.ls Logo

Orange Pi Zero2 - SPI Nor Flash Test

Orange Pi Zero2
88 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
61
2) Then compile and recompile /boot/boot.cmd to /boot/boot.scr
root@orangepi:~# mkimage -C none -A arm -T script -d /boot/boot.cmd
/boot/boot.scr
Image Name:
Created: Tue Nov 3 01:45:17 2020
Image Type: ARM Linux Script (uncompressed)
Data Size: 2247 Bytes = 2.19 KiB = 0.00 MiB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 2239 Bytes = 2.19 KiB = 0.00 MiB
3) Then connect the USB to TTL module to the 26pins UART5 pin through the
DuPont cable
a. Connect the GND of the USB to TTL module to the GND of the 26pins of
the development board
b. Connect the RX of the USB to TTL module to the TX of the development
board UART5
c. Connect the TX of the USB to TTL module to the RX of the development
board UART5
4) Then restart the development board, you can see that the kernel console outputs to
ttyS5 by default. Note that the output log of u-boot is still output to ttyS0, not ttyS5
3.25. SPI Nor Flash test
1) In the Orange Pi Zero 2 development board, SPI0 is connected to the onboard 2MB
SPI Nor Flash. WiringOP can be used to test it. At present, it can only test the data
read and write of the SPI Nor Flash chip to ensure that the hardware is okay. , Can’t
use SPI Nor Flash to run U-boot

Table of Contents

Related product manuals