Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 8 months ago.
?Minimalist KL25z board?
Need to form a minimalist working KL25z that has just the uC + Crystal + 2 ,22pf caps and a resistor something like the PIC's and AVR's work on, schematics to the same outcome our welcome! or perhaps some straightforward guidance.
I would like to get the KL25 chip on a LPFP breakout board and then implement external crystal and caps.
ANother thing which is the biggest is tensing me that HOW WOULD THEN I GET THE BINARY ON TO THE CHIP? similar to this procedure defined here >> https://mbed.org/users/chris/notebook/prototype-to-hardware/ ??
2 Answers
11 years, 8 months ago.
Looking at the circuit diagram, of the KL25 Board,
it should be possable to cut J11, and remove R5 & R6
allowing you to piggy back the programmer/JTAG
Although I have not realy looked into this board,
just got the LED to flash.
But if any one has more info then Please share :)
Cheers
Ceri
11 years, 8 months ago.
"allowing you to piggy back the programmer/JTAG"
Is it having USB programming bootloader? like the LPC 11u24?
I think then I'll need to get a PE multilink programmer in this case OR to cut the lines on the UC or see if the UART programming pins are accessible from the header and then connect a fresh board to it and programme what you say?
posted by 08 Apr 2013there does appear to be a lack of information,
but I guess, if you cut J11, and then use 10 pin connector;
http://cache.freescale.com/files/32bit/doc/user_guide/OPENSDAUG.pdf?fpsp=1
In the FRDM-KL25Z User's Manual (Rev. 1.0)
The following is written: 5.2.1 Debug Interface Signals with SPI and GPIO capability are used to connect directly to the SWD of the KL25Z. These signals are also brought out to a standard 10-pin (0.05”) Cortex Debug connector (J6). It is possible to isolate the KL25Z MCU from the OpenSDA circuit and use J6 to connect to an off-board MCU. To FRDMKL25ZUM FRDM-KL25Z User's Manual Page 8 of 14 accomplish this, cut the trace on the bottom side of the PCB that connects J11 pin 1 to J11 pin 2. This will disconnect the SWD_CLK pin to the KL25Z so that it will not interfere with the communications to an off-board MCU connected to J6. Figure 5. SWD Debug Connector Note that J6 is not-populated by default. A Samtec FTSH-105-02-F-D or compatible connector can be added to the J6 through-hole connector. A mating cable, such as a Samtec FFSD IDC cable, can then be used to connect from the OpenSDA of the FRDM-KL25Z to an off-board SWD connector. 5.2.2 Virtual Serial Port A serial port connection is available between the OpenSDA MCU and pins PTA1 and PTA2 of the KL25Z. Several of the default OpenSDA Applications provided by Freescale, including the MSD Flash Programmer and the P&E Debug Application, provide a USB Communications Device Class (CDC) interface that bridges serial communications between the USB host and this serial interface on the KL25Z. 5.3 KL25Z Microcontroller The target microcontroller of the FRDM-KL25Z is the KL25Z128VLK4, a Kinetis L series device in an 80 LQFP package. The KL25Z MCU features include: 32-bit ARM Cortex-M0+ core - up to 48 MHz operation - Single-cycle fast I/O access port Memories - 128 KB flash - 16 KB SRAM System integration - Power management and mode controllers - Low-leakage wakeup unit - Bit manipulation engine for read-modify-write peripheral operations - Direct memory access (DMA) controller - Computer operating properly (COP) Watchdog timer Clocks - Clock generation module with FLL and PLL for system and CPU clock generation
This means J6 is the 10 pin JTAG that will let me programme the offline MCU, So now IT finally boils down to get a minimalistic circuit so, for this minimum circuit I think a 8MHz cyrstal (FRDM-KL25Z is clocked from an 8 MHz crystal. )with 18pf/22pf caps connected from the Crystal pins to GnD and a reset resistor along with a voltage regulator will work?
posted by 08 Apr 2013