I had a little time away from work and social life to hack together a custom test PCB circuit for the 32 pin kl24z QFN chip. This is just a board to expose the pins and provide SWD programming interface as well as provide 3.3v power. I have some separate power supply circuit drawing power from a computer USB and giving 3.3v output, although the debugger is also powering it during programming and debug. At the moment am still struggling to program this using the freedom board, or perhaps i will have to use some other method, like get a jtag and a flashing tool.
- Get the USB, UART and SPI working
- Get analog interfaces working(ADC/DAC)
- Implement an LCD interface + realtime clock on rev2
- Call it a switch to ARM based micros
- Pass on my skills to the Btech class(Review syllabus 🙂 )
- Celebrate progress!!
16 Jan, 2014: This board couldnt work, I did a simpler revision and got openocd configuration working, it is so close to the kl25z in FRDM-KL25Z board. They even have the same “cputapid”, I guess it is constant within the MCU families.
17 Jan, 2014: I was able to get a stable connection through openocd and use eclipse with processor expert to toggle an LED. I managed to configure and test an external crystal of 8mhz by tweaking some clock entries of the Processor expert ‘processor’ component properties. I have to say, It is a joy to use this set up and reuse the components. The only limitation so far is only 2 hardware breakpoints. It will be totally worth it to have software breakpoints added somehow onto this set. Oh if horses were wishes… 🙂