Serial debugging FEZ Panda II

Hi,

I have a FEZ Panda II device I would like to debug using a serial connection, instead of USB.

This is the current setup.

The FTDI Friend is recognized as a virtual serial port (COM7) in Windows, and seems to be working correctly.

In Visual Studio 2010 i changed the deployment transport to Serial, and selected COM7 as device.

When deploying it shows the following error: Error 1, Unable to communicate with device - Serial:COM7.

I tried running the MFDeploy.exe tool, but it can not ping the device. Pinging… Error: No response from device

If I start Tera Term, and connect to COM7 using 1152000, 8, N, 1 and reset the Panda - it receives a lot of data:

Debug: COM1
LCD: 0x0
IP: 0.0.0.0
MAC: 00.00.00.00.00.00
Managed heap size: 64412
Custom heap size: 0
.NetMF v4.1.2821.0
USBizi, Build Date:
        Dec 22 2011 16:30:33
ARM Compiler version 410561

TinyCLR (Build 4.1.2821.0)

Starting...
Created EE.
Started Hardware.
MSdbgV1??k
1Ë_MSdbgV1ÊP1Ë_MSdbgV1??p1Ë_MSdbgV1Þ°1Ë_MSdbgV1ØùF1Ë_MSdbgV1ÒÜ]1Ë_MSdbgV1Ô?«1Ë_MSdbgV1öÜ51
Ë_MSdbgV1ðm*21MË_MSdbgV1úH1:1M
                             Ë_MSdbgV1ü«Ç=1M
                                           Ë_MSdbgV1î*1M
Ë_MSdbgV1âÄê%1Ë_MSdbgV1ä'"1Ë_MSdbgV1¦¦u1Ë_MSdbgV1 Eór1Ë_MSdbgV1ª`èz1Ë_MSdbgV1¬}1Ë_No debugger!
Create TS.
 Loading start at 4eb34, end 56d0c
Attaching file.
Assembly: mscorlib (4.1.2821.0) (3880 RAM - 33236 ROM - 19134 METADATA)

   AssemblyRef    =        0 bytes (       0 elements)
   TypeRef        =        0 bytes (       0 elements)
   FieldRef       =        0 bytes (       0 elements)
   MethodRef      =        0 bytes (       0 elements)
   TypeDef        =     1112 bytes (     139 elements)
   FieldDef       =      272 bytes (     135 elements)
   MethodDef      =     1572 bytes (     786 elements)

   Attributes      =        0 bytes (       0 elements)
   TypeSpec        =       16 bytes (       4 elements)
   Resources       =      232 bytes (      29 elements)
   Resources Files =       16 bytes (       2 elements)
   Resources Data  =      437 bytes
   Strings         =     1551 bytes
   Signatures      =     2126 bytes
   ByteCode        =    11702 bytes


(Removed assembly meta data)

Ready.
  • Am I doing something wrong? The device seems to be configured for serial debugging, but I can not deploy to it.

Edit: Added blurry image of setup.

All look correct and we have done deploying with FTDI chips before.

I’m a stupid man’s idiot… The pins from the FTDI was not connected correctly - only the TX pin was correctly connected, so it was able to send, but not receive.

We all have been there, patience my friend…