<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Elec-intro]]></title> 
<link>http://www.elec-intro.com/index.php</link> 
<description><![CDATA[ site about Elec]]></description> 
<language>en-US</language> 
<copyright><![CDATA[Elec-intro]]></copyright>
<item>
<link>http://www.elec-intro.com/Heng-COLDFIRE-series/</link>
<title><![CDATA[Hua Heng COLDFIRE series embedded LINUX Development Kit FAQ]]></title> 
<author>Tiny &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Default]]></category>
<pubDate>Wed, 11 Feb 2009 14:56:44 +0000</pubDate> 
<guid>http://www.elec-intro.com/Heng-COLDFIRE-series/</guid> 
<description>
<![CDATA[ 
	CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<br/><P></P><br/><P>------------- -------------------------------------------------- -----------------<BR><BR>movec ?, %VBR </P><br/><P>CXX = $(CROSS_COMPILE)g&nbsp;&nbsp; $(CPUFLAGS) -DCONFIG_COLDFIRE</P><br/><P><BR>move.l -(?), ? &#125; Copy dword &#125;<BR> .</P><br/><P>mainly to the Ethernet card installed, the common RTL8139 network card, REDHAT7.2 can automatically identify and automatically installed, users do not fully participate in, it is proposed to use the card. and then Configuration host IP:<BR>clr.l ? &#125; Set value &#125;<BR>&#125;<BR>For REDHAT7.2, it's the default is to open a firewall, so the external IP has refused to visit it, so that other network equipment can not access it, that is, it can not be NFS mount, can not download it from the TFTP can not telnet, ftp it, and so on. After the installation of the network, therefore, should immediately turn off the firewall. Operation as follows:<BR>run the setup, select Firewall configuration, select No firewall. And then on to a menu to choose System services, and remove ipchains two iptables service. Finally, from the setup.</P><br/><P>In fact, the installation REDHAT7.2 / 3, the Custom option requires custom installation, which is requested by a select No Firewall, this is the case, after the start, you do not need to setup the implementation of the firewall settings. There are, REDHAT here to have a BUG, that is, no matter Firewall configuration into the last time you choose, every time when it once again into the show High, this is REDHAT shown BUG, in fact firewall has been closed.</P><br/><P>&#125;</P><br/><P>run linuxconf, in the next election config option Server tasks, select Exported File systems (NFS), and then select Add Directory, adding the root / and then Accept. Output root system will allow NFS mount.<BR>the next step and then choose Control of the following Control panel under the Control Service activity, and then choose nfs enabled, and then start. After a good configuration interface which shows nfs must: Automatic Running.<BR>&#125;<BR>CXX = $(CROSS_COMPILE)g<BR>Finally, the following item in Control under the Control panel select Activate configuration, while pop-up interface, the system configuration tips The changes, select "Do it", when out of the final completion of the NFS configuration.<BR>CXX = $(CROSS_COMPILE)g<BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; TVN_BITS)) &#125;<BR>clr.l ? &#125; Set value &#125;<BR> make menuconfig Loadable module support --- > <BR> .</P><br/><P> .<BR>&#125;</P><br/><P>Huaheng uClinux install software CD-ROM, not to make xconfig, you can make directly. Join the drive to amend, and other core operations are not required to make xconfig, unless you want to change processor platforms, such as the MCF5407 to the transplant, and so on need to make xconfig. In fact, however, this operation is to amend the linux / .config and linux / include / linux / autoconfig.h in the macro setting. Can be completed by hand.</P><br/><P>move.l ?, -(?)<BR>&#125;</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P><BR>movec ?, %VBR<BR> .<BR>CXX = $(CROSS_COMPILE)g<BR>inux -D__linux__ -Dunix -DEMBED -O2 -msoft -float<BR>clr.l ? &#125; Set value &#125; </P><br/><P> .<BR>move.l #MEM_SIZE, ?<BR>move.l #MEM_SIZE, ?<BR>move.l #MEM_SIZE, ?<BR> genromfs&#125;/ usr/local/bin/genromfs&#125;<BR>p = inittab&nbsp;&nbsp; numcmd&nbsp;&nbsp;;</P><br/><P>Read 1004740 bytes (1963 blocks)&nbsp;&nbsp;this is a key issue, in front of useless information, read here as long as the number of bytes and the host / tftpboot / directory image.bin the size of the file on the same show TFTP to download a success!&nbsp;&nbsp;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Init mflash<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Init mflash Successfully<BR>cmp.l ?, ? &#125; Check if at end &#125;<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>clr.l ? &#125; Set value &#125;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 7 [FFC40000] (0-unprotect, 1 protect):0<BR>&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 7 [FFC40000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 0 [FFC00000] (0-unprotect, 1 protect) :0<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 0 [FFC00000] (0-unprotect, 1 protect) :0<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 0 [FFC00000] (0-unprotect, 1 protect) :0<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 13 [FFCA0000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 13 [FFCA0000] (0-unprotect, 1 protect):0<BR>&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 15 [FFCC0000] (0-unprotect, 1 protect):0<BR>&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 15 [FFCC0000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 18 [FFCF0000] (0-unprotect, 1 protect) :0<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 18 [FFCF0000] (0-unprotect, 1 protect) :0<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 18 [FFCF0000] (0-unprotect, 1 protect) :0<BR>&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 5 [FFC20000] (0-unprotect, 1 protect):0<BR>&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 5 [FFC20000] (0-unprotect, 1 protect):0<BR>&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 5 [FFC20000] (0-unprotect, 1 protect):0<BR>&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 5 [FFC20000] (0-unprotect, 1 protect):0<BR>&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 5 [FFC20000] (0-unprotect, 1 protect):0<BR>#cat $(IMAGEDIR)/linux.bin.gz $(ROMFSIMG) > $( IMAGE)&nbsp;&nbsp;<BR>#cat $(IMAGEDIR)/linux.bin.gz $(ROMFSIMG) > $( IMAGE)&nbsp;&nbsp;<BR>#cat $(IMAGEDIR)/linux.bin.gz $(ROMFSIMG) > $( IMAGE)&nbsp;&nbsp;<BR>#cat $(IMAGEDIR)/linux.bin.gz $(ROMFSIMG) > $( IMAGE)&nbsp;&nbsp;<BR>#cat $(IMAGEDIR)/linux.bin.gz $(ROMFSIMG) > $( IMAGE)&nbsp;&nbsp;<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 30 [FFDB0000] (0-unprotect, 1 protect) :0<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 30 [FFDB0000] (0-unprotect, 1 protect) :0<BR>int i = (expires >> (TVR_BITS&nbsp;&nbsp; TVN_BITS))&nbsp;&nbsp;and&nbsp;&nbsp;TVN_MASK;<BR>int i = (expires >> (TVR_BITS&nbsp;&nbsp; TVN_BITS))&nbsp;&nbsp;and&nbsp;&nbsp;TVN_MASK;<BR>int i = (expires >> (TVR_BITS&nbsp;&nbsp; TVN_BITS))&nbsp;&nbsp;and&nbsp;&nbsp;TVN_MASK;<BR>&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 34 [FFDF0000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>CXX = $(CROSS_COMPILE)g<BR> .</P><br/><P>&#125;<BR>move.l ?, _rambase &#125; Set up base RAM addr &#125;<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 0 [FFC00000] If the message queue have been removed after the N 000 to send or retrieve the process, there will be problems<BR>move.l #VBR_BASE, ? &#125; Note VBR can't be read &#125;</P><br/><P>in the minicom Use ctrl a, then b, then use the arrow up and down, you can look at the front of the information to see what mistakes. For example, TFTP failed to connect the information before it is necessary to turn to view the information as follows:<BR>CXX = $(CROSS_COMPILE)g<BR>lea init_task_union, ?<BR>move.l #MEM_SIZE, ?<BR>lea init_task_union, ?</P><br/><P>&#125;<BR>movec ?, ?CR &#125; Invalidate cache &#125;<BR>&#125;<BR>move.l #MEM_SIZE, ?<BR>load that is a small software download (tftp.elf, about 80K) to the board of RAM, and c (continue) command to run it, CPU time by the small software to take over. The small software up and running after the initialization and Ethernet TFTP protocol stack, and then run it TFTP client, from memory 0x00200004 (2M +4 Department) gdb to read the script here on the IP address of the TFTP server from the IP The TFTP server PC to download 1M of memory image.bin board to address, then its programming to FLASH, the resumption of the board, this time together guiding is a LINUX.</P><br/><P><BR> make menuconfig Loadable module support --- ><BR>move.l #MEM_SIZE, ?<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>rpm -i linuxconf-1.25r7-3.i386.rpm&nbsp;&nbsp;6995KB <BR>GDB is free software, covered by the GNU General Public License, and you are<BR>welcome to change it and / or distribute copies of it under certain conditions.<BR>4 makefile msg&nbsp;&nbsp;-> libc.a ;<BR>There is absolutely no warranty for GDB. Type "show warranty" for details.<BR>This GDB was configured as" - host = i686-pc-linux-gnu - target = m68k-bdm-elf "...</P><br/><P><BR>This is the PC side BDM drive (linux-bdm.o), to be installed Right drive (CD offered by Hua Heng, for example). CTRL C by the end of the process, with rmmod linux-bdm to delete the current drive, insmod to install the correct version of the re-implementation of the driver. / Flash can be.</P><br/><P><BR>movec ?, %VBR<BR>[ -d $ (IMAGEDIR) ] &#124;&#124; mkdir -p $(IMAGEDIR)<BR>CXX = $(CROSS_COMPILE)g<BR>movec ?, %VBR &lt;asm_exception_handler+4&gt;year&nbsp;&nbsp;= 100;<BR>1) TIMER&nbsp;&nbsp;ICR1 0xd priority == 5 2.0.38 TMR1 2.4 TMR4 </P><br/><P><BR>lea 0x2000(?), %sp<BR>. / Gdb: error while loading shared libraries: libncurses.so.4: cannot load shared object file: No such file or directory.<BR> .</P><br/><P>A: This is the result of REDHAT host installation incomplete and does not support DEVELOPMENT tools such as gcc, gdb, and other tools, the system has not led to the installation of these tools needed to run the library to share. Full recommendation to re-install the system.</P><br/><P><BR>year&nbsp;&nbsp;= 100;<BR>In fact, TFTP server can be connected to the board and the local area network within the opening of a random TFTP services LINUX PC, which can be from any board TFTP server and download files IMAGE programming, of course, we must first check whether the IP and match Connection is correct. However, if the host LINUX (that is, to use serial lines that connect the Taiwan LINUX PC) opened at the same time TFTP services, so do not have to take up multiple machines. Full install by default after REDHAT the TFTP service is not open, to open their own hand.</P><br/><P>CXX = $(CROSS_COMPILE)g<BR>move.l ?, -(?)<BR>&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 5 [FFC20000] (0-unprotect, 1 protect):0<BR>for REDHAT7.2, in the host on the implementation of setup, select System services, which will select a tftp (appear [&#125;] that is selected), and removed two ipchains and iptables service (that is, removed &#125; In front of them). And then also choose Firewall configuration, select No firewall. Finally, from the setup, the following command to start the implementation of the TFTP service:<BR>move.l #MEM_SIZE, ?<BR>15.&nbsp;&nbsp;BDM&nbsp;&nbsp;kernel- module version mismatch <BR>&#125;<BR>[ -d $ (IMAGEDIR) ] &#124;&#124; mkdir -p $(IMAGEDIR)<BR>movec ?, %VBR<BR>tftp&gt;get image.bin<BR> .<BR> C&nbsp;&nbsp; user <BR>CXX = $(CROSS_COMPILE)g&nbsp;&nbsp; $(CPUFLAGS) -DCONFIG_COLDFIRE<BR>&#125;&#125;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>move.l ?, -(?)<BR>CXX = $(CROSS_COMPILE)g</P><br/><P><BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>clr.l ? &#125; Set value &#125;<BR>move.l #MEM_SIZE, ?<BR> make menuconfig Loadable module support --- ></P><br/><P>/ sbin / insmod / HHCO5272-R1/bdm/linux-bdm.o, so each PC Will start automatically, or every time you start the implementation of these places have a host <BR>lea.l _sbss, ? &#125; Get start of bss &#125;<BR>&#125;<BR> make menuconfig Loadable module support --- ></P><br/><P>cmp.l ?, ? &#125; Check if at end &#125;</P><br/><P><BR>move.l ?, _ramstart &#125; Set start of ram &#125;<BR>CXX = $(CROSS_COMPILE)g</P><br/><P>software from the user's point of view, the play BDM, the core of the board of the reset button on the failure, the board did not receive power after the reset signal, the board could not be activated. Board at this time to allow the board to start running the software system, you can implement chk, and then immediately withdraw from the board would then automatically restart.<BR>&#125;<BR>&#125;<BR>&gt;&gt;&gt;x<BR>when the board started, minicom can receive orders, will have to restart direct Minicom type in the next reboot to restart, according to the reset button at this time is invalid. BDM is not inserted the board reset button is effective.</P><br/><P><BR>year&nbsp;&nbsp;= 100;</P><br/><P>lea init_task_union, ?<BR>&#125;<BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; 3 &#125; TVN_BITS )) &#125;</P><br/><P> genromfs&#125;/ usr/local/bin/genromfs&#125;</P><br/><P> .<BR>board to determine whether the death is not the standard minicom can enter, and so on, the most credible standard is to see the core board to run the light still blinking normal, if not a flash, no doubt kill. Serial port can sometimes print output, but users can not enter an order, this is often due to high electricity operator in the hands led to the unusual work of the serial. At this time recommendations to the board power to the core and bottom plate as well as the serial line and so on, coupled with the power to re-plug you try to restart; or replacement of a PC, or use the Internet telnet terminal.</P><br/><P>movec ?, %VBR<BR>p = inittab&nbsp;&nbsp; numcmd&nbsp;&nbsp;;</P><br/><P>C&nbsp;&nbsp; 5272 uclinux config.arch&nbsp;&nbsp;</P><br/><P>movec ?, %VBR <BR>move.l ?, -(?) <BR>for HHCF5272-LCD-IDE-R1, will cover colilo.bin annex to the uClinux / colilo / Directory and re-programming can be compiled. <BR> genromfs&#125;/ usr/local/bin/genromfs&#125;<BR>&#125;</P><br/><P>&#125;</P><br/><P>movec ?, %VBR<BR>clr.l ? &#125; Set value &#125;<BR>move.l #MEM_SIZE, ?<BR>lea.l _ebss, ? &#125; Get end of bss &#125;</P><br/><P>move.l #MEM_SIZE, ?</P><br/><P><BR>move.l ?, -(?)<BR>CXX = $(CROSS_COMPILE)g</P><br/><P>movec ?, ?CR &#125; Enable cache &#125;</P><br/><P>movec ?, %VBR<BR>CXX = $(CROSS_COMPILE)g<BR> m68k-elf-objdump -D linux &gt;tt<BR>&#125;<BR>move.l #MEM_SIZE, ?<BR> .</P><br/><P><BR>: orib #84,?<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g</P><br/><P> .<BR>icrp = (volatile unsigned long &#125;) (MCF_MBAR&nbsp;&nbsp; MCFSIM_ICR1);<BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; 3 &#125; TVN_BITS )) &#125;</P><br/><P>: usb general population d d_ only two signal lines, and 5272 turn out to increase the signal line: usb-rp, usb-tp ....( pa (6:0)), the user can use the first of its function?<BR>answer: 5272 with its own usb Transceiver, the 5272 lets you choose whether or not to choose an external usb transceiver (through the internal configuration register to select). Selection of the proposed external USB transceiver. Attention! Transceiver is not controllers! USB controller in 5272 inside.<BR>&nbsp;&nbsp; Note cn5, cn6 just do a simple expansion, and you can design their own floor (Hua Heng floor in the manual have been there a schematic!), Which in cn1, cn2, cn3 the use of signals. cn1, cn2, cn3 pin on the signal corresponding to the schematic have. Cn1 in which the address line of 1 to 45 (odd feet), data line cn2 in the 2 to 64 (even feet). ddat [3:0] and DTEA are cn3, is used to access the mouth of BDM. Please refer to the use of specific processor 5272 manual.<BR>USB [3:1] is a pin From an external USB transceiver chip pdiusb11 then on out. TX_P ~ RX_N and Ethernet isolation transformer is the output line. Cpuclk the frequency of 66Mhz, no driver. </P><br/><P></P><br/><P> .</P><br/><P>MCF5272 to provide a total of 48 general IO pin, which can be divided into 3 16-bit PORT, that is, PORTA, PORTB, PORTC. One PORTA, PORTB corresponding control to register with the other signal pin multiplexing. Port C does not register PCCNT, it can only work for the bus outside the 16-bit mode as a 16-bit I / O line I used, that is, with D [0 ~ 15] reuse, and only 16-bit external bus mode Because only 16-bit high-D [16 ~ 31], then D [0 ~ 15] for PC [0 ~ 15]. Another port Port D can not be used as I / O line.<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>if ((year&nbsp;&nbsp;= 1900) < 1970)<BR>CXX = $(CROSS_COMPILE)g<BR> CN5 p19,p23,p25 <BR>CXX = $(CROSS_COMPILE)g<BR>if ((year&nbsp;&nbsp;= 1900) < 1970)</P><br/><P> .<BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; 3 &#125; TVN_BITS )) &#125;<BR>&#125;<BR>&gt;&gt;&gt;fr colilo2.bin e00000&nbsp;&nbsp;RAM 0x00e00000 <BR>&gt;&gt;&gt;fg xx e00400&nbsp;&nbsp;0x00e00400 0x400 1024 ramvect <BR>code to the next board RAM, and then fg to go up after the activation, CPU from the control of the code, then do not enter any chk in the order. Chk not to run out of (x), otherwise the board immediately reset, to download the contents of the RAM on the lost. Fg not&nbsp;&nbsp; attention before the core of the board running lights (LEDK1) is not flash of light. Once fg xx e00400 after the light should flash up. This is to determine whether or not to download software to run up the only criterion, and whether or not to print the serial has nothing to do. If minicom not print information, 2 serial ports that can only be bad.</P><br/><P></P><br/><P>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>CXX = $(CROSS_COMPILE)g&nbsp;&nbsp; $(CPUFLAGS) -DCONFIG_COLDFIRE</P><br/><P>&nbsp;&nbsp;board when the cable plug, the core of the on-board Fast Ethernet connection and a collision indicator (LEDL2) will light up if the board at this time ping a PC machine or a PC board the plane, then ping , LEDL2 will light up and flicker. LEDL2 if it does not shine, may be due to poor access to the Ethernet jack, forced to play tight.<BR>&nbsp;&nbsp;HHCO5272-R1 provides 2 serial ports can be used for dial-up MODEM, the need to uClinux / user / pppd /, chat / and diald / adding three compiled directory, and the preparation of a dial-up script and the right profile. Hua Heng dial-up PPP to provide a complete package.<BR>&nbsp;&nbsp;HHCO5272-R1 is used on-board ROMFS file system, which is read-only. JFFS/JFFS2 support can be extended file system, it can be to write readable. Huaheng JFFS/JFFS2 to provide comprehensive support package.</P><br/><P>&nbsp;&nbsp;with ddd-5272 debugging applications, if not see the code, because there was no increase Compiler of the parameters-g; to see if the code, but in the run When prompted BDM not Open! This is the run command, not to use run-time run, and continue with the order, that is, c.</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P> uClinux/romfs/etc/rc WINDOWS98 autoexec.bat shell WEB SERVER boa boa rc boa&amp; uClinux make . &#125;</P><br/><P> .</P><br/><P>can use ifconfig / route (2.4 kernel do not need to route orders) order to modify the board after the start of the IP, but this can not be modified after the restart to preserve. IP board because of its ROMFS specified in the file system / etc / rc file specified as follows:</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P>to be a permanent change in the board of IP, it is necessary to modify the host on uClinux / romfs / etc / rc file corresponding to the IP settings, and then re-compiled under uClinux, and then re-programming. But this problem is not possible to amend the dynamic IP and save. To achieve this function, it is necessary to achieve the board in the storage documentation features. There are many mechanisms to achieve such flatfsd, JFFS/JFFS2 file system, and so on. The board on the storage mechanism, Hua Heng JFFS/JFFS2 provide a complete package sales, can greatly accelerate the development of the user's progress and time to market.</P><br/><P> . </P><br/><P>customer asked: HHCF5272-LCD-IDE - R1 package: image.bin wrote to flash, should be able to start from the board into the uClinux, but it is a mistake kernel panic attempted to kill init!</P><br/><P>movec ?, %VBR<BR>&#125;<BR>4 makefile msg&nbsp;&nbsp;-> libc.a ;<BR>CXX = $(CROSS_COMPILE)g</P><br/><P></P><br/><P> . </P><br/><P>&#125;</P><br/><P>a simple test procedures to / dev/ttyS0 to send data, 38,400 baud rate is set in the PC machine successfully received. 5272 to develop the use of on-board serial port 1 to send, on the other side in the minicom, the same as the baud rate, to be able to receive data, but the same procedure, only to revise / dev/ttyS1 does not receive any data,<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>-fno-builtin -msep -data -Wl,-elf2flt -o ping ping.o<BR> .<BR>if (console_device and and strcmp (console_device, "/ dev / null")) </P><br/><P><BR>year&nbsp;&nbsp;= 100;<BR>move.l -(?), ? &#125; Copy dword &#125;<BR>: orib #84,?<BR>CXX = $(CROSS_COMPILE)g<BR>movec ?, %VBR<BR> .<BR>lea.l _sbss, ? &#125; Get start of bss &#125;<BR>&#125; </P><br/><P>&#125;<BR>movec ?, %VBR</P><br/><P></P><br/><P>-fno-builtin -msep -data -Wl,-elf2flt -o ping ping.o</P><br/><P>&#125;<BR>lea.l _sbss, ? &#125; Get start of bss &#125;<BR>and.l #0xfffffffc, ? &#125; Whole words &#125;</P><br/><P></P><br/><P> HHCF5272-R2 uClinux&nbsp;&nbsp;malloc 2048000<BR>CXX = $(CROSS_COMPILE)g&nbsp;&nbsp; $(CPUFLAGS) -DCONFIG_COLDFIRE</P><br/><P>uClinux/linux/arch/m68knommu/ kernel/time.c:<BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; 2 &#125; TVN_BITS)) &#125;<BR>move.l -(?), ? &#125; Copy dword &#125; </P><br/><P>&#125;</P><br/><P>: orib #84,?<BR> .<BR> .<BR>move.l ? , ? &#125; Mem end addr is in a0 &#125;<BR>CFLAGS =-Wall-g-O-pipe -I/usr/src/linux-2.4.5/include-I ..-DMODULE-D__KERNEL__ $ (MODVERSIONS)</P><br/><P>move.l ?, -(?)</P><br/><P></P><br/><P>CFLAGS&nbsp;&nbsp;= -DFLOATS=1</P><br/><P>lea.l _ebss, ? &#125; Set up destination &#125;<BR> genromfs&#125;/ usr/local/bin/genromfs&#125; <BR>only HHCF5272-R1 also retained The kernel version 2.0.38, all other packages for the kernel 2.4. HHCF5272-R1 is currently able to provide the 2.4 kernel.<BR>CXX = $(CROSS_COMPILE)g<BR>int i = (expires >> (TVR_BITS&nbsp;&nbsp; 2 &#125; TVN_BITS))&nbsp;&nbsp;and&nbsp;&nbsp;TVN_MASK;<BR>lea.l _ebss, ? &#125; Get end of bss &#125; <BR>if ((year&nbsp;&nbsp;= 1900) < 1970) <BR>attention: System on board sent a message queue length and the length of the queue to receive messages can be long range; Huaheng kernel seems to be the same length, (not to exceed the maximum BUFSIZ = 1024).</P><br/><P></P><br/><P>CXX = $(CROSS_COMPILE)g </P><br/><P>pin93, CN1 pin95), but only if the CPU when they reset it as a BUSW1: BUSW0 portfolio decision CS0 data width memory. Does not require the allocation.<IMG src="http://www.elec-intro.com/EX/article/url.gif" align=absMiddle border=0>http://ftp.boe.tcc.edu.tw/tnc/firewall/ a download: linuxconf-1.25r7-3.i386.rpm the RPM package, and then REDHAT7.3 LINUX implementation of the machine:</P><br/><P>move.l ?, _ramstart &#125; Set start of ram &#125;</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P></P><br/><P>: orib #84,?</P><br/><P>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR> .<BR>p = inittab&nbsp;&nbsp; numcmd&nbsp;&nbsp;;<BR>p = inittab&nbsp;&nbsp; numcmd&nbsp;&nbsp;;</P><br/><P>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR> make menuconfig Loadable module support --- ><BR>debugging embedded applications LINUX The most important way is through the NFS mount the hard drive of the host application to implement, through its serial port terminals to observe the printing of information to achieve the purpose of debugging.<BR>&#125;<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g</P><br/><P>add.l ?, ? &#125; Copy from end &#125;<BR>extern void arch_gettod (int &#125; year, int &#125; mon, int &#125; day, int &#125; hour ,<BR>rpm -i linuxconf-1.25r7-3.i386.rpm&nbsp;&nbsp;6995KB </P><br/><P>int i = (expires >> (TVR_BITS&nbsp;&nbsp; 2 &#125; TVN_BITS))&nbsp;&nbsp;and&nbsp;&nbsp;TVN_MASK;<BR>OBJ = $(AOBJ) $(POBJ) $(SOBJ) dputs.o getdelim.o getline.o &#125;<BR>uClinux/linux/arch/m68knommu/ kernel/time.c:</P><br/><P>icrp = (volatile unsigned long &#125;) (MCF_MBAR&nbsp;&nbsp; MCFSIM_ICR1);<BR>move.l ?, %sp &#125; Set up initial stack ptr &#125;<BR>request_irq(72, handler, SA_INTERRUPT, "ColdFire Timer", NULL );<BR>&#125;<BR>lea.l _ebss, ? &#125; Set up destination &#125;<BR>&#125;<BR>CXX = $(CROSS_COMPILE)g<BR>lea.l _ebss, ? &#125; Get end of bss &#125;<BR>CXX = $(CROSS_COMPILE)g<BR>move.l -(?), ? &#125; Copy dword &#125;<BR>&#125;<BR>uClinux/linux/arch/m68knommu/ kernel/time.c:<BR>CFLAGS&nbsp;&nbsp;= -DFLOATS=1<BR>&#125;<BR>move.l ?, _ramvec &#125; Set up vector addr &#125;</P><br/><P>>>> fg xx e00400&nbsp;&nbsp;0x00e00400 address from the Department initiated, together with the 0x400 skip ahead to 1024 bytes ramvect <BR>move.l ?, -(?)</P><br/><P>arch_gettod (&amp;year, &amp;mon, &amp;day, &amp;hour, &amp;min, &amp;sec);</P><br/><P>if ((year += 1900) &lt; 1970)<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR> make menuconfig Loadable module support --- ><BR>movec ?, %VBR</P><br/><P>CFLAGS&nbsp;&nbsp;= -DFLOATS=1<BR>CXX = $(CROSS_COMPILE)g<BR>&#125;<BR>&#125;<BR>&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 7 [FFC40000] (0-unprotect, 1 protect):0<BR>#cat $(IMAGEDIR)/linux.bin.gz $(ROMFSIMG) > $( IMAGE)&nbsp;&nbsp;<BR>&#125;<BR>void timer_interrupt (int irq, void &#125; dummy, struct pt_regs &#125; regs)<BR>&#125;<BR>move.l ?, _ramend &#125; Set end ram addr &#125;<BR>CXX = $(CROSS_COMPILE)g</P><br/><P>lea.l _ebss, ? &#125; Set up destination &#125;<BR>: orib #84,?<BR>year&nbsp;&nbsp;= 100;</P><br/><P>: orib #84,?</P><br/><P>&#125;<BR>1) TIMER&nbsp;&nbsp;ICR1 0xd priority == 5 2.0.38 TMR1 2.4 TMR4 <BR>TEXT = 00100000-00156e6c DATA = 00000000-0016685c BSS = 0016685c-0017d7f0<BR>OBJ = $ (AOBJ) $ (POBJ) $ (SOBJ) dputs.o snprintf.o getdelim.o getline . o<BR>&#125;<BR>if (time_state != TIME_BAD &amp;&amp; xtime.tv_sec &gt; last_rtc_update + 660 &amp;&amp;<BR>xtime.tv_usec &gt; 500000 - (tick &gt;&gt; 1) &amp;&amp;<BR>xtime.tv_usec &lt; 500000 + (tick &gt;&gt; 1)) &#125;<BR>move.l -(?), ? &#125; Copy dword &#125;<BR>CXX = $(CROSS_COMPILE)g<BR>&#125;<BR>int i = (expires >> (TVR_BITS&nbsp;&nbsp; 2 &#125; TVN_BITS))&nbsp;&nbsp;and&nbsp;&nbsp;TVN_MASK;<BR>&#125;</P><br/><P>&#125;<BR> HHCF C&nbsp;&nbsp; <BR> genromfs&#125;/ usr/local/bin/genromfs&#125;<BR>&#125;<BR>move.l ?, -(?)<BR>move.l ?, -(?)<BR>&#125;<BR>CXX = $(CROSS_COMPILE)g<BR>if (timer-&gt;next &#124;&#124; timer-&gt;prev) &#125;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>CXX = $(CROSS_COMPILE)g<BR> .<BR>&#125;<BR> .<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>&#125;<BR> .<BR>move.l #MEM_SIZE, ?<BR>&#125;<BR>int i = (expires >> (TVR_BITS&nbsp;&nbsp; 2 &#125; TVN_BITS))&nbsp;&nbsp;and&nbsp;&nbsp;TVN_MASK;<BR>&#125;<BR>&#125;<BR>CXX = $(CROSS_COMPILE)g<BR>&#125;<BR>unsigned long expires = timer-&gt;expires;<BR>move.l ?, _ramstart &#125; Set start of ram &#125;</P><br/><P>if (idx &lt; TVR_SIZE) &#125;<BR>int i = expires &amp; TVR_MASK;<BR>CXX = $(CROSS_COMPILE)g<BR>&#125; &#125; if (idx &lt; 1 &lt;&lt; (TVR_BITS + TVN_BITS)) &#125;<BR>int i = (expires &gt;&gt; TVR_BITS) &amp; TVN_MASK;<BR>CXX = $(CROSS_COMPILE)g<BR>&#125; &#125; if (idx &lt; 1 &lt;&lt; (TVR_BITS + 2 &#125; TVN_BITS)) &#125;<BR>int i = (expires &gt;&gt; (TVR_BITS + TVN_BITS)) &amp; TVN_MASK;<BR>CXX = $(CROSS_COMPILE)g<BR>&#125; &#125; if (idx &lt; 1 &lt;&lt; (TVR_BITS + 3 &#125; TVN_BITS)) &#125;<BR>int i = (expires &gt;&gt; (TVR_BITS + 2 &#125; TVN_BITS)) &amp; TVN_MASK;<BR>CXX = $(CROSS_COMPILE)g<BR>&#125; &#125; if (expires &lt; timer_jiffies) &#125;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>move.l 8(?), ? &#125; Get size of ROMFS &#125;<BR>&#125;<BR>and.l #0xfffffffc, ? &#125; Whole words &#125;<BR>&#125; &#125; if (idx &lt; 0xffffffffUL) &#125;<BR>int i = (expires &gt;&gt; (TVR_BITS + 3 &#125; TVN_BITS)) &amp; TVN_MASK;<BR>CXX = $(CROSS_COMPILE)g<BR> .<BR> CN5 p19,p23,p25 <BR>timer-&gt;next = timer-&gt;prev = timer;<BR>&#125;<BR>&#125;<BR>in uClinux/linux/arch/m68knommu/platform/5272 / config.c of coldfire_timer_init increase in TMR2 initialization settings and applications break. And then write their own TMR2 timer interrupt service routine,<BR>CXX = $(CROSS_COMPILE)g<BR>uClinux/linux/arch/m68knommu/ kernel/time.c:<BR>CXX = $(CROSS_COMPILE)g<BR>void timer_interrupt (int irq, void &#125; dummy, struct pt_regs &#125; regs)<BR>it is a LINUX OS to be used to provide the clock, interrupted from time to time on their own do not have to do this work, it 10ms into the first break in their TMR2 interrupt proceedings to do their work on it. Here, of course, the Must be dealt with quickly.</P><br/><P><BR></P><br/><P> .<BR>move.l 8(?), ? &#125; Get size of ROMFS &#125;</P><br/><P>m68k-elf-g-m5307-msep-data-Wl,-elf2flt-o test test.cpp-lstdc-lc-lgcc </P><br/><P>&#125;</P><br/><P> genromfs&#125;/ usr/local/bin/genromfs&#125;<BR>cmp.l ?, ? &#125; Check if at end &#125;</P><br/><P>inux -D__linux__ -Dunix -DEMBED -O2 -msoft -float<BR>if ((year&nbsp;&nbsp;= 1900) < 1970) <BR>&#125;<BR> make menuconfig Loadable module support --- ><BR>&#125;<BR>CXXLIBS = $ (LDPATH) $ (LIBSTDCPP) $ (LIBIOSTREAM) $ (LIBIO) $ (LIBIBERTY) $ (LIBC) $ (LIBGCC)<BR>&#125;<BR>int i = (expires >> (TVR_BITS&nbsp;&nbsp; 2 &#125; TVN_BITS))&nbsp;&nbsp;and&nbsp;&nbsp;TVN_MASK;<BR>move.l ?, -(?)<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>year&nbsp;&nbsp;= 100;<BR>year&nbsp;&nbsp;= 100;<BR>movec ?, %VBR<BR>[ -d $ (IMAGEDIR) ] &#124;&#124; mkdir -p $(IMAGEDIR)<BR>&#125;<BR>clr.l ? &#125; Set value &#125;<BR>&#125;<BR>CXX = $(CROSS_COMPILE)g<BR>&#125;<BR>C&nbsp;&nbsp; 5272 uclinux config.arch <BR>&#125;</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P></P><br/><P>movec ?, %VBR</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P> make menuconfig General setup ---&gt; </P><br/><P>movec ?, %VBR<BR>move.l #MEM_SIZE, ?<BR>CXX = $(CROSS_COMPILE)g<BR>&#125;<BR>&#125; CMOS clock accordingly every ~ 11 minutes. Set_rtc_mmss () has to be</P><br/><P>here is a direct Designated memory address (of course, is to do a good job on the unused address), and then start a process of another process, the process between the two processes, a difference of just 1 so that it can process between the two signals A.<BR>CXX = $(CROSS_COMPILE)g<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>CXX = $(CROSS_COMPILE)g<BR>&#125;<BR>CXX = $(CROSS_COMPILE)g<BR>move.l ?, -(?)<BR>move.l #MEM_SIZE, ?<BR>if ((year&nbsp;&nbsp;= 1900) < 1970)<BR> CN5 p19,p23,p25 <BR>a total of 4 process, a difference of a start, so that they enter the title in a row happens to be the one that is a random process to know that it would like a signal, the process. This can all signal-issuing process, the allocation of shared memory is the first memory block, and then transfer the operating system has a good distribution of shared memory address, the use of the pipeline to create pipe, and then use vfork create another process and transmit The channel read, write, fd, the pipeline will be able to read and write.</P><br/><P>&#125;<BR> make menuconfig Loadable module support --- ><BR>movec ?, ?CR &#125; Enable cache &#125;<BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; TVN_BITS)) &#125;<BR>check system uClinux &#92; linux &#92; arch &#92; m68knommu &#92; kernel/sys_m68k.c in ipc system calls, call - "sys_msgget, sys_msgctl, sys_msgsnd, sys_msgrcv" core function;<BR> make menuconfig Loadable module support --- ><BR>&#125;<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR> make menuconfig Loadable module support --- ><BR>4 makefile msg -&gt; libc.a ;<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR> .<BR>-L/HHCF5272-R1/uClinux/lib / libm -L/HHCF5272-R1/uClinux/lib/libnet<BR>void coldfire_timer_init (void (&#125; handler) (int, void &#125;, struct pt_regs &#125;)) <BR> .</P><br/><P><BR></P><br/><P>lea 0x2000(?), %sp</P><br/><P>if ((year&nbsp;&nbsp;= 1900) < 1970)<BR>lea init_task_union, ?<BR>move.l ?, -(?)<BR>move.l ?, -(?)</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P>&#125;(volatile unsigned long &#125;)0x10000080 &amp;=0xff003fff; // PACNT 14-23 bit is cleared,use PA7-11<BR>&#125; ((volatile unsigned short &#125;) 0x10000084 &#124; = 0x0f80; / / PADDR 7-11 bit is setted, use as output</P><br/><P>request_irq(72, handler, SA_INTERRUPT, "ColdFire Timer", NULL );<BR>request_irq(72, handler, SA_INTERRUPT, "ColdFire Timer", NULL );</P><br/><P></P><br/><P><BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; </P><br/><P>CXX = $(CROSS_COMPILE)g<BR> . &lt;sys/wait.h&gt;<BR> . &lt;stdio.h&gt;</P><br/><P>: orib #84,?<BR>&#125;<BR> .<BR>year&nbsp;&nbsp;= 100;<BR> .<BR>cmp.l ?, ? &#125; Check if at end &#125;<BR>CXX = $(CROSS_COMPILE)g<BR>wait(&amp;waitstat);<BR>year&nbsp;&nbsp;= 100;<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>movec ?, %VBR<BR> .<BR>&#125;<BR> uC popen pclose fd wait &amp;waitstat) uClibc popen X86 vfork PC fork </P><br/><P><BR></P><br/><P>year&nbsp;&nbsp;= 100;</P><br/><P>MCF5272 processor provides a 6 way for the interruption of external peripherals to control the use of the chip. MCF5272 in the start-up code (sysinit.c code) shielding all the internal and external disruption, as users expand the use of their equipment when the source of disruption in the device driver initialization code (for example, open function), Must be manually opened to allow the external interrupt source. And a shield to allow the source is interrupted by setting register ICRn achieved.<BR>CXX = $(CROSS_COMPILE)g<BR>ü in the uClinux / user / init / simpleinit.c out in Note read_inittab function HHTECH part of the contents of the following:<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>&#125;<BR> .<BR> make menuconfig Loadable module support --- ><BR>&#125;<BR> .<BR> make menuconfig Loadable module support --- ><BR>&#125;<BR> .<BR> make menuconfig Loadable module support --- ><BR>&#125;<BR> .<BR> make menuconfig Loadable module support --- ><BR>&#125;<BR>&#125;</P><br/><P><BR></P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P> make menuconfig Loadable module support --- ></P><br/><P>/ usr / local / bin / genromfs-v-V "ROMdisk"-f $ (ROMFSIMG )-D $ (ROMFSDIR)</P><br/><P>uClinux/linux/arch/m68knommu/ kernel/time.c:</P><br/><P>1) on-line version of the open source only the core version of RAM, ROM version does not provide, Oh, I would like to do so may be restricted to commercial users, because version of the RAM needed to guide the bootloader (but within the industry, bootloader basic We do not provide the source code), can not start, it can not be used as a commercial product, so it can only give fans a toss play it. Hua Heng for the customer to complete this part of the ROM of the work.</P><br/><P>2) localization in Huaheng devices provided by the board hardware, so for their own hardware to amend the code to start the system, the hardware device drivers BSP, and to provide the appropriate download, the software programming tools such as these should His transplant, modify or customize their own completely. Without such aid, apart from the empty uClinux the tar package is not developed debugging.</P><br/><P>clr.l ? &#125; Set value &#125;</P><br/><P></P><br/><P>move.l #MEM_SIZE, ?</P><br/><P>application of transplantation in general and the kernel version is not in any way related to, of course, some applications need the support of the core, such as pppd and so on. In the kernel 2.0.38 Kernel 2.4 and move between applications, the only pay attention to the Makefile is written:</P><br/><P>In fact, the difference between a word, is below 2.4, it elf2flt as a parameter step gcc completed, and would also be divided into two 2.0.38 Step-by-step, in the Makefile on the following:</P><br/><P> .</P><br/><P>rpm -i linuxconf-1.25r7-3.i386.rpm&nbsp;&nbsp;6995KB <BR> .<BR> .</P><br/><P>move.l ?, (?)&nbsp;&nbsp;&#125; Clear each word &#125;</P><br/><P></P><br/><P>19.&nbsp;&nbsp;C&nbsp;&nbsp; </P><br/><P>each suspended the use of the device driver initialization code, first of all to break open, because the startup code to prohibit all interrupt (mask), according to the manual CPU, in the corresponding ICRn write PI-1, and The three places behind the IPL for 0 to break the shield, said the source. ICR is about to correspond to the corresponding byte is set to 8. For example, start-up, ICR1 was set to: 0x88888888.</P><br/><P>Failure to open, ICRn in the corresponding PI write-1, behind the three-IPL to write 001 to 111 on the interruption of the operation shows that open source, and set its priorities for the break 1-7, the higher the level, the priority The higher the grade. For example, the MCF5272 several internal modules used by the internal interrupt:<BR>icrp = (volatile unsigned long &#125;) (MCF_MBAR&nbsp;&nbsp; MCFSIM_ICR3);//FEC<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g&nbsp;&nbsp; $(CPUFLAGS) -DCONFIG_COLDFIRE<BR>add.l ?, ? &#125; Copy from end &#125;</P><br/><P><BR> .<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 30 [FFDB0000] (0-unprotect, 1 protect) :0<BR>CXX = $(CROSS_COMPILE)g<BR>- L libc -L <BR>move.l ?, -(?)<BR>OBJ = $(AOBJ) $(POBJ) $(SOBJ) dputs.o getdelim.o getline.o &#125;<BR>&#125;icrp = (&#125;icrp &amp; 0x70777777) &#124; 0x0d000000;</P><br/><P><BR>TMR4: in uClinux/linux-2.4.x/arch/m68knommu/platform / 5272/config.c in TIMER of the initialization is as follows:<BR>void coldfire_timer_init (void (&#125; handler) (int, void &#125;, struct pt_regs &#125;)) function in the following code:<BR>icrp = (volatile unsigned long &#125;) (MCF_MBAR&nbsp;&nbsp; MCFSIM_ICR1);<BR>move.l ?, %sp &#125; Set up initial stack ptr &#125;<BR>int i = (expires >> (TVR_BITS&nbsp;&nbsp; 2 &#125; TVN_BITS))&nbsp;&nbsp;and&nbsp;&nbsp;TVN_MASK;</P><br/><P></P><br/><P>UART1/UART2: in uClinux/linux-2.4.x/drivers/char/mcfserial.c, the following code of conduct UART interrupt initialization:<BR>C&nbsp;&nbsp; 5272 uclinux config.arch <BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 23 [FFD40000 ] (0-unprotect, 1 protect):0<BR>switch (info-&gt;line) &#125;<BR> .<BR>move.l ?, -(?)<BR>&#125;<BR> .<BR>move.l ?, -(?)<BR>&#125;</P><br/><P><BR>In addition, MCF5272 corresponding external interrupt, Does not automatically clear the pending disruption, so users have to deal with disruptions in their own function here at the end of the processor to complete this work. For example: external interrupt 3</P><br/><P>CXX = $(CROSS_COMPILE)g&nbsp;&nbsp; $(CPUFLAGS) -DCONFIG_COLDFIRE</P><br/><P></P><br/><P>move.l ?, -(?)</P><br/><P>lea.l _ebss, ? / &#125; Set up destination &#125;</P><br/><P>for example, : Request a signal every second, to print a test. Would signal / alarm can only be a one-time, it now circulating, all have a signal every second, it is necessary to further its signal processing functions in their replacement .<BR> .<BR>&#125;<BR>lea init_task_union, ?<BR> .<BR>movec ?, %VBR<BR>&#125;<BR>&#125;<BR>&#125;<BR>move.l #MEM_SIZE, ?<BR> .<BR> .<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>&#125;<BR>&#125;</P><br/><P><BR>movec ?, %VBR</P><br/><P>users to compile their own Applications, is also under implementation of the uClinux to make, the screen on a roll over, SHIFT PAGEUP also can not then turn more, in fact, their application is not clear how the compiler.</P><br/><P> uClinux make &gt;&amp;t t 2.1.3 uClinux/user/inetd ping </P><br/><P>p = inittab&nbsp;&nbsp; numcmd&nbsp;&nbsp;;<BR>/ HHCF5272-R1/uClinux/tools/m68k-elf-gcc-m5200-Wa,-m5200-DCONFIG_COLDFIRE-Dl<BR>2. user/init/ simpleinit.c /bin/sh&nbsp;&nbsp;<BR>-I/HHCF5272-R1/uClinux/tools/gcc-include -I/HHCF5272-R1 / uClinux / lib / libc / include <BR>CXX = $(CROSS_COMPILE)g <BR>-I/HHCF5272-R1/uClinux/vendors / include-fno-builtin-DSERVICES = &#92; "/ etc / services<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>move.l ?, _ramend &#125; Set end ram addr &#125;<BR>m68k-elf-gcc-m5307-DCONFIG_COLDFIRE-Os-g-fomit-frame-pointer-Dlinux <BR>lea.l _ebss, ? &#125; Set up destination &#125; <BR>m68k-elf-gcc-m5307 -- msep-data-Wl,-elf2flt-o bcdm bcdm.c-lpthread-lc <BR>m68k-elf-gcc-m5307-DCONFIG_COLDFIRE-Os-g-fomit-frame-pointer <BR>move.l ? , ? &#125; Mem end addr is in a0 &#125;</P><br/><P>if (console_device and and strcmp (console_device, "/ dev / null")) <BR>inux -D__linux__ -Dunix -DEMBED -O2 -msoft -float <BR>m68k-elf-gcc-m5307 -- msep-data-Wl,-elf2flt-o bcdm bcdm.c-lpthread-lc <BR>m68k-elf-gcc-m5307-DCONFIG_COLDFIRE-Os-g-fomit-frame-pointer <BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; 3 &#125; TVN_BITS )) &#125; <BR>currently the main problem is completely installed REDHAT7.3 did not provide linuxconf software tools and therefore can not configure the NFS server. But the problem is Easy to resolve, which needs to <BR>timerp = (volatile unsigned short &#125;) (MCF_MBAR MCFTIMER_BASE1); <BR>&#125; CMOS clock accordingly every ~ 11 minutes. Set_rtc_mmss () has to be <BR>lea.l _ebss, ? &#125; Get end of bss &#125;</P><br/><P><BR>icrp = (volatile unsigned long &#125;) (MCF_MBAR&nbsp;&nbsp; MCFSIM_ICR1);//MII<BR> make menuconfig Loadable module support --- ><BR>&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; Sector 7 [FFC40000] (0-unprotect, 1 protect):0<BR>: orib #84,?<BR>CXX = $(CROSS_COMPILE)g<BR>-Wall-Wstrict-prototypes-O2-fomit-frame -pointer-fno-strength-reduce: These are the parameters of the compiler;</P><br/><P><BR></P><br/><P>year&nbsp;&nbsp;= 100;</P><br/><P>in view of the current issue of the package using uClinux as its root file ROMFS System, so most of the directory can not be written. Only / var, / tmp is a RAM disc can be written, but the board inside a brown-out on the contents of the lost, it can only be used as a temporary file, not the permanent preservation of data, such as profiles, and so on. Tell us about the following several FLASH on the way to save configuration:</P><br/><P>1. for simple, small profile, and so on, but not very frequent (for example, Wrote one minute 10) to write and direct their own in the free FLASH Department (for example, the second film on FLASH) to draw a region in order to write their own definition of the way, and board automatically read out. Hua Heng provided such a sample code, that is, the user / memtools /, the details of the second chapter in the manual "FLASH sector to preserve IP address" section. To make such a big advantage is that users control the extent of the largest and most flexible form, can be kept by the custom data, you can not file the form. The following are several ways to preserve the form of document requests and can not deal with custom data preservation.</P><br/><P>2. For more profile, the general RAM are written on the first day, and then choose to save, one-time write a few FLASH sector. Flatfsd can then use the software, which required the use of the core with support, that is, in blkmem.c designated for preservation of data in several sectors of the start / end address. In this way can not meet very often write.</P><br/><P>3. Frequently compared to the preservation of data, it is necessary to establish additional board in the log-file system JFFS/JFFS2, or simply used to replace JFFS/JFFS2 for ROMFS root file system. This directory is the board can be written, just as hard, do not need additional tools to be responsible for the data will be written into the FLASH. JFFS is supported by the 2.0.38 kernel, it does not support JFFS2, JFFS2 was to support the 2.4 kernel, it adopted a mature and stable technology MTD, the JFFS than stability. Both the file system in uClinux does not support the realization of the complex, but it is also the practical need for some additional work, such as the programming tool with generating new image.bin compiler, because the real product of the software is allowed to each After the start times are also carried out many of the manual, for example, the file system to load, and so on, the factory programming board must first be completed, but not many points but also programming and so on, these are rather complicated, and there is no Programming tools, source code can not be completed. Hua Heng JFFS/JFFS2 to provide the entire software technology.</P><br/><P></P><br/><P>lea init_task_union, ?</P><br/><P> 2.0.38 ram.ld crt0_ram.S bootloader&nbsp;&nbsp; 2.4.17 DOWN uClinux-Coldfire uClinux-dist-20020701.tar.gz bootloader HHCN&gt; readàgo 100000 2.4 RAM HHCF5272-LCD-IDE-R1 HHCF5272-2ETH-R2 2.4 FLASH RAM bootloader RAM readàgo RAM DOWN <BR>1 is the first crt0_ram.S and download the version of uClinux-Coldfire different crt0_ram.S, Hua Heng is a revision of the code, if not necessarily directly through the bootloaderàreadàgo 100000 and up and running. At this time, therefore it is necessary to use the Internet to download the original unaltered crt0_ram.S, in fact little difference between the two documents, Hua Heng is the only version of the Notes romfs a copy of part of the code:<BR>as long as the uClinux/linux-2.4.x/arch/m68knommu/platform/5272/HHTECH/crt0_ram.S a # if 0 changed to # if 1<BR> .<BR> .<BR>movec ?, %VBR<BR>move.l ?, ? &#125; Copy of bss start &#125;<BR>&#125;<BR>&#125;(volatile unsigned long &#125;)(MCF_MBAR 0x20) &#124;= 0x00800000;<BR>TEXT = 00100000-00156e6c DATA = 00000000-0016685c BSS = 0016685c-0017d7f0<BR>&#125;<BR>move.l #MEM_SIZE, ?<BR>&#125;<BR>if (console_device and and strcmp (console_device, "/ dev / null"))<BR>15.&nbsp;&nbsp;BDM&nbsp;&nbsp;kernel- module version mismatch <BR>&#125;<BR>move.l #0x01000000, ? &#125; Invalidate cache cmd &#125;<BR>: orib #84,?<BR>uClinux/linux/arch/m68knommu/ kernel/time.c:<BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; TVN_BITS)) &#125;</P><br/><P>&#125;<BR>move.l ?, _rambase &#125; Set up base RAM addr &#125;<BR>&#125;<BR>CFLAGS&nbsp;&nbsp;= -DFLOATS=1</P><br/><P> HHCF C&nbsp;&nbsp; <BR>rpm -i linuxconf-1.25r7-3.i386.rpm&nbsp;&nbsp;6995KB <BR>4 makefile msg&nbsp;&nbsp;-> libc.a ;</P><br/><P>&#125;<BR>&#125;<BR>CXX = $(CROSS_COMPILE)g<BR>&#125;<BR>C&nbsp;&nbsp; 5272 uclinux config.arch <BR>lea.l _sbss, ? &#125; Get start of bss &#125;<BR> vi ctrl ] / ctrl T <BR>add.l ?, ? &#125; Copy from end &#125;<BR> .</P><br/><P>&#125;<BR>add.l ?, ? &#125; Copy from end &#125;<BR>&#125;<BR>lea.l _ebss, ? / &#125; Set up destination &#125;<BR>move.l ?, _ramstart &#125; Set start of ram &#125;<BR>CXX = $(CROSS_COMPILE)g<BR>movec ?, ?CR &#125; Invalidate cache &#125;<BR>lea.l _ebss, ? / &#125; Set up destination &#125;<BR>lea.l _ebss, ? &#125; Get end of bss &#125;<BR>[ -d $ (IMAGEDIR) ] &#124;&#124; mkdir -p $(IMAGEDIR)<BR>if (open("/dev/null", O_RDWR, 0) < 0)<BR>move.l ?, (?)&nbsp;&nbsp;&#125; Clear each word &#125;<BR>add.l ?, ? &#125; Copy from end &#125;<BR>CXX = $(CROSS_COMPILE)g<BR>move.l ?, _ramstart &#125; Set start of ram &#125;<BR>year&nbsp;&nbsp;= 100;<BR>movec ?, ?CR &#125; Enable cache &#125;<BR>movec ?, %VBR<BR> C&nbsp;&nbsp; user <BR>: orib #84,?<BR> .<BR>&#125;<BR>clr.l ? &#125; Set value &#125;<BR>&#125;<BR>movec ?, ?CR &#125; Invalidate cache &#125;<BR> BDM "bdm not open" .<BR>lea init_task_union, ?<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>addq.l #8, ? &#125; Allow for rounding &#125;<BR>move.l -(?), ? &#125; Copy dword &#125;<BR>: orib #84,?</P><br/><P>&#125;<BR>4 makefile msg&nbsp;&nbsp;-> libc.a ;<BR>&#125;<BR>movel ?, _current_task<BR>p = inittab&nbsp;&nbsp; numcmd&nbsp;&nbsp;;<BR>&#125;&#125;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P><br/><P>&#125;<BR>move.l ?, _ramvec &#125; Set up vector addr &#125;<BR>&#125;<BR>lea.l _ebss, ? &#125; Set up destination &#125;</P><br/><P>&#125;<BR>lea.l _ebss, ? &#125; Get end of bss &#125;</P><br/><P>: orib #84,?<BR> .<BR>[ -d $ (IMAGEDIR) ] &#124;&#124; mkdir -p $(IMAGEDIR)<BR>&#125;<BR>from the Internet directly from the default DOWN The ORIGIN = 0x20000, so we used the bootloader to download it, of course, is not running up. SECTIONS of the following section does not require any changes.<BR>CXX = $(CROSS_COMPILE)g<BR>&#125;<BR>move.l ?, _ramend &#125; Set end ram addr &#125;<BR>OBJ = $ (AOBJ) $ (POBJ) $ (SOBJ) dputs.o snprintf.o getdelim.o getline . o<BR>m68k-elf-objcopy-O binary $ (ROOTDIR ) / $ (LINUXDIR) / linux $ (IMAGEDIR) / linux.bin<BR>move.l -(?), ? &#125; Copy dword &#125;<BR>#cat $(IMAGEDIR)/linux.bin.gz $(ROMFSIMG) &gt; $(IMAGE)&nbsp;&nbsp;<BR>cat $(IMAGEDIR)/linux.bin $(ROMFSIMG) &gt; $(IMAGE)<BR>$(ROOTDIR)/tools/cksum -b -o 2 $(IMAGE) &gt;&gt; $(IMAGE)<BR>icrp = (volatile unsigned long &#125;) (MCF_MBAR&nbsp;&nbsp; MCFSIM_ICR1);<BR>CXX = $(CROSS_COMPILE)g<BR>BSS=`m68k-elf-objdump --headers $(ROOTDIR)/$(LINUXDIR)/linux &#124; grep .bss` ; ADDR=`set -- $$&#125;BSS&#125; ; echo 0x$$&#125;4&#125;` ; m68k-elf-objcopy --add-section=.romfs=$(ROMFSIMG) --adjust-section-vma=.romfs=$$&#125;ADDR&#125; --no-adjust-warnings --set-section-flags=.romfs=alloc,load,data $(ROOTDIR)/$(LINUXDIR)/linux $(ELFIMAGE) 2&gt; /dev/null</P><br/><P></P><br/><P>4 to amend Article 125 of the linux-2.4.x/drivers/block/blkmem.c trip began a few words out defined (CONFIG_HHTECH), the revised code is as follows:</P><br/><P>move.l #MEM_SIZE, ?<BR>move.l ?, -(?)<BR>CFLAGS&nbsp;&nbsp;= -DFLOATS=1<BR>CFLAGS&nbsp;&nbsp;= -DFLOATS=1</P><br/><P>&#125;</P><br/><P>p = inittab&nbsp;&nbsp; numcmd&nbsp;&nbsp;;</P><br/><P></P><br/><P><BR>move.l ?, -(?) </P><br/><P>uClinux/linux-2.4.x / directory compiled by the linux file has more than 5M, which is the ELF file format, which was converted into image.bin use m68k-elf-objcopy tool to convert binary format linux . bin, only this time it had 800k, and then click on the compressed into a 300k. This work can be found in specific uClinux/vendors/HHTECH/M5272/Makefile.</P><br/><P><BR>lea.l _sbss, ? &#125; Get start of bss &#125; </P><br/><P>for the 2.4 kernel to amend uClinux/linux-2.4.x/arch/m68knommu/platform/5272/HHTECH/crt0_ram.S (for 2.0ROM version for uClinux/linux/arch/m68knommu/platform/5272/MOTOROLA/crt0_rom . S), as long as a revision: the definition of the first document MEM_SIZE Wang, Hua Heng provided for 0x01000000, that is, 16M. If you want the user to draw 8M for the management of their use, as long as this value can be changed to 0x00800000. Such as LINUX is not aware of any 8M this address, this OS in the allocation of memory when not to use these address space, which is equivalent to steal memory from the OS where to use their own. For example, the kernel can be used to drive applications and communications with shared memory, and so on.</P><br/><P></P><br/><P>CXX = $(CROSS_COMPILE)g </P><br/><P>m68k-elf-gcc-m5307 -- msep-data-Wl,-elf2flt-o bcdm bcdm.c-lpthread-lc</P><br/><P>In the process, there is a problem of competence, that is, the host board mount hard disk, NFS mount this operation is not the default to the root of the implementation of the authority, so it does not have permission to board the implementation of the host program on your hard disk, At this time it is necessary to host in the run chmod 777 app, which app for the application executable file name. In fact, this phenomenon is still relatively easy for developers to solve, because when the implementation of the application, minicom will be error, permision denied, or unknown error 4. But for some the situation is not always so easy to see that the authority is the issue:</P><br/><P>such as: WEB management software debugging code cgi, we place the host / cgi-bin / through the NFS mount to the board of the CGI work in the directory / home / httpd / cgi-bin /, this time through the implementation of the IE browser, CGI Operation, the error would be 403, there is also a question of authority, that is, the CGI directory can be asked to write their work, it is necessary at this time in the host run: chmod 777 / cgi-bin, this time, the browser will be able to immediately Work.</P><br/><P></P><br/><P>move.l ?, -(?)</P><br/><P>CXX = $(CROSS_COMPILE)g<BR>2. user/init/ simpleinit.c /bin/sh <BR>CXX = $(CROSS_COMPILE)g<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>CXX = $(CROSS_COMPILE)g<BR>if ((year&nbsp;&nbsp;= 1900) < 1970)<BR> .<BR>year&nbsp;&nbsp;= 100;<BR>&#125;</P><br/><P>int i = (expires >> (TVR_BITS&nbsp;&nbsp; 2 &#125; TVN_BITS))&nbsp;&nbsp;and&nbsp;&nbsp;TVN_MASK;<BR>CXX = $(CROSS_COMPILE)g&nbsp;&nbsp; $(CPUFLAGS) -DCONFIG_COLDFIRE</P><br/><P>move.l -(?), ? &#125; Copy dword &#125;</P><br/><P>solution, I think there are two, one Com1 I do not redirect the standard input and output, and the other is in standard input-output does not start shell . The first is never done, the second can be modified by the following methods.</P><br/><P>CXX = $(CROSS_COMPILE)g<BR>&#125;</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P></P><br/><P>add.l ?, ? &#125; Copy from end &#125;</P><br/><P> make menuconfig Loadable module support ---&gt;</P><br/><P>lea.l _ebss, ? &#125; Get end of bss &#125;<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125; Sector 11 [FFC80000] (0-unprotect, 1 protect):0<BR>CXX = $(CROSS_COMPILE)g<BR>movec ?, ?CR &#125; Invalidate cache &#125;</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P></P><br/><P></P><br/><P>CXX = $(CROSS_COMPILE)g </P><br/><P>early next uClinux applications and are based on the static link way link uClibc / uC-libc, is already uClinux support the dynamic link library uClibc. Dynamic Link is able to achieve the benefits of multiple applications to share code in order to save memory consumption, the equivalent of what WINDOWS under the DLL into the advantages of sharing.</P><br/><P>move.l ?, _ramvec &#125; Set up vector addr &#125;</P><br/><P> .</P><br/><P><IMG src="http://www.elec-intro.com/EX/article/url.gif" align=absMiddle border=0>-L/HHCF5272-R1 / uClinux / lib / libc /. -L/HHCF5272-R1/uClinux/lib/libc/lib</P><br/><P></P><br/><P>CXX = $(CROSS_COMPILE)g </P><br/><P>&#125;<IMG src="http://www.elec-intro.com/EX/article/url.gif" align=absMiddle border=0>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; 2 &#125; TVN_BITS)) &#125;</P><br/><P>download m68k-elf-tools-20030314.sh to LINUX PC machine, chmod 777 m68k-elf-tools-20030314.sh, then ./m68k-elf-tools-20030314.sh directly to the latest m68k-elf - xxx collection of tools to install / usr / local / below, you can use directly.</P><br/><P></P><br/><P>icrp = (volatile unsigned long &#125;) (MCF_MBAR&nbsp;&nbsp; MCFSIM_ICR1);//MII</P><br/><P> mount nmbd minicom /mnt/nmbd&amp; </P><br/><P>2. user/init/ simpleinit.c /bin/sh <BR>2. user/init/ simpleinit.c /bin/sh <BR>CXX = $(CROSS_COMPILE)g<BR>This is because the application did not use the cross-compiler compiler tools, but the PC LINUX under the gcc compiler. This problem is often due to the customer is not in the implementation of the uClinux directory make for a unified compiler, but the application directly to the implementation of the directory due to make. This is due to uClinux / user / application under each of the Makefile to use a lot of macros, included in the CC and so on, these macros are unified under uClinux in a directory defined in the document, if the user directly to the user / Under The application directory implementation of the make, these macros will not be able to access uClinux to set the value, but automatic use of the default PC LINUX system, such as the CC if the user does not specify, the default is gcc, so there will be no application to use m68k-elf-gcc compiler, but PC LINUX under the gcc compiler, so that made up the executable file on the board, of course, can not be implemented.</P><br/><P></P><br/><P>CFLAGS&nbsp;&nbsp;= -DFLOATS=1</P><br/><P>4 makefile msg&nbsp;&nbsp;-> libc.a ;<BR>&#125;<BR>add.l ?, ? &#125; Copy from end &#125;<BR>- if (open("/dev/ttyS0", O_RDWR, 0) &lt; 0)<BR>+ if (open("/dev/null", O_RDWR, 0) &lt; 0)<BR> genromfs&#125;/ usr/local/bin/genromfs&#125;</P><br/><P>&#125; Set to 4 meg for the Cadre III board (m5206e) .</P><br/><P>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; 3 &#125; TVN_BITS )) &#125;<BR>CXX = $(CROSS_COMPILE)g<BR>#if LINUX_VERSION_CODE &lt; 0x020100<BR>if (console_device &amp;&amp; strcmp(console_device, "/dev/null"))<BR>&#125;<BR>movec ?, %VBR<BR> .<BR>move.l ?, -(?)<BR>move.l ?, -(?)<BR>p = inittab&nbsp;&nbsp; numcmd&nbsp;&nbsp;;<BR>year&nbsp;&nbsp;= 100;<BR>strcpy(p-&gt;fullline, "console");<BR>strcpy(p-&gt;tty, "console");<BR>strcpy(p-&gt;termcap, "linux");<BR>p-&gt;toks = "/bin/sh";<BR>&#125;<BR> .<BR>&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125; &#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;&#125;<BR>&#125;<BR> .<BR>usually can not use the COM1 serial port for communication of the reasons It has been redirected to a standard input-output system of surveillance of its shell and the process will be dealt with from here to send incoming data, process the user can not be obtained.<BR>-L/HHCF5272-R1 / uClinux / lib / libc /. -L/HHCF5272-R1/uClinux/lib/libc/lib<BR>ü uC version of the many, it seems there is a uClinux/linux-2.4.x/init / main.c start in the shell, the code in the function do_shell, check main.c file, if the function of the<BR>if(open("/dev/ttyS0",O_RDWR,0)&lt;0)<BR>&#125;<BR>if(open("/dev/null",O_RDWR,0)&lt;0)<BR>&#125;<BR>attention to the above-mentioned information is incorrect, programming From the end when all of this information shows, and can not be said that the success of programming. Programming will depend on the success of minicom side of the display of information to judge.<BR>move.l #MEM_SIZE, ?<BR>&#125;<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; 3 &#125; TVN_BITS )) &#125;<BR>CXX = $(CROSS_COMPILE)g<BR>#if LINUX_VERSION_CODE &lt; 0x020100<BR>if (console_device &amp;&amp; strcmp(console_device, "/dev/null"))<BR>&#125;<BR>movec ?, %VBR<BR> .<BR> .<BR>&#125;<BR>move.l ?, -(?)<BR>p = inittab&nbsp;&nbsp; numcmd&nbsp;&nbsp;;<BR>year&nbsp;&nbsp;= 100;<BR>strcpy(p-&gt;fullline, "console");<BR>strcpy(p-&gt;tty, "console");<BR>strcpy(p-&gt;termcap, "linux");<BR>strcpy(p-&gt;termcap, "linux");<BR>p-&gt;toks = "/bin/sh";<BR>&#125;<BR>&#125;<BR> .<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR> .<BR>movec ?, %VBR<BR> .<BR>&#125;</P><br/><P>&#125;<BR>is not to say that this will never start a shell, only the standard output does not start the shell, However, if the user telnet or the board will p0 in the mouth on the shell to start, otherwise customers will never be able to command issued an order of the board.</P><br/><P><BR></P><br/><P>movec ?, %VBR</P><br/><P>move.l ?, %sp &#125; Set up initial stack ptr &#125;<BR>movec ?, %VBR<BR>move.l ?, -(?)<BR>C&nbsp;&nbsp; 5272 uclinux config.arch </P><br/><P></P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P>if ((year&nbsp;&nbsp;= 1900) < 1970)<BR>lea init_task_union, ?<BR>lea init_task_union, ?<BR> .<BR>if ((year&nbsp;&nbsp;= 1900) < 1970)</P><br/><P></P><br/><P>&#125;</P><br/><P></P><br/><P><BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>CXX = $(CROSS_COMPILE)g<BR>movec ?, ?CR &#125; Enable cache &#125;<BR>movec ?, ?CR &#125; Enable cache &#125;<BR>CXX = $(CROSS_COMPILE)g<BR>movec ?, ?CR &#125; Enable cache &#125;<BR>movec ?, ?CR &#125; Enable cache &#125;<BR>movec ?, ?CR &#125; Enable cache &#125;<BR>&#125;</P><br/><P>CXX = $(CROSS_COMPILE)g</P><br/><P> .<BR>CXX = $(CROSS_COMPILE)g</P><br/><P>&#125;</P><br/><P></P><br/><P> .</P><br/><P>CGI is a WEB SERVER-side code expansion. For example, IIS, and other side of the ISAPI development of the DLL code WINDOWS are on the side of the WEB SERVER expansion for the handling WEB browser users to enter, and other forms of static pages other than the intelligence input to deal with.<BR>CGI can be used in LINUX and WINDOWS on the WEB SERVER side expansion can be a variety of scripts such as PHP to achieve, and so on, most of the original C code that is used to achieve the specific code to see what your WEB SERVER support. Embedded LINUX for the use of WEB SERVER the boa, do not support any of the script, only the C code CGI program, each connecting a client browser to connect on SERVER side (on board) to start a CGI process COPY .</P><br/><P><BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; TVN_BITS)) &#125;</P><br/><P>&#125;&#125;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR> .<BR>movec ?, %VBR<BR>year&nbsp;&nbsp;= 100;<BR>movec ?, %VBR</P><br/><P><BR>CXX = $(CROSS_COMPILE)g</P><br/><P>in such a LINUX open source environment, the most important thing you have not already mastered the knowledge of how much, but to have access to information means all the source code, all in the knowledge that the uClinux directory, Does not require any of the books, there is only a search tool to find and will be able to obtain any necessary knowledge, engaged in the development of learning language, imitation is a very effective means to see if the system is running on how to write the code, follow suit like that A.<BR>19.&nbsp;&nbsp;C&nbsp;&nbsp; <BR>movec ?, %VBR<BR>year&nbsp;&nbsp;= 100;<BR> .<BR>movec ?, %VBR<BR> BDM "bdm not open" .<BR> .<BR>15.&nbsp;&nbsp;BDM&nbsp;&nbsp;kernel- module version mismatch </P><br/><P></P><br/><P>movec ?, %VBR<BR> CN5 p19,p23,p25 <BR>lea.l _ebss, ? &#125; Get end of bss &#125;<BR>movec ?, %VBR<BR>to receive signals in the process of their own, wrote that the process of RAM disk (such as / tmp directory) under a document, the process of sending the signal from this document to read, the process can send signals to achieve success. <BR>&#125;<BR> .<BR>lea.l _ebss, ? &#125; Set up destination &#125;<BR>movec ?, %VBR<BR>year&nbsp;&nbsp;= 100;</P><br/><P>lea.l _ebss, ? &#125; Set up destination &#125; <BR>attention: System on board sent a message queue length and the length of the queue to receive messages can be long range; Huaheng kernel seems to be the same length, (not to exceed the maximum BUFSIZ = 1024).<BR>&#125; &#125; if (idx < 1 << (TVR_BITS&nbsp;&nbsp; TVN_BITS)) &#125;</P><br/><P>: orib #84,?<BR>year&nbsp;&nbsp;= 100;<BR>AOBJ = _stdio_init.o fputc. o fgetc.o fflush.o fgets.o gets.o fputs.o puts.o fread.o fwrite.o fopen.o fclose.o fseek.o rewind.o ftell.o setbuffer.o setvbuf.o ungetc.o</P><br/><P>year&nbsp;&nbsp;= 100;<BR>POBJ = printf.o sprintf.o fprintf.o snprintf.o vprintf.o vsprintf.o vfprintf.o vfnprintf. o vsnprintf.o</P><br/><P>year&nbsp;&nbsp;= 100;<BR>icrp = (volatile unsigned long &#125;) (MCF_MBAR&nbsp;&nbsp; MCFSIM_ICR2);</P><br/><P>request_irq(72, handler, SA_INTERRUPT, "ColdFire Timer", NULL );<BR>lea 0x2000(?), %sp<BR>move.l ?, -(?)<BR>: orib #84,?</P><br/><P>lea init_task_union, ?</P><br/><P>clr.l ? &#125; Set value &#125;<BR>$(CC) $(CFLAGS) -DL_$&#125; $&lt; -c -o $&#125;.o<BR>lea init_task_union, ?</P><br/><P>clr.l ? &#125; Set value &#125;<BR>$(CC) $(CFLAGS) -DL_$&#125; $&lt; -c -o $&#125;.o<BR>lea init_task_union, ?</P><br/><P>clr.l ? &#125; Set value &#125;<BR>$(CC) $(CFLAGS) -DL_$&#125; $&lt; -c -o $&#125;.o<BR>lea init_task_union, ?</P><br/><P> .<BR>clr.l ? &#125; Set value &#125;<BR>clr.l ? &#125; Set value &#125;</P><br/><P>&#125;<BR>movec ?, %VBR</P><br/><P>p = inittab&nbsp;&nbsp; numcmd&nbsp;&nbsp;;<BR><BR><BR></TD></TR></TBODY></TABLE><br/><TABLE cellSpacing=0 cellPadding=0 width="98%" border=0><br/><TBODY><br/><TR><br/><TD> </TD></TR></TBODY></TABLE></P><br/>Tags - <a href="http://www.elec-intro.com/tags/heng/" rel="tag">heng</a> , <a href="http://www.elec-intro.com/tags/coldfire/" rel="tag">coldfire</a> , <a href="http://www.elec-intro.com/tags/series/" rel="tag">series</a> , <a href="http://www.elec-intro.com/tags/embedded/" rel="tag">embedded</a> , <a href="http://www.elec-intro.com/tags/linux/" rel="tag">linux</a> , <a href="http://www.elec-intro.com/tags/development/" rel="tag">development</a>
]]>
</description>
</item><item>
<link>http://www.elec-intro.com/About-embedded-LINUX/</link>
<title><![CDATA[About embedded LINUX]]></title> 
<author>Tiny &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Default]]></category>
<pubDate>Wed, 11 Feb 2009 13:56:32 +0000</pubDate> 
<guid>http://www.elec-intro.com/About-embedded-LINUX/</guid> 
<description>
<![CDATA[ 
	embedded LINUX About<BR>&nbsp;&nbsp;embedded Linux <br/><P></P><br/><P>with the microprocessor production, low cost, compact structure of the CPU and peripherals connected to provide a framework for stable and reliable hardware, embedded systems development restrictions on the outstanding performance bottlenecks in the software. Although the late 1980s and started a number of embedded operating system, there are relatively well-known Vxwork, pSOS, Neculeus and Windows CE. But these are specific operating system product commercialization, the high price of many low-end products that discourage small companies; In addition, closed source code is also a major constraint on the developer's enthusiasm. In addition, the combination of domestic situation, the current state of their own operating system support for an open-source LINUX promotion provided broad prospects for development. Also, on the upper application developers, embedded systems is needed is a set of highly concise and friendly interface, reliable, widely used and easy to develop, multi-tasking, and low-cost operating system. In the near future, from refrigerators to the radio will be built-in processor. Because of the openness of Linux, many people think Linux is suitable for the majority of Internet equipment. They believe that Linux can support different equipment, to support different configurations. Linux vendor of low-cost and even-handed, soon to become the equipment used for a variety of operating systems. Today, the industry has reached a consensus: that is, embedded linux is the general trend and its huge market potential and business opportunities will certainly brewing to attract a large number of manufacturers to enter this field.<BR>embedded operating systems are Palm OS, Windows CE, EPOC, LinuxCE, QNX, ECOS, LYNX, high-end embedded systems require a number of high-level functions, such as the graphical user interface and network support. Many high-end RTOS suppliers have to provide these functions, but the price is very high-end, it is generally difficult to accept. Microsoft's Windows CE also has such features, does not have the most embedded systems require real-time performance, and are difficult to transplant, has also been said to want to use the DOS-based independent third-party tools to put together a system, but such efforts will be In vain. What is needed is a less mature and high-end embedded systems to provide the necessary characteristics of the operating system, embedded Linux operating system to low-cost, powerful and easy-to-transplant and is widely used, has become a rising force, so many Businesses have turned to embedded linux.<BR>Linux for embedded operating system provides a very attractive option, which is similar to Unix and to the core-based, full memory protection, the process of multi-multi-tasking operating system. To support a wide range of computer hardware, including X86, Alpha, Sparc, MIPS, PPC, ARM, NEC, MOTOROLA, etc. Most of the existing chips. All open-source program, anyone can modify and in the GNU General Public License (GNU General Public License) under the issue, so that developers can customize the operating system, no longer have to worry about operating systems like MS windows in the "back door "The threat. At the same time, because of the GPL control, the development of all the things most compatible with each other, not to split the road. Linux users who encounter problems to the Internet through the Internet hundreds of thousands of Linux developers to ask, which makes the most difficult problems can be solved. Linux with Unix users are familiar with the sound development tools, almost all of the Unix system software has been ported to the Linux on. Linux also provides a powerful network functions, there are a variety of optional window manager (X windows). Its strong language compiler gcc, g, and so on can also be easily. Not only improve the maturity and ease of use.</P><br/><P></P><br/><P>&nbsp;&nbsp;choose linux reasons <BR>&nbsp;&nbsp;can be applied to a variety of hardware platforms. Linux has been ported to a variety of hardware platforms, which is subject to cost, time-bound items research and development is very attractive. Prototype can be developed in the standard platform and then migrate to specific hardware, software and hardware to speed up the development process.<BR>&nbsp;&nbsp;Linux can be configured to not require any permit or business relationship.<BR>&nbsp;&nbsp;it is free, source code available. This is the most attractive. There is no doubt that this will save a lot of development costs.<BR>&nbsp;&nbsp;its own built-in support network.<BR>&nbsp;&nbsp;Linux's highly modular so very easy to add components.<BR>&nbsp;&nbsp;Linux on the desktop to the success, so that we can see linux embedded in the system brilliant prospects.</P><br/><P>--- Hua Heng's<BR></TD></TR></TBODY></TABLE><br/><TABLE cellSpacing=0 cellPadding=0 width="98%" border=0><br/><TBODY><br/><TR><br/><TD> </TD></TR></TBODY></TABLE></P><br/>Tags - <a href="http://www.elec-intro.com/tags/about/" rel="tag">about</a> , <a href="http://www.elec-intro.com/tags/embedded/" rel="tag">embedded</a> , <a href="http://www.elec-intro.com/tags/linux/" rel="tag">linux</a>
]]>
</description>
</item><item>
<link>http://www.elec-intro.com/Flag-Embedded-Linux/</link>
<title><![CDATA[Red Flag Embedded Linux presentation]]></title> 
<author>Tiny &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Default]]></category>
<pubDate>Wed, 11 Feb 2009 12:56:24 +0000</pubDate> 
<guid>http://www.elec-intro.com/Flag-Embedded-Linux/</guid> 
<description>
<![CDATA[ 
	Red Flag Embedded Linux presentation <br/><P></P><br/><P><BR></P><br/><P><BR> "to innovation, but also care about the" --- has been advocated by the red flag. Beijing Red Flag Software Technologies, Inc. (Red Flag Software Co., Ltd.) Industry as a leading Linux company, is committed to Linux will be more intensive promotion, so that the open operating system more suitable for users of the application. In promoting the development of Red Flag Linux on the road to spare no effort, from handheld computers to large-scale computing environment and other fields, can see their efforts and achievements.</P><br/><P> is a red flag in the field of embedded software development, Red Flag Embedded Linux software is a red flag for embedded devices and the development of general-purpose embedded platform. Red Flag not only focus on embedded software Platforms research, but also with third-party partners to carry out a wide range of cooperation, to jointly provide customers with mature embedded Linux software and hardware solution to shorten customer product time-to-market, which is Red Flag Software is embedded in the field of value.</P><br/><P> Red Flag Embedded Linux uphold the Linux open many outstanding performance, and the red flag after careful optimization and reduction, thus more applicable to embedded devices. Now, you can mobile computing platform (PDA, Smart Phone, E-book), information appliances (set-top box), industry (industrial smart devices), commercial (POS / ATM) and other embedded devices that embed the red flag Linux-type figure.</P><br/><P> to advanced embedded technology is a red flag to the user. Based on this goal, the red flag on the one hand, provide users with mature technology, products, solutions and technical support to help users to complete product design; the other hand, the combination of user demand for the red flag, according to the CMM project management standards, in the shortest possible time for Completion of the design work for all users. Now, according to the needs of the user's characteristics in the Red Flag Embedded Linux core technology, with the support of Red Flag Embedded Linux business model to include products, vertical industry solutions, professional services, training and technical support in the field of four. In each of these areas, the red flag is to provide customers with mature content services, in order to ensure customers have access to the red flag in support of sound.</P><br/><P></P><br/><P><BR><IMG alt=&nbsp;&nbsp;src="http://www.elec-intro.com/EX/article/200382911114410752.gif" onload="javascript:if(this.width>580) this.width = 580 "border = 0><BR><BR></P><br/><P></P><br/><P> Red Flag Embedded Linux products and solutions for the industry to follow, for the final product of this principle, to meet industry-specific business needs of customers, to help its products, shortened product cycles. At the same time, the red flag to provide users with product development before the budget control, product development, risk control, after the market such as after-sales service to ensure that customers can design products on time, high-quality, reliable, flexible products to enhance the chances of success, this Embedded Linux is a red flag to give users the best interests of the Red Flag Embedded Linux is also the advantage.</P><br/><P> at any time, the user always needs diversity, our mission is to provide better products, solutions and professional services, training and technical support, and meet the needs of the user's guide, giving customers a solid security.</P><br/><P><BR><BR></TD></TR></TBODY></TABLE><br/><TABLE cellSpacing=0 cellPadding=0 width="98%" border=0><br/><TBODY><br/><TR><br/><TD> </TD></TR></TBODY></TABLE></P><br/>Tags - <a href="http://www.elec-intro.com/tags/flag/" rel="tag">flag</a> , <a href="http://www.elec-intro.com/tags/embedded/" rel="tag">embedded</a> , <a href="http://www.elec-intro.com/tags/linux/" rel="tag">linux</a> , <a href="http://www.elec-intro.com/tags/presentation/" rel="tag">presentation</a>
]]>
</description>
</item><item>
<link>http://www.elec-intro.com/Intel-chip-features_4828/</link>
<title><![CDATA[ICP: Intel 81x chip features]]></title> 
<author>Tiny &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Default]]></category>
<pubDate>Wed, 11 Feb 2009 11:56:19 +0000</pubDate> 
<guid>http://www.elec-intro.com/Intel-chip-features_4828/</guid> 
<description>
<![CDATA[ 
	Intel 81x chip features <BR>1. Intel 810 functions: i810 is the first piece of the integrated VGA-enabled chipsets, which Display is equipped with the equivalent of 8 memory of the AGP graphics card; but the i810 does not support more than 1280x1024, or more than 24bit color, and does not support more than 19 "displays.<br/><P></P><br/><P>2. Go beyond the "North and South Bridges" structure, the introduction of a new "speed up the structure of the center". Intel810 still use a i82810 (MCH) and a i82801AA (ICH), but their use twice the bus bandwidth bus Dedicated bus bandwidth, bandwidth to reach 266MHz. 82810 integrated graphics and memory control functions, 82801AA integration of the peripheral control functions.</P><br/><P>3. Again The definition of the structure of the bus so that the chipset's internal processing speed peripherals and data exchange with the greater capacity and peripherals can share 82,801 Bus 266MHz bandwidth. </P><br/><P></P><br/><P>Intel810 and Intel815 comparison <BR>1. Intel 815 full advantage of the 810 inherited, and further optimization.</P><br/><P>2. VGA: in the 810 on the basis of the integrated AGP features (i752 AGP4x), in addition to a high standard graphics card or memory card. (I752 can be automatically shielded)</P><br/><P>3. ATA: 810 ----- ATA66; 815 ------- ATA100;</P><br/><P>4. RAM: 810 ----- Upto 256M Dimm; 815 ------ Upto 512M Dimm;</P><br/><P>5. PCI: 810 ------ 4xPCI; 815 ------- 6xPCI;</P><br/><P>6. USB: 810 ------ 2xUSB; 815 ------ 4xUSB;</P><br/><P>7. Audio: 810 ------ 2xChannel; 815 ------ 6xChannel;</P><br/><P>8. LAN: Intel 815 built-in LAN controller integrated<BR>from the 815 and 810 comparison, the 815's ability to drive significantly improved, indicating 82801BA (ICH2) over the functions of 82801AA (ICH) stronger; for gigabit network and high-speed data, is clearly more than 815 810 better position to deal with.</P><br/><P><BR><BR></TD></TR></TBODY></TABLE><br/><TABLE cellSpacing=0 cellPadding=0 width="98%" border=0><br/><TBODY><br/><TR><br/><TD> </TD></TR></TBODY></TABLE></P><br/>Tags - <a href="http://www.elec-intro.com/tags/intel/" rel="tag">intel</a> , <a href="http://www.elec-intro.com/tags/chip/" rel="tag">chip</a> , <a href="http://www.elec-intro.com/tags/features/" rel="tag">features</a>
]]>
</description>
</item><item>
<link>http://www.elec-intro.com/Rocky-3703EVR-RAID_1786/</link>
<title><![CDATA[ICP: Rocky 3703EVR of RAID function to achieve]]></title> 
<author>Tiny &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Default]]></category>
<pubDate>Wed, 11 Feb 2009 10:56:15 +0000</pubDate> 
<guid>http://www.elec-intro.com/Rocky-3703EVR-RAID_1786/</guid> 
<description>
<![CDATA[ 
	Rocky 3703EVR of RAID function to achieve<BR><BR>disk drive production:<BR>Win95/Win98/WinME:<BR>will be &#92; IDE &#92; Promise &#92; 20267 &#92; WIN9X-ME Under the contents of the floppy disk Kaoru, Win95/Win98/WinME make disk drives.<BR>WinNT :<BR>will be &#92; IDE &#92; Promise &#92; 20267 &#92; NT4 under the contents of the floppy disk Kaoru, WinNT4 make disk drives.<BR>Win2000:<BR>will be &#92; IDE &#92; Promise &#92; 20267 &#92; WIN2000 under the contents of the floppy disk Kaoru, Win2000 make disk drives.<br/><P></P><br/><P>installation steps:<BR>in the power-on self test after test, according to&lt;Ctrl + F&gt; ,&nbsp;&nbsp;Main Menu &lt;1&gt; RAID0,&nbsp;&nbsp;&lt;3&gt; : Stripe RAID0, mirror&nbsp;&nbsp;RAID1, Security&nbsp;&nbsp;0+1 </P><br/><P>in the settings after the installation of the system</P><br/><P>in the system when installed by &lt;F6&gt; button, the screen appears to be prompted, insert the installation disk drive.</P><br/><P><BR><BR></TD></TR></TBODY></TABLE><br/><TABLE cellSpacing=0 cellPadding=0 width="98%" border=0><br/><TBODY><br/><TR><br/><TD> </TD></TR></TBODY></TABLE></P><br/>Tags - <a href="http://www.elec-intro.com/tags/rocky/" rel="tag">rocky</a> , <a href="http://www.elec-intro.com/tags/3703evr/" rel="tag">3703evr</a> , <a href="http://www.elec-intro.com/tags/raid/" rel="tag">raid</a> , <a href="http://www.elec-intro.com/tags/function/" rel="tag">function</a> , <a href="http://www.elec-intro.com/tags/achieve/" rel="tag">achieve</a>
]]>
</description>
</item><item>
<link>http://www.elec-intro.com/Rocky3785-power-connection_5507/</link>
<title><![CDATA[ICP: Rocky3785 ATX power connection]]></title> 
<author>Tiny &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Default]]></category>
<pubDate>Wed, 11 Feb 2009 09:56:09 +0000</pubDate> 
<guid>http://www.elec-intro.com/Rocky3785-power-connection_5507/</guid> 
<description>
<![CDATA[ 
	Rocky3785 ATX power connection<br/><P></P><br/><P>Rocky3785 ATX power connection<BR>Rocky3785 then ATX power supply, the main switch and wiring bottom two.<BR>1. CN5 (two-pin socket) tap the wires.<BR>CN5 located next to the main board FDD slot<BR>2. CN20 floor of a pick STB5V, 2 floor next PSON.<BR><BR><BR><IMG alt=&nbsp;&nbsp;src="http://www.elec-intro.com/EX/article/200310281393324100.jpg" onload="javascript:if(this.width>580) this.width = 580 "border = 0></P><br/><P><BR>Note: In the course of the connection, make sure that the ATX power cord is The disconnect.</P><br/><P><BR><BR></TD></TR></TBODY></TABLE><br/><TABLE cellSpacing=0 cellPadding=0 width="98%" border=0><br/><TBODY><br/><TR><br/><TD> </TD></TR></TBODY></TABLE></P><br/>Tags - <a href="http://www.elec-intro.com/tags/rocky3785/" rel="tag">rocky3785</a> , <a href="http://www.elec-intro.com/tags/power/" rel="tag">power</a> , <a href="http://www.elec-intro.com/tags/connection/" rel="tag">connection</a>
]]>
</description>
</item><item>
<link>http://www.elec-intro.com/install-under-SCSI/</link>
<title><![CDATA[ICP: How to install NT4 under SCSI hard drive]]></title> 
<author>Tiny &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Default]]></category>
<pubDate>Wed, 11 Feb 2009 08:56:05 +0000</pubDate> 
<guid>http://www.elec-intro.com/install-under-SCSI/</guid> 
<description>
<![CDATA[ 
	how NT4 install SCSI hard drive<br/><P></P><br/><P>in NT4 install SCSI hard drive, there are two circumstances: 1. SCSI system to be installed on the hard disk 2. the system has been installed, coupled with the need for a SCSI hard drive.</P><br/><P>1. First of all, need to do a disk drive. Rocky3782EVS using Symbios53c1010-33's SCSI chipsets, and its accompanying CD-ROM drive in the middle. The path is as follows:<BR>&#92; SCSI &#92; Symbios &#92; 53c1010-33, this is a compression program, or Winzip be WinBar decompression after use (which can extract the hard drive or floppy disk). Decompression after the path Keep in mind that (his best Specify a directory). Decompression after the driver for a number of operating systems, NT directory selection, will Kaoru driver floppy disk, make a disk drive.</P><br/><P>2. In the first case to be installed at the WinNT Setup screen to install blue screen when the switch by F6 keys until a special screen installed equipment in the conduct of the SCSI device is installed, do a good job to insert the disk drive, NT will recognize that SCSI models of controllers, according to&lt;enter&gt;continue, with the following general steps to install; otherwise the procedure will be prompted to install the "File system couldn't loading "can not continue the installation.</P><br/><P>3. The second step in the installation of the following circumstances:<BR>boot Self-test, detected two SCSI controller (onboard), if the hard disk has been put up at this time, it should be hard to detect.<BR>suggested that the NT patch together.<BR>into the system&lt;My Computer&gt; &#92; &lt;Control Panel&gt; &#92; &lt;SCSI Adapter&gt; &#92; &lt;Drivers&gt; &#92; &lt;Add&gt; &#92; &lt;From to Disk&gt;, insert the disk drive (or directly to the driver to extract the hard disk) to start Install the driver. After the completion of the installation process will be prompted to restart.<BR>to restart the system after the&lt;Disk Manager&gt;found more than a hard disk, partition and format it to use this after a SCSI hard drive.</P><br/><P></P><br/><P><BR></TD></TR></TBODY></TABLE><br/><TABLE cellSpacing=0 cellPadding=0 width="98%" border=0><br/><TBODY><br/><TR><br/><TD> </TD></TR></TBODY></TABLE></P><br/>Tags - <a href="http://www.elec-intro.com/tags/install/" rel="tag">install</a> , <a href="http://www.elec-intro.com/tags/under/" rel="tag">under</a> , <a href="http://www.elec-intro.com/tags/scsi/" rel="tag">scsi</a> , <a href="http://www.elec-intro.com/tags/hard/" rel="tag">hard</a> , <a href="http://www.elec-intro.com/tags/drive/" rel="tag">drive</a>
]]>
</description>
</item><item>
<link>http://www.elec-intro.com/Siemens-S7-200-Frequently/</link>
<title><![CDATA[Siemens S7-200 Frequently Asked Questions]]></title> 
<author>Tiny &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Default]]></category>
<pubDate>Wed, 11 Feb 2009 07:56:00 +0000</pubDate> 
<guid>http://www.elec-intro.com/Siemens-S7-200-Frequently/</guid> 
<description>
<![CDATA[ 
	analog input template EM235 is how much resistance? <BR> input resistance and the size you choose the type of input, if you choose to input voltage, input impedance such big Zhaoou 10; If you choose to enter the current anti-importation is ohm 250 for <BR><BR>in the application modules EM231RTD when measuring its value on behalf of the meaning of what? <BR> When you EM231RTD application module, measuring its value is 10.0 divided by the actual temperature. Modules can measure the scope itself is -3276.8 to 3276.7 degrees Celsius, the actual measurement depends on the scope of sensor measurements and the actual temperature range. <BR>under what circumstances can edit Chinese TD200? <BR>proposed STEP 7-Micro/WIN 32 V3.1 SP1 Chinese version of <BR>EM235 range of issues: <BR>by adjusting the DIP switches and potentiometers can change the range of EM235 for:<BR>0-10V; 0-5V<BR>0-1V; 0-500mV<BR>0-100mV; 0-50mV<BR>± 10V; ± 5V; ± 2.5V<BR>± 1V ± 500mV; ± 250Mv<BR>± 100mV; ± 50mV; ± 250mV<BR>0 - 20mA <BR><BR>under what circumstances can edit Chinese TD200? <BR> proposed STEP 7-Micro/WIN 32 V3.1 SPI Chinese version of <BR><BR>what AC / DC / RLY? <BR> This is the S7-200CPU models<BR> AC / DC / RLY counterparts: the exchange of 220 power supply, 24V DC input, output relay<BR> In addition, it is a type: DC / DC / DC<BR> DC / DC / DC counterparts: 24V DC power supply , 24V DC input, output transistor <BR><BR>DI need to supply it? <BR> amount of input switching power supply needs, S7-200 has a corresponding 24V power supply to provide specific requests in connection "Technical specifications" to find <BR><BR>Why do some programming software under the command did not Ln? <BR> for two reasons: First, the software version of the programming problem, proposed a new version of software, and the other is only CPU224, 226 in support of this directive, CPU221, CPU222 no such instructions. <BR><BR>if I programmed the address, baud rate, the parameters have forgotten how to do? <BR> Siemens to provide a wipeout.exe application, you can resume the original settings for the PLC, and delete user procedures, the data block, and all the configuration information, PLC will be set to address 2, 9600 baud rate. WIPEOUT in the DOS environment to run, but you must follow the prompts to complete. If you repeat an unsuccessful test, which is the basic principle of this, PLC in which the initial power-up (very short) set up the factory is the work of the state, WIPEOUT only have control over this period of time to change the settings of the PLC. So you power-operated keyboard and should tie in with the good. Wipeout.exe copies of the documents of programming software on CD-ROM, if you do not have a welcome to download <BR><BR>the possibility of the use of CPU224 stored in the memory card on the CPU222 procedures <BR> A: Yes, you can EEPROM memory card to the same, more or updated CPU22X enter procedures. <BR><BR>why the use of the analog input module, sometimes AD code values have a lot of "beating"? <BR> the application analog module, you will have two "power", is a CPU's power supply, the other is the sensor signals to the two power supply is not connected to the ground. This makes it possible to have high common-mode voltage, analog input values have an impact.<BR>: proposed that the power ground wire to connect the two together,<BR>attention: a certain time to ensure that only a total of two power ground in order to avoid unnecessary adverse current Have <BR><BR>in the use of MODEM, can not connect <BR> MODEM communication between the CPU and the failure of the following reasons may have<BR> 1. CPU and the PC / PPI cable is designed for half-duplex, and the computer 232 is a full-duplex<BR> 2. CPU does not have a DTS signal does not have a signal RTR, but the computer can generate<BR> solution:<BR> 1. In the pre-MODEM permanently disconnect the local echo (for example, with AT command AT EO)<BR> 2. In the right place off and DTS signal RTR on the "MODEM" and S7-200 issues related to the topic we will discuss <BR><BR>when the PLC input PLC used its own 24V power supply should pay attention to what? <BR> if your I / O through the PLC's own 24V power supply, just in the PLC power when there is not an immediate power, CPU must come ahead of the input power. This is a time when power-on initialization may have an impact, the solution is if the initialization procedure with the switch input, please re-initialization delay a few milliseconds. <BR><BR>at a time when the use of information TD200 why over time will automatically switch to the other information? <BR> in the configuration of the TD200, information is given priority in descending order, the first information of the highest priority, so that To a number of information, through up and down arrow keys to be able to switch between a number of information, black blinking cursor shows the current information within 30 seconds if no operation, the system will automatically switch to the highest priority of the information that . This is a very good function, not a mistake. If you would like to be a regular show, at the same time as long as you only "can" be a message. <BR><BR>on the RCV and XMT command when the use of the frequently asked questions: <BR> 1. RCV and XMT instructions at the same time can not be effective if the error will be simultaneous, communications, I can not carry out new communications, the need to restart before they can clear the error.<BR> 2. Used in the PC / PPI cable, between the sending and receiving a certain time interval, which is by its own cable switching time of the decision.<BR> 3. Communication on the issue of overtime, in a set SM187.2, SMW192 not exceed the value of the time that the termination of the receipt, but only after receiving the first character can not be completed in time to receive before they can receive automatic termination, If they can not get the first byte, RCV will remain valid. <BR>point solution: <BR> If you want to stop RCV, the corresponding need to reset The SM187.7, but the implementation of RCV can be an effective, because only a new CPU instruction RCV only read SMB<BR> such as:<BR> LD M0.2<BR> RSM87.7, 1<BR> RCV VB99, 0<BR> XMT VB199, 0<BR> sent off before the first to receive <BR><BR>2001 years later, set TP170A, do not download it? <BR> This is because in 2001 after the purchase of a new version of TP170A add new features and Firmware, the original protool / pro V5.2 SP1 can not support this new feature, it should be protool/proV5.2 SP1 to upgrade protool/proV5 .2 SP2 that is good. <BR><BR>old TP170A procedure can not be downloaded. How do? <BR> for the MP270, OP170B, TP170A, TP170B such as a new play based on the WindowsCE operating system operator panel, as Protool / pro version of the software escalated, so that the old TP / OP with the new Firmware can not protool / pro match. So download the software program can not go on, this should be the following steps on the old TP / OP of the Firmware upgrade:<br/><P></P><br/><P> 1. In the new version of Protool / pro CD-ROM, in the images &#92; TP170A &#92; V5-2-SP2 find Ptupdate.exe documents, running the file, it will pop a "net-ptupdate" window. In the menu "file"? "Setting" a good set of communication interfaces, such as coml.<BR> 2. In the menu "file"? "Open" window select CD-ROM brought in the "TP170A_V5_2_SP2_23.img" documents, and open the file.<BR> 3. In the menu "file"? "Download" in this configuration to be downloaded in TP170A.<BR> 4. Restart TP170A, and then download procedure. <BR><BR></TD></TR></TBODY></TABLE><br/><TABLE cellSpacing=0 cellPadding=0 width="98%" border=0><br/><TBODY><br/><TR><br/><TD> </TD></TR></TBODY></TABLE></P><br/>Tags - <a href="http://www.elec-intro.com/tags/siemens/" rel="tag">siemens</a> , <a href="http://www.elec-intro.com/tags/s7-200/" rel="tag">s7-200</a> , <a href="http://www.elec-intro.com/tags/frequently/" rel="tag">frequently</a> , <a href="http://www.elec-intro.com/tags/asked/" rel="tag">asked</a> , <a href="http://www.elec-intro.com/tags/questions/" rel="tag">questions</a>
]]>
</description>
</item><item>
<link>http://www.elec-intro.com/achieve-WAFER-5822-TV-OUT/</link>
<title><![CDATA[ICP: How to achieve WAFER-5822s TV-OUT output]]></title> 
<author>Tiny &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Default]]></category>
<pubDate>Wed, 11 Feb 2009 06:55:54 +0000</pubDate> 
<guid>http://www.elec-intro.com/achieve-WAFER-5822-TV-OUT/</guid> 
<description>
<![CDATA[ 
	how WAFER-5822's TV-OUT output<BR><BR>1. Signals to the correct line to connect<BR>WAFER-5822's TV-OUT output to connect to JP2 (please Reference to the manual), close to the JP3 (reset) to the side of the earth from the side of the BIOS ROM chips to start from right to left for 1, 3, 5 (to), corresponding to the other side of the 2.4.6.<BR>Corresponding statement on the pin and the color signal lines are as follows: 1 - black, 2 - White (two-pin socket); 3 - red, 4 - yellow, 5 - black, 6 - White (4-pin socket).<br/><P></P><br/><P><BR>2. Software installation<BR>to achieve TV-OUT function on the correct installation of the display driver. Incidental to the CD-ROM in &#92; VGA under &#92; MediaGx under the appropriate operating system installed on the drive. Win9x drivers for the next decompression software, installed in the display driver when you want to Specify the correct path to the document. Right after installation, &#92; display &#92; settings &#92; high-level dialog box, multi-page menu should appear in the menu to set up TV-OUT functionality</P><br/><P><BR>that this is only a reference, based on a random manual and CD-ROM installation.</P><br/><P><BR><BR></TD></TR></TBODY></TABLE><br/><TABLE cellSpacing=0 cellPadding=0 width="98%" border=0><br/><TBODY><br/><TR><br/><TD> </TD></TR></TBODY></TABLE></P><br/>Tags - <a href="http://www.elec-intro.com/tags/achieve/" rel="tag">achieve</a> , <a href="http://www.elec-intro.com/tags/wafer-5822/" rel="tag">wafer-5822</a> , <a href="http://www.elec-intro.com/tags/tv-out/" rel="tag">tv-out</a> , <a href="http://www.elec-intro.com/tags/output/" rel="tag">output</a>
]]>
</description>
</item><item>
<link>http://www.elec-intro.com/Siemens-S7-200-Application/</link>
<title><![CDATA[Siemens S7-200 Application]]></title> 
<author>Tiny &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Default]]></category>
<pubDate>Wed, 11 Feb 2009 05:55:33 +0000</pubDate> 
<guid>http://www.elec-intro.com/Siemens-S7-200-Application/</guid> 
<description>
<![CDATA[ 
	Siemens programmer S7-200 Series of small and medium-sized devices used in the system of automatic control unit is open to all industries, on various occasions in the detection, monitoring and control.<BR> here, and everyone will work together to discuss the use of S7-200 in several aspects .<BR> 1. Stepper, servo pulse positioning control.<BR> equipment in the control system, the motion control is very important, let's take a look at the Siemens S7-200 series PLC and how to achieve this function.<BR> First, determine the use of which Laifa pulse ports, such as hair Q0.0 pulse, it's the word for the control of SMB67, pulse for the same period SMW68, the number of pulses stored in SMD72 in,<BR> <BR>&nbsp;&nbsp;The following is a description of the control byte: <BR>Q0.0 Q0.1 control byte that <BR> SM67.0 SM77.0 PTO / PWM cycle to update the value of 0 = no update, 1 = update cycle value of <BR> SM67.1 SM77.1 PWM pulse width of the update does not update the value 0 = 1 = Pulse width of the value of <BR> SM67.2 SM77.2 PTO update pulses 0 = do not update, update 1 = pulses <BR> SM67.3 SM77.3 PTO / PWM the time to choose the base value 0 = 1 microsecond , 1 = 1 ms value <BR> SM67.4 SM77 .4 PWM method to update 0 = asynchronous update 1 = synchronous update <BR> SM67.5 SM77.5 PTO single-stage operation 0 = Operation, a multi-stage operation = <BR> SM67.6 SM77.6 PTO / PWM mode option to choose 0 = PTO, 1 = choice of PWM <BR> SM67.7 SM77.7 PTO / PWM = 0 to allow the Prohibition of PTO / PWM, 1 = allow <BR><BR> this forms the basis of the above, we have come to control Q0.0 words: SMB67 for: 10000101<BR>use of PTO output, the level delicate cycle, the pulse of the cycle (that is, frequency) and the number of pulses have to re-enter. 10000101 into a band of 16 to 85, with control words, we write this paragraph: <br/><P></P><br/><P><BR><IMG alt=&nbsp;&nbsp;src="http://www.elec-intro.com/EX/article/200311215254911069.gif" onload="javascript:if(this.width>580) this.width = 580 "border = 0><BR><BR></P><br/><P> above, according to this procedure, we know that the control of the use of the word, but also know that the stepper motor cycle with the red pulse of the number of storage locations (for Q0.0 is SMW68 and SMD72). Of course, VW100 and VD102 different data, the stepper motor speed and turning circle is not the same as the number.<BR> that there is a need to note: M0.0-on --- PLC capture the rising edge of the pulse output after the launch, would like to stop, only to change ports of the pulse control word, and then start to PLS, the procedure is as follows: <BR><BR><BR><IMG alt=&nbsp;&nbsp;src="http://www.elec-intro.com/EX/article/200311215255580641.gif" onload="javascript:if(this.width>580) this.width = 580 "border = 0></P><br/><P><BR> 2. High-speed counting function.<BR> Siemens S7-200 series PLC with a high-speed counting functions; give an example to talk about the use of high-speed counting, we have adopted a common motor drive to screw rotation, we would like to turn control of the distance, how to solve this problem? Then we will be able to motor the other end with one encoder connected to the electrical circuit, the encoder also turn around the same time, according to the specifications of different pulses. Of course, these pulses of high frequency, PLC can not be used to counter rising edge of the common pulse of these can only be realized through a high-speed counting function.<BR> start high-speed counting function, but also have control of the word </P><br/><P>HSCO HSC1 description of the <BR> SM37.0 SM47.0 effective reduction level control high-0 = Effective, effective 1 = low <BR> SM37.1 SM47.1 start an effective level control at 0 = high effective, 1 = low effective <BR> SM37.2 SM47.2 orthogonal counter rate option 0 = 4X count rate , 1 = 1X count rate <BR> SM37.3 SM47.3 control the direction of the count by count bit = 0, 1 = count is <BR> SM37.4 SM47.4 to count into the HSC in the direction of 0 = no update, update = 1 count direction <BR> SM37.5 SM47.5 to the HSC into the preset value of 0 = do not update 1 Update = preset value <BR> SM37.6 SM47.6 write to the HSC in the current value of 0 = no update, update the current value of 1 = <BR> SM37.7 SM47.7 HSC allowed 0 = prohibit HSC, 1 = allow HSC </P><br/><P><BR> in the light of the above table, we have chosen to HSC1 high-speed counter, for the control of the word SMB47, now we have to start high-speed counter HSC1, by choice for the count, count to update the direction of re-setting the value of the current update: this is the case, HSC1 control of the high start-up : 11111000 into a band of 16 to F8, will start the counter when the current value stored in the SMD48, will be stored in place SMD52, specific procedures are as follows: <BR><BR><IMG alt=&nbsp;&nbsp;src="http://www.elec-intro.com/EX/article/20031121526350561.jpg" onload="javascript:if(this.width>580) this.width = 580 "border = 0></P><br/><P> Similarly, if the counter in the work of the state would like to stop the counter, it must change its control of the word, the HSC start the following specific procedures: <BR><BR><IMG alt=&nbsp;&nbsp;src="http://www.elec-intro.com/EX/article/20031121526838959.jpg" onload="javascript:if(this.width>580) this.width = 580 "border = 0><BR><BR> 3. PID control loop.<BR> Siemens S7-200 series PLC's quite simple PID control, through micro / win software, a program guide, in accordance with tips, step-by-step implementation of the requirements you can attribute the PID control, PID here to talk about the three The significance of the specific parameters: P gain for the item, P greater effect on the response to the rapid adjustment in the flow valve: Set for 50% of the traffic, when traffic is currently close to 50%, more than just that if the great value of P, Then the flow valve will be shut down immediately, rather than in the control of a region. This is caused by too much of the gain. In the process of adjustment should be first to adjust the value of P would be more appropriate, then I adjust the value of its points, in the loop controller to control the current value and set value equal to the scope of bias. D for the differential, the main role is to be avoided given the value of the differential effects caused by the transition.<BR> at the scene of the PID parameters of the adjustment process, for Siemens S7 PLC--200 my proposal is different in the control phase, a different group of PID parameters, specifically, when the current distance between the larger settings, consider using a larger P value PID parameters, if the current value Fast close to the range of settings, using a P value smaller PID parameters. <BR><BR><BR></TD></TR></TBODY></TABLE><br/><TABLE cellSpacing=0 cellPadding=0 width="98%" border=0><br/><TBODY><br/><TR><br/><TD> </TD></TR></TBODY></TABLE></P><br/>Tags - <a href="http://www.elec-intro.com/tags/siemens/" rel="tag">siemens</a> , <a href="http://www.elec-intro.com/tags/s7-200/" rel="tag">s7-200</a> , <a href="http://www.elec-intro.com/tags/application/" rel="tag">application</a>
]]>
</description>
</item>
</channel>
</rss>