惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Help Net Security
Help Net Security
G
Google Developers Blog
雷峰网
雷峰网
WordPress大学
WordPress大学
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Engineering at Meta
Engineering at Meta
Security Latest
Security Latest
T
Threat Research - Cisco Blogs
AWS News Blog
AWS News Blog
F
Full Disclosure
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Exploit Database - CXSecurity.com
J
Java Code Geeks
U
Unit 42
C
Cyber Attacks, Cyber Crime and Cyber Security
V
V2EX
C
Cisco Blogs
博客园 - 司徒正美
Project Zero
Project Zero
L
LINUX DO - 热门话题
阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
Scott Helme
Scott Helme
A
About on SuperTechFans
Hugging Face - Blog
Hugging Face - Blog
S
Securelist
小众软件
小众软件
aimingoo的专栏
aimingoo的专栏
S
Schneier on Security
G
GRAHAM CLULEY
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyberwarzone
Cyberwarzone
MongoDB | Blog
MongoDB | Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
T
Threatpost
Recorded Future
Recorded Future
C
CXSECURITY Database RSS Feed - CXSecurity.com
宝玉的分享
宝玉的分享
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
The Register - Security
The Register - Security
S
Security Archives - TechRepublic
博客园 - Franky
N
News | PayPal Newsroom
Simon Willison's Weblog
Simon Willison's Weblog
S
SegmentFault 最新的问题
W
WeLiveSecurity
A
Arctic Wolf
B
Blog

博客园 - WindowsCE

基于PXA270嵌入式系统的Windows CE引导程序设计 基于Intel PXA270的Windows CE5.0下Boot Loader实现 基于Intel PXA272的Bootloader的设计与实现 S3C2440 Windows CE的RTC模块驱动设计与实现 基于WINCE的CAN驱动的研究与实现 基于WinCE的I2C驱动程序设计 CE下基于Zylonite硬件平台的SD卡驱动开发 CE 6.0 - why the codename "Yamazaki" ? - WindowsCE 揭秘Windows Mobile 7系统新功能 WinCE下光电编码器的驱动程序设计 WinCE驱动编写小结 基于Windows CE的SPI驱动程序设计 CE6 OAL: What you need to know OEMInit()执行完后halted!!?? 2008来了。。 Having More Colors Is A Good Thing, Isn't It? Windows CE 6 Memory Architecture 抢鲜体验!WM6+Vista超强双系统智能王 Windows CE 6 Kernel Architecture
Debugging Without ActiveSync
WindowsCE · 2008-01-03 · via 博客园 - WindowsCE

Chris Tacke
OpenNETCF Consulting
March 2007 

摘自:http://community.opennetcf.com/articles/cf/archive/2007/08/31/debugging-without-activesync.aspx

Introduction

If you've tried to debug a native or managed application with Microsoft Visual Studio 2005 on any device other than a Windows Mobile device, you're likely very aware of how painful it can be to just get connected.  Typically it's a process requiring the proper alignment of planets, holding your tongue just right and often a visit to Stonehenge.

We hope that this short white paper  along with CeDbgSetup.exe will take a lot of the pain out of the process. 

Requirements and Assumptions

Before proceeding, make sure you have the following:

  • Visual Studio 2005, Standard Edition or better with Service Pack 1 (SP1) installed. If you don't have SP1, CeDbgSetup.exe will deploy the wrong CoreCon files for your environment and Studio will only laugh at you with a very unhelpful "Cannot Connect" message.
  • CeDbgSetup.exe. This is a free, shared source tool that we've written to do a lot of the grunt work on the device for you. As usual it's provided as-is and without warranty, but if you have a problem let us know.
    As of this writing CeDbgSetup.exe supports only ARMv4I and x86 devices. Sorry to you MIPS and SHx developers, but I don't have a device with one of those processors, so I can't build or test the tool for those architectures. If you have an SDK for one of them, let us know and we may be able to update the tool.
  • As of this writing we've only verified that this works with Studio running on Windows XP.
  • You probably should shut off or put an exception in firewalls and other security stuff that might interfere with the transport
  • We've tested with the PC and the device running 802.11 connections, so yes, this work wireless on either or both sides
  • You don't need ActiveSync. Need we say more?

Configure the device

  1. First make sure the device has a valid IP address. Record the IP for future use.
    Using a fixed IP, especially on networks where the DHCP lease is short and addresses change frequently. If the device IP address changes, this entire process must be done again.
  2. Deploy and Run CeDbgSetup.exe on the device. This application is provided for free from OpenNETCF Consulting. If your device has a mechanism to persist the file and auto-launch it on boot, then we recommend that you do so to make things simple.
    When successfully run, shortcuts will be added to the device desktop. In normal operation you should not actually need to use these shortcuts.

Configure the PC

1. Verify you can ping the device the ensure that there is a solid communication channel.

Configure Visual Studio

  1. Enable the Device toolbar by right-clicking on Studio's toolbar and checking ‘Device'
    Figure 1
  2. Select your target device. In this example we'll choose the iCOP eBox 2300, which is running CE 6.0. You'll see that I've got several other devices to choose from.
    Figure 2
  3. Open the Devices option window by either clicking the ‘Device Options' button on the Device toolbar or using the following menu path Tools->Options->Device Tools->Options.
    Figure 3
  4. Select your platform from the "Show devices for Platform" dropdown.
  5. In the "Devices" list, select your target device. At thins point it may be useful to rename the device. You can also "clone" any device by clicking "Save As" which can be helpful if you want to have different transports or IP addresses for the same type of target device.
  6. Select your device in the "Devices" list and click "Properties"
    Figure 4
  7. Click on the "Configure" button
    Figure 5
  8. Select the "Use specific IP address" radio button and enter device's IP address you recorded way back at the start of this process.
  9. Click the "OK" button on all 3 dialogs to bring you back to Studio.
  10. Click the "Connect to Device" button on the Device toolbar
    Figure 6
    You should see the following:

Figure 7

At this point Visual Studio can communicate with the device and you're ready to develop.