ok, now i've tested everything and it works ok.
as i said on the other mail, i modified the read functions and got rid
of the casting warnings.

the first patch has the changes to get rid of the warnings, and the
second patch re-enables the target.

thanks

On Tue, Jun 28, 2011 at 8:22 PM, Rodrigo Rosa <rodrigorosa...@gmail.com> wrote:
> i've been doing some testing and i realized i missed several important things.
> please ignore the previous patch.
> i am preparing a correct one.
>
> thanks.
>
> On Tue, Jun 28, 2011 at 4:51 PM, Rodrigo Rosa <rodrigorosa...@gmail.com> 
> wrote:
>> hi
>>
>> i modified the read functions and got rid of the casting warnings.
>> been trying the changes, and everything seems to work ok.
>>
>> the first patch has the changes to get rid of the warnings, and the
>> second patch re-enables the target.
>>
>> salú!
>>
>> On Tue, Jun 28, 2011 at 9:31 AM, Øyvind Harboe <oyvind.har...@zylin.com> 
>> wrote:
>>> dsp5680xx.c generates warnings. Could someone submit a patch to fix this?
>>>
>>> I'll disable this source file meanwhile.
>>>
>>> openocd/src/target/dsp5680xx.c: In function 'eonce_rx_upper_data':
>>> openocd/src/target/dsp5680xx.c:252: warning: cast increases required
>>> alignment of target type
>>> openocd/src/target/dsp5680xx.c: In function 'eonce_rx_lower_data':
>>> openocd/src/target/dsp5680xx.c:268: warning: cast increases required
>>> alignment of target type
>>> openocd/src/target/dsp5680xx.c: In function 'eonce_pc_store':
>>> openocd/src/target/dsp5680xx.c:508: warning: dereferencing type-punned
>>> pointer will break strict-aliasing rules
>>> openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_read':
>>> openocd/src/target/dsp5680xx.c:736: warning: cast increases required
>>> alignment of target type
>>> openocd/src/target/dsp5680xx.c:737: warning: cast increases required
>>> alignment of target type
>>> openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write_8':
>>> openocd/src/target/dsp5680xx.c:823: warning: cast increases required
>>> alignment of target type
>>> openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write':
>>> openocd/src/target/dsp5680xx.c:938: warning: cast increases required
>>> alignment of target type
>>> openocd/src/target/dsp5680xx.c:941: warning: cast increases required
>>> alignment of target type
>>> openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_f_wr':
>>> openocd/src/target/dsp5680xx.c:1355: warning: cast increases required
>>> alignment of target type
>>>
>>>
>>> --
>>> Øyvind Harboe - Can Zylin Consulting help on your project?
>>> US toll free 1-866-980-3434 / International +47 51 87 40 27
>>> http://www.zylin.com/
>>> _______________________________________________
>>> Openocd-development mailing list
>>> Openocd-development@lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/openocd-development
>>>
>>
>>
>>
>> --
>> Rodrigo.
>>
>
>
>
> --
> Rodrigo.
>



-- 
Rodrigo.

Attachment: 0001-fix-warnings.patch
Description: Binary data

Attachment: 0002-enable-dsp5680xx.patch
Description: Binary data

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to