This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Kinetis TWR-K60N512-KIT questions


On 13.04.2011 10:01, jjp jjp wrote:
> Hi,
> I modify the code according to http://sourceware.org/bugzilla/attachment.cgi?id=5340&action=diff
> which is same bug you are talking about.

It is the same bug, but the patch is obsoleted by a new one. Pse revisit
the bug.

> I will begin to test your HAL as soon as possible (maybe tomorrow).
Can you tell me what platform HW do you test on?
Especially what is your clock source (unless it is TWR-K60N512)?

> Regards.
> Note :  I'm using cortex-m3 support on Zylin zy1000.
>
> ----------------------------------------
>> Date: Tue, 12 Apr 2011 20:08:56 +0200
>> From: ilijak@siva.com.mk
>> To: ecos-discuss@ecos.sourceware.org
>> Subject: Re: [ECOS] Kinetis TWR-K60N512-KIT questions
>>
>> Hi again
>>
>> In meantime I have built gnutools arround GCC 4.6.0:
>> gcc-4.6.0
>> newlib-1.19.0
>> binutils-2.21.51 (+ OS patch, see note below)
>> gdb-7.2
>>
>> First tests are encouraging, I was able to get "Hello world" with both
>> HAL and devs serial driver.
>>
>> Note regarding binutils-2.21.51:
>>
>>> -. binutils-2.21.51 (patched snaphot with OS
>>> support for cortex-m4)
>>
>> I don't quite figure out whether you mean that you downloaded
>> binutils-2.21.51 already patched or you have applied the patch. I
>> downloaded binutils-2.21.51 today and it is didn't have the OS patch,
>> (Btw it seem to have been committed yesterday):
>> http://sourceware.org/bugzilla/show_bug.cgi?id=12296
>>
>> However gcc-4.6.0 works for Cortex-M4, or at least for Kinetis - with
>> both -mcpu=cortex-m4 and -mcpu=cortex-m3.
>>
>> I am looking forward to your tests.
>>
>> Regards
>> Ilija
>>
>>
>> On 11.04.2011 09:42, jjp jjp wrote:
>>> Hi Ilija,
>>> I can't test it before wednesday.
>>> I will give you feedbacks as soon as possible.
>>> Regards.
>>>
>>>
>>> Date: Fri, 8 Apr 2011 22:09:05 +0200
>>> From: ilijak@siva.com.mk
>>> To: ecos-discuss@ecos.sourceware.org
>>> CC: jackoaway@hotmail.com
>>> Subject: Re: [ECOS] Kinetis TWR-K60N512-KIT questions
>>>
>>> Hi jjp
>>>
>>>
>>>
>>> Thank for question, you are coming in right time, A week ago I
>>> placed Kinetis port on Bugzilla.
>>>
>>> http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001187
>>>
>>> I'll appreciate if you try it and come with feedback.
>>>
>>> Note:You need to commit latest version from CVS as it has bugs
>>> 1001184, 1001186 integrated.
>>>
>>>
>>>
>>> I am using official eCos 3.0 tools (-m3 of course) in order to
>>> maintain compatibility, but I am keen to try gcc 4.6.
>>>
>>>
>>>
>>> Regards
>>>
>>> Ilija
>>>
>>>
>>>
>>> On 08.04.2011 16:42, jjp jjp wrote:
>>>
>>> Hi list,
>>>
>>> I am doing some tiny tests with k60 and I have some troubles to
>>> make SVC call running properly.
>>>
>>> Vector table is set at 0x20000000 in register SCB_VTOR, psp and
>>> msp have different adresses in RAM.
>>>
>>> I always get an HardFault after __asm__("svc 0");
>>>
>>>
>>> Check if VTOR setting is as desired, 0x20000000 should work. Also
>>> stack, what do you have in mlt files?
>>>
>>> Ilija, is it working properly for you?
>>>
>>> I'm using :
>>>
>>> -. gcc-4.6.0
>>>
>>>
>>> -. binutils-2.21.51 (patched snaphot with OS
>>> support for cortex-m4)
>>>
>>> -. zylin zy1000 (revB 1.66)
>>>
>>>
>>> Nice to see that Zylin supports Kinetis too.
>>>
>>> Regards
>>>
>>>
>>>
>>>> Date: Thu, 27 Jan 2011 23:01:15 +0100
>>>> From: ilijak@siva.com.mk
>>>> To: ecos-discuss@ecos.sourceware.org
>>>> Subject: Re: [ECOS] Kinetis TWR-K60N512-KIT questions
>>>> On 27.01.2011 10:09, jjp jjp wrote:
>>>>> Hi,
>>>>> I follow very closely the port of Ilija Kocho on Kinetis
>>> TWR-K60N512-KIT and
>>>
>>>>> I have some questions about your development methods :
>>>> Hello, and thanks for your interest.
>>>>> What cross compiler tools are you using (arm-eabi-gcc
>>> v-4.3 with patchs for cortex-m4)?
>>>
>>>>> What kind of debugging tools are you using?
>>>> Cortex-M4 is binary and backward compatible with M3 so, for
>>> the time
>>>
>>>> being you can use current compiler, of course you can't use
>>> Cortex-M4
>>>
>>>> specific features. Or you can try forthcoming 4.6.
>>>>> I don't see debug tools (except libSWD with OpenOCD) in
>>> Free and Open Source Software community trying
>>>
>>>>> to get debug by Serial Wire Debug.
>>>> Kinetis is very new, not yet in regular production so many
>>> tools are not
>>>
>>>> yet prepared. I don't know if OpenOCD supports Kinetis. In
>>> our lab we
>>>
>>>> have Ronetix PEEDI that is just getting Kinetis support. In
>>> meantime we
>>>
>>>> are working "dry" :(
>>>> Regards
>>>> Ilija
>>>> --
>>>> Before posting, please read the FAQ:
>>> http://ecos.sourceware.org/fom/ecos
>>>
>>>> and search the list archive:
>>> http://ecos.sourceware.org/ml/ecos-discuss
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>
>  		 	   		  
>


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]