Re: [OpenOCD-devel] [PATCH]: dc370ed doc: update RTOS section, add 'mqx' info

2015-03-13 Thread Richard Braun
On Thu, Mar 12, 2015 at 11:56:27PM +0100, Marian Cingel wrote: > Patch is available at http://openocd.zylin.com/#/c/2599/ > Please let me know if it works with your configuration. Works fine, thank you. -- Richard Braun ---

Re: [OpenOCD-devel] [PATCH]: dc370ed doc: update RTOS section, add 'mqx' info

2015-03-12 Thread Marian Cingel
Hello, Patch is available at http://openocd.zylin.com/#/c/2599/ Please let me know if it works with your configuration. Marian 2015-03-11 13:26 GMT+01:00 Marian Cingel : > Hello, > > You are right, it's a bug, it must be 0x40. LR at 0x28 describes HW > state before switch but not LR register. >

Re: [OpenOCD-devel] [PATCH]: dc370ed doc: update RTOS section, add 'mqx' info

2015-03-11 Thread Marian Cingel
Hello, You are right, it's a bug, it must be 0x40. LR at 0x28 describes HW state before switch but not LR register. Obviously I will need to pay more attention of testing. Marian 2015-03-11 12:41 GMT+01:00 Richard Braun : > On Wed, Mar 11, 2015 at 01:01:23AM +0100, Marian Cingel wrote: >> I hav

Re: [OpenOCD-devel] [PATCH]: dc370ed doc: update RTOS section, add 'mqx' info

2015-03-11 Thread Richard Braun
On Wed, Mar 11, 2015 at 01:01:23AM +0100, Marian Cingel wrote: > I have found the problem. SYSTEM_TD member of kernel_data has type > TD_STRUCT and not (as I would expect) TD_STRUCT_PTR. SYSTEM_TD member > exists before TD_LIST and because TD_STRUCT has different size > depending on configuration i

Re: [OpenOCD-devel] [PATCH]: dc370ed doc: update RTOS section, add 'mqx' info

2015-03-11 Thread Richard Braun
On Tue, Mar 10, 2015 at 08:55:47PM +0100, Richard Braun wrote: > I'm currently adding support for FPU autodetection, this seems easy and > reliable enough. I was working on FPU detection because I thought it would change the exception stack frame size but the common part (between FPU and no FPU va

Re: [OpenOCD-devel] [PATCH]: dc370ed doc: update RTOS section, add 'mqx' info

2015-03-10 Thread Marian Cingel
Hello, I have found the problem. SYSTEM_TD member of kernel_data has type TD_STRUCT and not (as I would expect) TD_STRUCT_PTR. SYSTEM_TD member exists before TD_LIST and because TD_STRUCT has different size depending on configuration it makes impossible to use static offset. I think there might be

Re: [OpenOCD-devel] [PATCH]: dc370ed doc: update RTOS section, add 'mqx' info

2015-03-10 Thread Richard Braun
On Tue, Mar 10, 2015 at 08:36:18PM +0100, Marian Cingel wrote: > Hello, > > Yes, I had used MQX 4.1.1. > The offsets of structs (kernel_data_struct, td_struct) I'm using are > stable - they haven't changed > for years. It should work the same as with old MQX 3.7 as with new MQX/SDK > 1.1. > If th

Re: [OpenOCD-devel] [PATCH]: dc370ed doc: update RTOS section, add 'mqx' info

2015-03-10 Thread Richard Braun
On Mon, Mar 09, 2015 at 06:56:12PM +, ger...@openocd.zylin.com wrote: > Author: Marian Cingel > Date: Mon Mar 9 19:52:29 2015 +0100 > > doc: update RTOS section, add 'mqx' info Hello, I'm working on an MQX application and willing to include MQX support in our development environment.

[OpenOCD-devel] [PATCH]: dc370ed doc: update RTOS section, add 'mqx' info

2015-03-09 Thread gerrit
This is an automated email from Gerrit. Marian Cingel (cingel.mar...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2592 -- gerrit commit dc370ed2e4bb46ca1c39eb8e6f0ae1897550b4bc Author: Marian Cingel Date: Mon Mar 9 19:52:29 2015 +0100