FreeMaster : Unable to establish Serial Connection Error : 0x80004005

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FreeMaster : Unable to establish Serial Connection Error : 0x80004005

1,493 Views
satish_k_singh
Contributor III

Hello , 

I am currently using the S32K148EVB-Q176 evaluation board, and am trying to setup the serial communication.

and have the below error while using the default configuration.

pastedImage_1.pngpastedImage_2.png

So could you please let know how to set the required configuration.

The below is the SDA info

<html>
<head>
<title>OpenSDA Hardware</title>
<script>
function send_data() {document.forms[0].submit();}
window.onload = function(){send_data();}
</script>
</head>
<body>
<form id="form1" name="form1" method="post" action="http://www.pemicro.com/opensda/index.cfm">
<input name="tag" type="hidden" id="tag" value="description" />
<input name="BOARD" type="hidden" id="BOARD" value="S32K148EVB-Q144" />
<input name="BOOTVER" type="hidden" id="BOOTVER" value="1.13" />
<input name="APPVER" type="hidden" id="APPVER" value="1.21" />
<input name="DUID" type="hidden" id="DUID" value="12933938-0FC481BD-374CA81B-D259E678" />
<input name="EUID" type="hidden" id="EUID" value="0C11A239-9DA6874F-184BCA08-F86268D6" />
<input name="TUID" type="hidden" id="TUID" value="74823938-47328196-8568E008-F24A984A" />
<!--476-->
<input name="TOA" type="hidden" id="TOA" value="86B6E505-CDF9FB16-8E4DA2CA-C28EF0D3" />
<input name="TOA2" type="hidden" id="TOA2" value="86B6E505-C29744A5-7F679E62-5743B642" />
<input name="SUID" type="hidden" id="SUID" value="86B6E505-5BC18987-37239804-8003EC65" />
<input name="MICROVER" type="hidden" id="MICROVER" value="1.08" />
<input name="APPNAME" type="hidden" id="APPNAME" value="PEMicro S32K148EVB-Q144 Mass Storage/Debug App" />
</form></body></html>
<!--470-->

Labels (1)
0 Kudos
1 Reply

1,264 Views
stanish
NXP Employee
NXP Employee

Hi Satish,

I'd recommend you to start with an example project based on SDK (menu File -> New -> S32DS Project from Example)

pastedImage_1.png

Build the imported example and start the debug session.

When you are in the debug session click on Run/Resume button.

Open FreeMASTER project (freemaster_s32k148.pmp)

pastedImage_4.png

Before starting FreeMASTER communication please make sure that the OpenSDA COM port is available in the system manager:

pastedImage_3.png

You can directly set the com port and speed  in FreeMASTER menu Project -> Options  so it matches with the setup running on the target board:

(FreeMASTER SDK example project has speed 115200 baud):

pastedImage_2.png

Now you should be able to detect the board and visualize the variables.

pastedImage_1.png

The message "Could not open the communication port" typically indicates the selected com port does not exist or it is been used by a different application.

Hope it helps.

Stan

0 Kudos