System: Linux 64 bit, 14.04 LTS, Dell poweredge 830
Kinetis 3.2.0
Kinetis bootloader 2.0
added libs as per docs.
Kinetis starts ok, but when i try to import bootloader project as per instuctions, it crashes with no warning or log entry..
So what goes on here?? Something clearly missing in setup.
Thanks
Ken
Hi Kenneth,
Could you tell us which MCU are you using?
Thanks in advance!
Best Regards,
Carlos Mendoza
Technical Support Engineer
Carlos,
I am using the mk22Fm1m0vlQ12. There are no targets for this exact part
in the bootloader package and I have searched the site to find them to
no avail. 512k I think is closest. Obviously only the linker files are
the issue here and if all the flash levels have essentially the same
memory map, then this should work.
Anyway, I got further, let me tell you what I found.
The first problem is that some of the dialogs in the IDE will crash if
the default theme 'oxygen-gtk2" is enabled. choosing another now makes
the import work ok. After changing this I was able to import the
bootloader package, choose one and compile it..so mostly good. I'm not
noticing too much of a different 'look and feel' by changing this.
I tried to add a few updates and all of these failed. didn't matter
whether from web or a local package. Some investigation seems to
indicate this is some sort of permission problem in how it installed. I
took the defaults and installed it under a user login that has R/W
permissions, but clearly it needs something else and everything I have
tried did not do the trick. installer put it in the /opt directory. I
changed permissions on this and all sub-directories and that didn't do
it either.
Not sure if this is really an Eclipse issue or an add on package issue.
If we can fix this I think i'm good to go.
Ken
Hi Kenneth,
Thanks for your response, is good to hear you were able to import the project. Regarding the update errors, please notice that Linux users need to launch KDS with root privileges when installing new plugins.
Let me know if it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
Carlos,
I am trying to build a modified bootloader for an MK22FM1m0VLQ12 part.
The latest bootloader 2.0 does not contain any linker or target files
for this part.
Instructions say this should be on the cpu page, but I cannot find them
here at all so where are they hiding?
thanks
ken
Hi Kenneth,
You can find the linker file for the part MK22FN1M0VLQ12 on the following path:
C:\Freescale\KDS_v3\eclipse\ProcessorExpert\Config\PE\CPE\wizard_data\wizards\kds\MK22F12\Source\Templates\gcc\MK22FN1M0xxx12_flash.ld
Let me know if it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
Carlos,
I'll give that a try when I get a chance. I don't see why this is
restricted as a user?? It's basically only updating itself and if
installed on a user, this is NOT a security issue....
ken