⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 notes.txt

📁 MIPS架构UCOS-ii移植例程
💻 TXT
字号:
MIPS_UCOS port for Atlas

Notes




1	How to Build the MIPS_UCOS for Atlas	1
1.1	Source code installation	1
1.2	Build the executable image	1
2	Atlas Hardware setup	1
3	Running the Image on the Atlas	2
4	PC side setup	2
5	Settings in build make file	2





1 How to Build the MIPS_UCOS for Atlas
Follow the 2 steps mentioned in the following lines.

Note: 
1. All references made to <root> must be replaced with actual root of uC/OS-II repository.


1.1 Source code installation
Unzip the mips_ucos_x.xx.zip to the same path where uC/OS-II source was installed (eg. C:\ or /root)

Note: All paths & build reference made to uC/OS-II files are relative. So uC/OS-II source & MIPS_UCOS must be extracted to the same path (So that upon extraction the following folders get created: <root>/SOFTWARE/uCOS-II/mips_ucos & <root>/SOFTWARE/uCOS-II/Ex1_Atlas/)

1.2 Build the executable image

For RAM build on top of TMON (or YAMON):
Run make from the bin folder "<root>/SOFTWARE/uCOS-II/Ex1_Atlas/bin/"

Note: You need to have mipsisa32-elf-gcc tool-chain installed.



2 Atlas Hardware setup
tty 0: It is configured as the CONSOL serial port
	Baud: 115200 Stop bits: 1 Parity: None Flow: None
tty 1: not used

Connect null modem RS232 cables between the Atlas's serial port (tty 0) & a PC COM port.



3 Running the Image on the Atlas
For RAM build on top of TMON:
Follow the "Download procedure for application Images" in TMON.doc to download the executable 'ex1.rec' in the RAM (starting at 0x80100000).

Note: You need to have TMON 1.0 (or later) installed on the Atlas board. For installation instructions refer to TMON.doc



4 PC side setup
Run the Hyperterminal before running the MIPS image.

Starting Hyperterminal (COM1 or some free COM port)
Settings: Baud: 115200 Stop bits: 1 Parity: None Flow: None




5 Settings in build make file
IMAGENAME: Set the project name.

TOOLCHAIN: Set the Tool chain used to build. Choose between cygnus & sde.

DEVPLF: Set the development platform. Choose between linux & windows.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -