6 responses to “Programming the FRDM-KL25Z board with a bare-metal project”

  1. felipe manrique

    Hi Karibe thks by this tutorial, I´ve just an observation in the line:

    Edit Makefile, replace first line by: GCCBIN = /usr/bin

    In fact I think the rigth replacing is by: /usr/bin/

    Is a small detail 🙂

    thanks again

    felipe

  2. felipe manrique

    Hi again!
    I try to download the .srec file conecting my freedom board by the sda port, at first ubuntu don´t auto-mount the device because it´s FAT partition, so I mount it using i.e.:

    $ sudo mount -t vfat /dev/sdb /media/fre

    them in order to copy the file I write:

    $ sudo cp demo.srec /media/fre/

    and then:

    $ sudo umount

    unconnect the board from sda port and connect in the kl25z port.
    and open the gtkterm
    but first:

    $ sudo chmod 777 /dev/ttyACM0

    $ gtkterm

    when the speed and the port are correctly configured, this message is showed:

    tsi %= 000

    🙁

    When the sda port us unplugged, apparently the file is deleted because when the device is mounted again the file isn´t not appear.

    What I doing wrong?
    Thks

    Felipe

  3. Daniel

    Hello,

    thanks for the nice tutorial!
    I copied the CMSIS_DAP_OpenSDA.s19 file to the bootloader using windows as described.
    However when connecting the board (without the button pressed) to my Linux-PC running Ubuntu 12.04 it does not get recognized as a storage device.
    So when I type “ls /dev/sd*” it does only show my SSD+HDD.

    And of cause that makes copying programs to the board impossible.

    Do you have an idea what could be wrong?

    Thanks,
    Daniel

Leave a Reply