<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using KDS on Linux Debian in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-KDS-on-Linux-Debian/m-p/480666#M5461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having trouble using KDS on a Linux machine (Debian distribution).&lt;/P&gt;&lt;P&gt;I am a bit puzzled with this experience, I am quite experienced with Eclipse as I use it in my job.&lt;/P&gt;&lt;P&gt;I want to use KDS for personnal usage, but I also use it as an evaluation for my job, and well, I am not impressed.&lt;/P&gt;&lt;P&gt;The initial feedback is very negative as I have lost already plenty of time trying to setup the environment.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My board is a FRDM-KL46Z&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The KDS deb package is installed, I am able to launch studio.&lt;/P&gt;&lt;P&gt;I downloaded&lt;/P&gt;&lt;P&gt;Installer: Kinetis Design Studio installer for Linux 64-bit DEB 3.0.0&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After troubles in finding the appropriate tuto, I eventually was able to find how to setup Kinetis in order to be able to setup a board archive where I was able to load one of the project.&lt;/P&gt;&lt;P&gt;Of course it did not compile immediately...&lt;/P&gt;&lt;P&gt;I had to install arm-none-eabi-gcc myself. It is not explained you have to do it...&lt;/P&gt;&lt;P&gt;I solved the problems of missing libraries as well.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now I have a compiled and linked image... Wow, This was the 3rd evening spent on this. I am not at the 5th ...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now trying to run debug configuration.&lt;/P&gt;&lt;P&gt;The 4th evening was spent trying using openOCD on CMSIS-DAP but I realized that the bootloader did not enumerate such interface although this is what is documented.&lt;/P&gt;&lt;P&gt;I downloaded an more recent bootloader which still does not enumerate CMSIS-DAP and figured out I should be using openSDA, although I am not sure.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After reading "Writing my first KSDK Application in KDS - Appendix C"&lt;/P&gt;&lt;P&gt;as well as reading &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Ffiles%2F32bit%2Fdoc%2Fuser_guide%2FOPENSDAUG.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/files/32bit/doc/user_guide/OPENSDAUG.pdf&lt;/A&gt; (well I don't read all, I just want to do an evaluation)&lt;/P&gt;&lt;P&gt;I downloaded &amp;amp; ran a setup from P&amp;amp;E website, which apparently setups the udev rules even if it is not explicitly said. This still does not solve my problem&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder whether I am missing anything, anyway,&lt;/P&gt;&lt;P&gt;I am tired to try and unless anyone providesd me clear explanations on what's going-on I will buy an evaluation board from a different company.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to provide a better status but this is so messy that I don't remember all the links I have been to, and what exactly I did at the end.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the enumeration I get in the console with dmesg.&lt;/P&gt;&lt;P&gt;I am able to get the&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ 2914.710235] usb 2-1.1: new full-speed USB device number 9 using ehci-pci&lt;/P&gt;&lt;P&gt;[ 2914.804649] usb 2-1.1: New USB device found, idVendor=1357, idProduct=0707&lt;/P&gt;&lt;P&gt;[ 2914.804655] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0&lt;/P&gt;&lt;P&gt;[ 2914.804657] usb 2-1.1: Product: PEMicro/Freescale - CDC Serial Port&lt;/P&gt;&lt;P&gt;[ 2914.804659] usb 2-1.1: Manufacturer: P&amp;amp;E Microcomputer Systems Inc.&lt;/P&gt;&lt;P&gt;[ 2914.805243] cdc_acm 2-1.1:1.0: This device cannot do calls on its own. It is not a modem.&lt;/P&gt;&lt;P&gt;[ 2914.805264] cdc_acm 2-1.1:1.0: ttyACM0: USB ACM device&lt;/P&gt;&lt;P&gt;[ 2914.805708] usb-storage 2-1.1:1.2: USB Mass Storage device detected&lt;/P&gt;&lt;P&gt;[ 2914.806666] scsi11 : usb-storage 2-1.1:1.2&lt;/P&gt;&lt;P&gt;[ 2915.806283] scsi 11:0:0:0: Direct-Access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FSL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FSL/PEMICRO MSD&amp;nbsp; 0001 PQ: 0 ANSI: 4&lt;/P&gt;&lt;P&gt;[ 2915.806644] sd 11:0:0:0: Attached scsi generic sg2 type 0&lt;/P&gt;&lt;P&gt;[ 2915.807402] sd 11:0:0:0: [sdb] 1983999 512-byte logical blocks: (1.01 GB/968 MiB)&lt;/P&gt;&lt;P&gt;[ 2915.808489] sd 11:0:0:0: [sdb] Write Protect is off&lt;/P&gt;&lt;P&gt;[ 2915.808492] sd 11:0:0:0: [sdb] Mode Sense: 00 00 00 00&lt;/P&gt;&lt;P&gt;[ 2915.809109] sd 11:0:0:0: [sdb] Asking for cache data failed&lt;/P&gt;&lt;P&gt;[ 2915.809114] sd 11:0:0:0: [sdb] Assuming drive cache: write through&lt;/P&gt;&lt;P&gt;[ 2915.824244]&amp;nbsp; sdb:&lt;/P&gt;&lt;P&gt;[ 2915.827334] sd 11:0:0:0: [sdb] Attached SCSI removable disk&lt;/P&gt;&lt;P&gt;[ 2917.445005] FAT-fs (sdb): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2016 22:39:52 GMT</pubDate>
    <dc:creator>ludovictancerel</dc:creator>
    <dc:date>2016-02-01T22:39:52Z</dc:date>
    <item>
      <title>Using KDS on Linux Debian</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-KDS-on-Linux-Debian/m-p/480666#M5461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having trouble using KDS on a Linux machine (Debian distribution).&lt;/P&gt;&lt;P&gt;I am a bit puzzled with this experience, I am quite experienced with Eclipse as I use it in my job.&lt;/P&gt;&lt;P&gt;I want to use KDS for personnal usage, but I also use it as an evaluation for my job, and well, I am not impressed.&lt;/P&gt;&lt;P&gt;The initial feedback is very negative as I have lost already plenty of time trying to setup the environment.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My board is a FRDM-KL46Z&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The KDS deb package is installed, I am able to launch studio.&lt;/P&gt;&lt;P&gt;I downloaded&lt;/P&gt;&lt;P&gt;Installer: Kinetis Design Studio installer for Linux 64-bit DEB 3.0.0&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After troubles in finding the appropriate tuto, I eventually was able to find how to setup Kinetis in order to be able to setup a board archive where I was able to load one of the project.&lt;/P&gt;&lt;P&gt;Of course it did not compile immediately...&lt;/P&gt;&lt;P&gt;I had to install arm-none-eabi-gcc myself. It is not explained you have to do it...&lt;/P&gt;&lt;P&gt;I solved the problems of missing libraries as well.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now I have a compiled and linked image... Wow, This was the 3rd evening spent on this. I am not at the 5th ...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now trying to run debug configuration.&lt;/P&gt;&lt;P&gt;The 4th evening was spent trying using openOCD on CMSIS-DAP but I realized that the bootloader did not enumerate such interface although this is what is documented.&lt;/P&gt;&lt;P&gt;I downloaded an more recent bootloader which still does not enumerate CMSIS-DAP and figured out I should be using openSDA, although I am not sure.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After reading "Writing my first KSDK Application in KDS - Appendix C"&lt;/P&gt;&lt;P&gt;as well as reading &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Ffiles%2F32bit%2Fdoc%2Fuser_guide%2FOPENSDAUG.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/files/32bit/doc/user_guide/OPENSDAUG.pdf&lt;/A&gt; (well I don't read all, I just want to do an evaluation)&lt;/P&gt;&lt;P&gt;I downloaded &amp;amp; ran a setup from P&amp;amp;E website, which apparently setups the udev rules even if it is not explicitly said. This still does not solve my problem&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder whether I am missing anything, anyway,&lt;/P&gt;&lt;P&gt;I am tired to try and unless anyone providesd me clear explanations on what's going-on I will buy an evaluation board from a different company.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to provide a better status but this is so messy that I don't remember all the links I have been to, and what exactly I did at the end.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the enumeration I get in the console with dmesg.&lt;/P&gt;&lt;P&gt;I am able to get the&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ 2914.710235] usb 2-1.1: new full-speed USB device number 9 using ehci-pci&lt;/P&gt;&lt;P&gt;[ 2914.804649] usb 2-1.1: New USB device found, idVendor=1357, idProduct=0707&lt;/P&gt;&lt;P&gt;[ 2914.804655] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0&lt;/P&gt;&lt;P&gt;[ 2914.804657] usb 2-1.1: Product: PEMicro/Freescale - CDC Serial Port&lt;/P&gt;&lt;P&gt;[ 2914.804659] usb 2-1.1: Manufacturer: P&amp;amp;E Microcomputer Systems Inc.&lt;/P&gt;&lt;P&gt;[ 2914.805243] cdc_acm 2-1.1:1.0: This device cannot do calls on its own. It is not a modem.&lt;/P&gt;&lt;P&gt;[ 2914.805264] cdc_acm 2-1.1:1.0: ttyACM0: USB ACM device&lt;/P&gt;&lt;P&gt;[ 2914.805708] usb-storage 2-1.1:1.2: USB Mass Storage device detected&lt;/P&gt;&lt;P&gt;[ 2914.806666] scsi11 : usb-storage 2-1.1:1.2&lt;/P&gt;&lt;P&gt;[ 2915.806283] scsi 11:0:0:0: Direct-Access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FSL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FSL/PEMICRO MSD&amp;nbsp; 0001 PQ: 0 ANSI: 4&lt;/P&gt;&lt;P&gt;[ 2915.806644] sd 11:0:0:0: Attached scsi generic sg2 type 0&lt;/P&gt;&lt;P&gt;[ 2915.807402] sd 11:0:0:0: [sdb] 1983999 512-byte logical blocks: (1.01 GB/968 MiB)&lt;/P&gt;&lt;P&gt;[ 2915.808489] sd 11:0:0:0: [sdb] Write Protect is off&lt;/P&gt;&lt;P&gt;[ 2915.808492] sd 11:0:0:0: [sdb] Mode Sense: 00 00 00 00&lt;/P&gt;&lt;P&gt;[ 2915.809109] sd 11:0:0:0: [sdb] Asking for cache data failed&lt;/P&gt;&lt;P&gt;[ 2915.809114] sd 11:0:0:0: [sdb] Assuming drive cache: write through&lt;/P&gt;&lt;P&gt;[ 2915.824244]&amp;nbsp; sdb:&lt;/P&gt;&lt;P&gt;[ 2915.827334] sd 11:0:0:0: [sdb] Attached SCSI removable disk&lt;/P&gt;&lt;P&gt;[ 2917.445005] FAT-fs (sdb): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 22:39:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-KDS-on-Linux-Debian/m-p/480666#M5461</guid>
      <dc:creator>ludovictancerel</dc:creator>
      <dc:date>2016-02-01T22:39:52Z</dc:date>
    </item>
  </channel>
</rss>

