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
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
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.
Hello,
What is the error you have? Have you tried a mass erase with CW flash programmer?
Regards,
Luis
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
Hello,
You can also enable log in the connection to know more about what is happening.
Luis