Hi,

Spencer Oliver wrote:
> On 10 January 2012 15:11, Jonathan Dumaresq <jdumar...@cimeq.qc.ca>
> wrote: 
>> Hi all,
>> 
>> Is there a way to use an stlink with swd right now with openocd ? I
>> will use the stm32 M0 devices 
>> 
> 
> Only the stlink-v2 is supported at the moment - swd mode is used by
> default. 
> With regards to using with M0 - not tested ST, are not great at
> supporting Open Source projects. 
> 

I have a small problem. I can't use the target_xxx_u16 function. It's always
fails. 

Debug: 315 2505344 command.c:151 script_debug(): command - ocd_command
ocd_command type ocd_mdh 0x0 1
Debug: 316 2505391 command.c:151 script_debug(): command - mdh ocd_mdh 0x0 1
Debug: 318 2505422 stm32_stlink.c:571 stm32_stlink_read_memory():
stm32_stlink_read_memory 0 2 1
Debug: 319 2505437 command.c:151 script_debug(): command - ocd_command
ocd_command type ocd_usage mdh
Debug: 320 2505469 command.c:151 script_debug(): command - usage ocd_usage
mdh
User : 322 2505484 command.c:901 command_help_show(): mdhUser : 323 2505484
command.c:908 command_help_show():  User : 324 2505500 command.c:880
command_help_show_wrap(): ['phys'] address [count]
User : 325 2505516 command.c:863 command_help_show_indent():   User : 326
2505531 command.c:901 command_help_show(): stm32f0x.cpu mdhUser : 327
2505547 command.c:908 command_help_show():  User : 328 2
505562 command.c:880 command_help_show_wrap(): address [count]
User : 329 2505562 command.c:695 command_run_line(): in procedure 'mdh'


And for the write I got the same thing. 

If I try the u32, everything works
Any idea ?

Regards

Jonathan

> Cheers
> Spen



------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to