Modify the debug serial port of smdk6410 to normal serial port (wince System)

Source: Internet
Author: User
Tags alicloud

Environment:Alicloud ok6410a Development Board, Windows ce6.0 System

Recently, GPRS communication has been implemented, but the GPRS module (q2403a) on hand is a five-line serial port (rxd, txd, Gnd, RCS, CTS), and the boss is reluctant to buy new modules. Therefore, you need to change the debug serial port COM1 to a common serial port (this is also the 5-line serial port on the flying Development Board ). I found some information on the Internet and asked my younger brother to perform the test. I found that the existing information on the Internet could not be modified successfully. After several days of efforts, he gave the correct modification method. Next we will share this modification method, hoping to help the same person who has the same requirements.For reference only!

Step 1:

ModifySmdk6410.batFile, Location: C: \ wince600 \ platform \ smdk6410 \ smdk6410.bat

Set:

Set bsp_noserial =

Set bsp_nouart0 = 1

Set bsp_nouart1 =

Set bsp_nouart2 =

Set bsp_nouart3 =

Set bsp_noirda2 = 1

Set bsp_noirda3 = 1

......

Setbsp_debugport = serial_uart0

@ REM set bsp_debugport = serial_uart1

@ REM set bsp_debugport = serial_uart2

@ REM set bsp_debugport = serial_uart3

To:

Set bsp_noserial =

Set bsp_nouart0 =

Set bsp_nouart1 =

Set bsp_nouart2 =

Set bsp_nouart3 =

Set bsp_noirda2 = 1

Set bsp_noirda3 = 1

......

@ REM set bsp_debugport = serial_uart0

@ REM set bsp_debugport = serial_uart1

@ REM set bsp_debugport = serial_uart2

@ REM set bsp_debugport = serial_uart3

Step 2:

SetSer_smdk6410.cppMediumSetdtrOfFunction content and its called locationComment out all. Location: C: \ wince600 \ platform \ smdk6410 \ SRC \ drivers \ serial

Step 3:

SetDebug. cFileOemwritedebugbyte function contentComment out, its location:

Step 4:

Recompile and generate the image.

The above is our modification method, which is currently running well.For reference only!

Environment:Alicloud ok6410a Development Board, Windows ce6.0 System

Recently, GPRS communication has been implemented, but the GPRS module (q2403a) on hand is a five-line serial port (rxd, txd, Gnd, RCS, CTS), and the boss is reluctant to buy new modules. Therefore, you need to change the debug serial port COM1 to a common serial port (this is also the 5-line serial port on the flying Development Board ). I found some information on the Internet and asked my younger brother to perform the test. I found that the existing information on the Internet could not be modified successfully. After several days of efforts, he gave the correct modification method. Next we will share this modification method, hoping to help the same person who has the same requirements.For reference only!

Step 1:

ModifySmdk6410.batFile, Location: C: \ wince600 \ platform \ smdk6410 \ smdk6410.bat

Set:

Set bsp_noserial =

Set bsp_nouart0 = 1

Set bsp_nouart1 =

Set bsp_nouart2 =

Set bsp_nouart3 =

Set bsp_noirda2 = 1

Set bsp_noirda3 = 1

......

Setbsp_debugport = serial_uart0

@ REM set bsp_debugport = serial_uart1

@ REM set bsp_debugport = serial_uart2

@ REM set bsp_debugport = serial_uart3

To:

Set bsp_noserial =

Set bsp_nouart0 =

Set bsp_nouart1 =

Set bsp_nouart2 =

Set bsp_nouart3 =

Set bsp_noirda2 = 1

Set bsp_noirda3 = 1

......

@ REM set bsp_debugport = serial_uart0

@ REM set bsp_debugport = serial_uart1

@ REM set bsp_debugport = serial_uart2

@ REM set bsp_debugport = serial_uart3

Step 2:

SetSer_smdk6410.cppMediumSetdtrOfFunction content and its called locationComment out all. Location: C: \ wince600 \ platform \ smdk6410 \ SRC \ drivers \ serial

Step 3:

SetDebug. cFileOemwritedebugbyte function contentComment out, its location:

Step 4:

Recompile and generate the image.

The above is our modification method, which is currently running well.For reference only!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.