Dear friends,
we need help with our first KL25Z128 custom board, we are unable to program using the "PE Multilink Universal". For the CPU, we have based our design in the FRDM-KL25Z (see attached sch, please). We can program the FRDM-KL25Z using the Multilink (J6 header) but not our board. Any help will be appreciated.
As difference, note:
- we don't have mounted external clock
- reset pin, 0.1 uF instead (also tested with1 uF)
The progammer have the following lines connected, as the FRDM-KL25Z:
- VCC
- GND
- SWD_DIO_TGTMCU
- RST_TGTMCU
- SWD_CLK_TGTMCU
Thank you,
Juan A Luna
More info:
When I plug the Multilink to my board (that have only the mcu and power) the voltage to Reset pin goes low permanently.
Regards,
Juan A
I'm using a custom connector, the same that have worked fine with the FRDM board.
5 lines: TVCC, GND, /RESET, TMS and TCK (names in Port G)
Thank you
Dear all,
We have received a new PE Multilink Universal. Now we can program the FRDM-KL25Z but only if the jumper J11 is joined!!! We have verified that we cannot program FRDM-KL25Z if we remove the jumper (the track has been cutted in bottom). So the question is how to translate this programing scenario to our custom board (that of course, don't have opensda) ?
Ok, I have checked the sch, is normal!
But we still unable to program our custom board.
Any help will be appreciated. Must be a hadware issue.
Regards,
Juan A
Hi Juan,
J11 is explained in the FRDM board User Manual:
http://cache.freescale.com/files/32bit/doc/user_guide/FRDMKL25ZUM.zip?fpsp=1
5.2.1 Debug Interface
For your custom hardware, you only have to ignore the openSDA circuit. Implement the figure 5 of the FRDM UM, connecting PIN 4 to SWD_CLK, PIN 2 to SWD_DIO and pin 10 to RESET.
Best Regards,
Luis
Hi again,
Yes, As Jim said, if you are using 6 pin connector, just change the same lines to the right pins.
Luis
Yes, we have based on it. Please, check sch on first post.
Thank you
Your first post shows a 6-pin connector instead of the 10 pin one, so it is not possible for anyone but you to know it is correct.
You, of course did not connect pin 10 to RESET since a 6 pin connector does not have this pin.
Since you seem to have used the 6-pin connector (port c) instead of the 10 pin (port g) (the one Kenitis) , perhaps that is why you can not connect to your board?
I'm using Port G.
Thank you.
Hello,
What is the error you have? Have you tried a mass erase with CW flash programmer?
Regards,
Luis
The error is
Description:
Error launching Project_FLASH_PnE U-MultiLink, ARM GDI Protocol Adapter : Can't connect. The Debugger can not connect to the P&E device
Regards,
Juan A.
Hi,
That problem is not related with your custom board. You can not connect with debugger, not with target.
Ok, Try the following. Use any project working in the FRDM board and verify that you can debug in FRDM. Then, switch to your custom hardware and connect debugger and power the custom hardware.
Force mass erase on connection:
Luis
Yes, I think you are right. I cannot connect to FRDM board...
Added: Using the "Open SDA" in FRDM the error is the same. It seems a CW 10.3 problem.
Juan A
Hi Juan,
Did you install P&E driver? You can found it here (hyperlink.).
Edit: sorry I have seen now that it works with freedom.
Antonio
Hi Antonio,
thanks for your message, yes I have installed it. But I think the problem is the Multilink itself. I have ordered a new one for test again.
Regards,
Juan A
Ok, keep us updated.
Antonio
Dear Luis,
the problem is (not textual) "unable to connect to target". I don't have tried a "CW flash programmer", where can we find it?
We use CW 10.3
Regards,
Juan A. Luna
Hello,
You can also enable log in the connection to know more about what is happening.
Luis
Hello Luis,
thanks for your help!
I'm in the task to apply your suggestion. But I get attached error when trying to run the task.
Regards,
Juan A.