Download ckermit serial port tool
sudo apt-get install ckermit
If we have a new serial port connected, we can view the connection data by viewing /dev
Configuration of ckermit configuration file .kermrc
set line /dev/ttyUSB0
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000
set send pack 1000
set window 5
sudo kermrc to enter the serial port and modify the external device and the host to be in the same network segment
ifconfig eth0 172.16.3.100
Installation and configuration of cross-compilation environment
A cross-compilation tool arm-linux-gcc-4.5.1 is needed here
After unzipping it, a folder will appear with a default path.
/opt/FriendlyARM/toolchain/4.5.1/bin
We can see that it has many functions and can realize many functions
At the same time, we need to be compatible with our platform. We are a 64-bit platform, and we need to be compatible with 32-bit platforms
sudo apt-get install lib32z
At this time we need to use this program in different places, so we need to configure the environment variables, which have two places.
One is in /etc/profile. If you modify it here, all users will be modified.
So we choose to modify the ./bashrc file in the home directory. The modification here is only useful for the current user. We add
export PATH=/opt/FriendlyARM/toolschain/4.5.1/bin:$PATH
Communication between host and ARM board
First we install the nfs communication server
sudo apt-get install nfs-kernel-server
Create a folder and specify a specific directory
vi /etc/exports
/home/user/share *(rw,sync,no_root_squash)//* is the IP address, rw read-write, sync synchronization, no_root does not do root verification
/home/user/rootfs *(rw,sync,no_root_squash)
service nfs-kernel-server restart //Server restart
sudo mount -t nfs 172.16.3.100:/home/user/share /mnt -o nolock //Mount the Linux system on the arm board
In this way, the operation of the arm board is realized through the network server
Previous article:ARM development - modification and burning of uboot
Next article:Exception handling in Arm64
Recommended posts
- 【Follow me Season 2 Episode 1】 Creative Task (Creative Wearable Decorations)
- #【FollowmeSeason2Episode1】CreativeTask(CreativeWearableDecorations)Helloeveryone,thisisiex123.ThistimeIwilltryCreativeTask1andmakeacreativewearabledecoration.IchosetouseamicrophonesensorandonboardLEDtomakea
- iexplore123 DigiKey Technology Zone
- How to put two or more board frames in one PCB file
- Howtoputtwoormoreboardframes (mainboard+adapterboard+keyboard+sensorboard+displayboard,etc.)inonePCBfile?Exceptforthemainboard,otherboardsmayhaveonlyafewmaterial pads.Can'tonePCBfileholdtwoboardfra
- QWE4562009 Discrete Device
- Sensorless FOC Video
- https://v.youku.com/v_show/id_XNDY3ODYyMzk2MA==.html https://v.youku.com/v_show/id_XNDYzMDEwOTk2MA==.html http://https://v.youku.com/v_show/id_XNDY3NjE2NjM1Ng==.html https://v.youku.com/v_show/id_XNDcxMTEwODA3Ng==.html Verygoodoriginalsha
- jie888jie89 Motor Drive Control(Motor Control)
- 5. [Domestic FPGA Anlu high-integration low-power SF1 series FPSoC new product evaluation] 128*32 OLED dot matrix screen display
- BecauseseveralFPCcablesoftheOLEDscreenwerebroken,thefinalworkcouldnotcontinue.AtotaloffourFPCcableswerebroken. IwasalittleconfusedwhenIsawthisscene,becauseIconfirmedthatthescreenwasusableafterrecei
- 1nnocent Domestic Chip Exchange
- "Python Programming Quick Start" Part 1: Understand Python Basics
- 1.Description Firstofall,Iamveryhonoredtobeselectedforthelistof"PythonProgrammingQuickStart"andthanktheofficialfororganizingthisevaluationactivity. Secondly,inthisactivity,thePythonprogramdesignedwasnotru
- xiaolinen Integrated technical exchanges
- Recommend several inverter PWM signal amplifier chips
- ThePWMamplifierchipoftheinverter,theDSPoutputsignalpoweristooweak,andneedstobeamplifiedtodirectlydrivetheoptocoupleroramplifierofthesubsequentdrivecircuit.Howmanycommonlyusedonesarethere?PWMchipwithlowpoten
- 乱世煮酒论天下 Motor Drive Control(Motor Control)
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- Europe's three largest chip giants re-examine their supply chains
- Breaking through the intelligent competition, Changan Automobile opens the "God's perspective"
- The world's first fully digital chassis, looking forward to the debut of the U7 PHEV and EV versions
- Design of automotive LIN communication simulator based on Renesas MCU
- When will solid-state batteries become popular?
- Adding solid-state batteries, CATL wants to continue to be the "King of Ning"
- The agency predicts that my country's public electric vehicle charging piles will reach 3.6 million this year, accounting for nearly 70% of the world
- U.S. senators urge NHTSA to issue new vehicle safety rules
- Giants step up investment, accelerating the application of solid-state batteries
- Guangzhou Auto Show: End-to-end competition accelerates, autonomous driving fully impacts luxury...
- Operating handle failure
- The global semiconductor and equipment industry saw a slight increase in 2006
- In-depth reveal of how many ground vias are needed next to the signal hole
- Electronic Design Tips
- [First come first served double gift] Become the first 100 pioneers to experience the Fluke New Era 640 Infrared Thermal Imager
- Many factors drive the WLAN market: consumer electronics become the main force
- Get the relevant information required by the Bone Vibration Sensor LIS25BA contestants (including official information and engineers' evaluation)
- The dynamic diagram explains the lead and lag of voltage and current
- Parallel switch type voltage regulator circuit
- DC Motor Control System