Hi,

I am trying to bring up debugger with EDK2 DuetPkgx64. My setup works well for 
Windows 7 debugging which means my serial cable and ports works fine.

I followed UDK-Debugger-Tool-User-Manual-SR1-v1-91_0.pdf and am using same 
Windbg mentioned in doc.

I have attached my dsc file and fdf files. After UEFI shell comes up i see that 
sermode command says no serial port available.
DebugAgentDxe.efi gets built and once i load that module, i see that 
softdebugger and telnet connected to this shows some activity and it says 
"break packet and try to connect the 
HOST<https://www.google.co.in/search?q=break+packet+and+try+to+connect+the+HOST&oq=break+packet+and+try+to+connect+the+HOST&aqs=chrome..69i57.799j0j4&sourceid=chrome&es_sm=122&ie=UTF-8#q=m_WaitingAckForReset+is+0+when+INIT_BREAK>",
 a frame is sent
and after this, receive times out.


If i try to break from windbg it says halt() returning - failed (80000013) 
<https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&es_th=1&ie=UTF-8#q=softdebugger%20halt()%20returning%20-%20failed%20(80000013)>
 .
i used mm command in uefi shell and i saw that what ever i write to 0x3F8 (com 
port 1 base address) gets echoed to telnet port.
I tried changing PcAtChipsetPkg\Library\SerialIoLib\SerialPortLib.c serial 
parameters in this but it didn't help, increased READ_PACKET_TIMEOUT to 5 sec 
in SourceLevelDebugPkg\Library\DebugAgent\DebugAgentCommon\DebugAgent.h but 
nothing worked for me.

Any help would be great on this.

Another question in this is, intel softdebugger doc explains that "console 
device created by debug agent isn't added to console input/out device list by 
default" it doesn't explain how to do that in detail.
It mentions change the setting through front page UI. Where do we get that? how 
to launch it? i tried searching for it but couldn't find where it is.

Thanks in advance.
Regards,
Sushil



Member of the CSR plc group of companies. CSR plc registered in England and 
Wales, registered number 4187346, registered office Churchill House, Cambridge 
Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Keep up to date with CSR on our 
technical blog, www.csr.com/blog, CSR people blog, www.csr.com/people, YouTube, 
www.youtube.com/user/CSRplc, Facebook, 
www.facebook.com/pages/CSR/191038434253534, or follow us on Twitter at 
www.twitter.com/CSR_plc.
New for 2014, you can now access the wide range of products powered by aptX at 
www.aptx.com.

Attachment: DuetPkgX64.dsc
Description: DuetPkgX64.dsc

Attachment: DuetPkg.fdf
Description: DuetPkg.fdf

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to