Does anyone know a tutoriale related to how to use freemaster remote server?
Anyone knows how to config a remote monitoring by freemaster?
If you want to set up Remote Server, please look at the example.
I hope it helps.
Hi Iva, you say It can use only port 80 but why in http tab It can set the port number?I tryed to put 808 port number then from another PC I opened a broswer to http://myHost:808 and I got something correct but trying to connect from freemaster "client" I did not get anything.
ANYWAY, I tried by DCOM and it works but only from localhost.
Could you send me screenshot how to config permission by DCOMCNFG utility?
Thank you very much.
Ps: Where country do you respond from,.... I'm curios
PS: We answer from around the world :-)
Hi Iva, I got a partial result. Building a http link I forgot to put "Assigned identifier string" , I only put ip address:8080 but not mbed,....Ok now it works.....BUT..in your tutorial you choose "http" in "Communication Plugin" in Remote Server; actually it is wrong because in that filed I put a BDM Communication plugin because I have the physical target attached.
Anyway, the DCOM connection does not work yet. Do you say it is necessary to specify a port number? Did you try using two different computer? I get always "access denied".
Thank you anywhere you are ;-)
Hi Stefano. Yes, the tutorial shows type of connection RS232 so if you have BDM, you may to set BDM Communication. If you set the DCOM, it is specify without the port number, just ip address.
If you would like to set DCOM it is for 1 user, so you must add the access. Please look at the exact procedure PRB: Access Denied When You Try to Start DCOM Server
Hi Iva, It did not work but for now I can use http connection. I'm not so expert of window's operating systems. May be something is blocking the link; if one day anyone creates a tutorial for freemaster remote server using a dcom connenction between two differents hosts let me know.
Hi Stefano. That is ok. Never mind. I will create it as soon as possible. Iva
Hi Iva, do you know if it is possible to watch the value of the microcontroller registers in real time? For example, can I see LPTMR0_CNR? I put the address 0x4000000C but I does not work. May be I'm forgetting something?
yes, you can watch the variables in real time. If you have a problem, you can have problem with safety.
Please, go to the freemaster_cfg.h in your project and look at the value of safety.
#define FMSTR_USE_TSA_SAFETY 0 /* enable access to TSA variables only */
If you have 0, you can read variables, if you have 1, you cannot.
For more information about TSA Safety, please go to the documentation on C:\Freescale\FreeMASTER_Serial_Communication_Driver_V1.8.1\doc FMSTRSCIDRVUG.pdf.
But must I write a peace of code in the main firmware?
I meant to debug all firmwares only knowing the .elf file.
I don't understand well.
FMSTR_Init and FMSTR_Poll are only 2 functions, which you must put in main function.
If you want to find out variable addresses in Freemaster, you can use .elf file or define TSA table.
Hi Iva, by .elf file you only see program variables no registers value.
TSA table must be implemented in the program , isn't it? So it must be foreseen.
Yes, for watching TSA
The TSA table describes the static or global variables, together with their address, size, type, and access-protection information.
The TSA table definition begins with FMSTR_TSA_TABLE_BEGIN macro:
(more in documentation FreeMASTER Serial Communication Driver User Guide 2014, 3.4.1TSA Table Definition)
I hope it helps,
I created the manual for DCOM and HTTP connection.
Please follow this link https://community.freescale.com/docs/DOC-103293
I hope it helps.
Write me if you have any question.
Thank you very much
Retrieving data ...