Good afternoon, ladies and gentlemen,
I bought the TWR-KM34Z75M and try to realize a single phase energy measurement with it.
My IDE is IAR EW (Version 8.40.2)
The program for visualization is FreeMASTER 3.0.
On the page www.nxp.com I found example programs for this topic. Among other things there is also an example for a single phase energy measurement given.
The archive file is deposited in the appendix.
In the folder for One Phase Energy Measurement there is a "readme.pft" file with explanations for the settings of both programs (IAR EW and FreeMASTER). Since the program code already exists, I assume that no more changes are necessary.
There is also a project for FreeMASTER.
The FreeMASTER setup instruction requires the communication interface to be configured. I can do this so far.
When pressing the button "Test Connection" the following is shown.
The menu dadrüber looks like this, and looks mostly like in "readme.pdf" file. When pressing the "Test Connection" button the following message appears.
When trying to scan the address again, the following message appears.
Communication with the project cannot be established and the visualization does not work.
Can someone give me a hint to solve the problem?
Thank you in advance.
Solved! Go to Solution.
I removed and reinstalled the sample library. After that the communication worked.
It also works with version 3.0
What exactly it was I cannot find out.
I have just tried with FreeMASTER 3.0 and I was able to connect to the board too. Martin's animation is correct. Here are some detailed screenshots to get PDBDM set up:
In project Options, select the Packet Driven BDM Communication Plug-in. Press Configure button.
As TWR-KM34 board has P&E Micro OpenSDA interface as a factory setting, select the BDM Communication Plug-in (this covers all P&E Micro modules). Press Configure.
Select CortexM and OpenSDA conneciton:
Pressing Test Connection should print sane data retrieved from CPU core over JTAG/BDM:
Press OK to return to PDBDM settings. Now you need to find an address of the PDBDM buffer. Select 0x1FFFE000 as Low Limit and search for the buffer.
The buffer should be located:
Pressing the Test Connection should probe the board and return successfully:
The board is now connected and FreeMASTER should be able to communicate.