Re: [Openocd-development] TMS470 Scripts

2009-05-31 Thread Krzysztof Dziuba
Hi, Xiaofan Chen pisze: > You commented out all of the following for your script. Should I > uncomment them for flashing? > > #$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x0020 > -work-area-size 0x4000 -work-area-backup 0 > > #flash bank tms470 0x0 0x2 0 0 0 > #flash ba

Re: [Openocd-development] TMS470 Scripts

2009-05-31 Thread Xiaofan Chen
On Sun, May 31, 2009 at 4:32 PM, Krzysztof Dziuba wrote: >> I have not tried flashing (I do not want to brick the board) and real >> debugging yet (as such, not using the patch). Did you try >> flashing the TMS470 with OpenOCD? >> > Flashing works, watch out on security keys! Yeah that is the thi

Re: [Openocd-development] TMS470 Scripts

2009-05-31 Thread Krzysztof Dziuba
Xiaofan Chen pisze: > On Wed, May 27, 2009 at 2:33 AM, Krzysztof Dziuba > wrote: >> I attached my cfg file, I think it needs to be polished before including it >> to the official configurations, however it works for me. >> There is also patch which fix big endian issue. It was created by some othe

Re: [Openocd-development] TMS470 Scripts

2009-05-30 Thread Xiaofan Chen
On Wed, May 27, 2009 at 2:33 AM, Krzysztof Dziuba wrote: > I attached my cfg file, I think it needs to be polished before including it > to the official configurations, however it works for me. > There is also patch which fix big endian issue. It was created by some other > person and is some kind

Re: [Openocd-development] TMS470 Scripts

2009-05-29 Thread Xiaofan Chen
On Thu, May 28, 2009 at 7:27 AM, Xiaofan Chen wrote: > On Thu, May 28, 2009 at 6:06 AM, Peter Denison wrote: >> The offending lines that cause it to break were added in jlink.c by Oyvind >> in r1498. However, according to the docs (RM08001-02, dated June 30, 2008 at >> www.segger.com), they shoul

Re: [Openocd-development] TMS470 Scripts

2009-05-27 Thread Dylan Reid
I updated to 1933 today and gave my j-links another try loading code to a STM32. I tried a v3 v4 and v6 jlink. The v4 jlink worked reliably, v3 worked after trying a few times and power cycling everything. v6 won't work at all. I attached the console output of all three jlink sessions. On We

Re: [Openocd-development] TMS470 Scripts

2009-05-27 Thread Xiaofan Chen
On Thu, May 28, 2009 at 6:06 AM, Peter Denison wrote: > The offending lines that cause it to break were added in jlink.c by Oyvind > in r1498. However, according to the docs (RM08001-02, dated June 30, 2008 at > www.segger.com), they should be correct. Once you've read the TDO lines out, > read th

Re: [Openocd-development] TMS470 Scripts

2009-05-27 Thread Peter Denison
On Wed, 27 May 2009, Xiaofan Chen wrote: > Thanks a lot for the help. I could not connect the TMS470R1A256 IAR > Starter Kit properly to J-Link with the script. I have not used your patch > yet as it seems more for the debugging part. I want to connect and then > reset/halt first. > > > mc...@ubun

Re: [Openocd-development] TMS470 Scripts

2009-05-27 Thread Xiaofan Chen
On Wed, May 27, 2009 at 2:33 AM, Krzysztof Dziuba wrote: > I attached my cfg file, I think it needs to be polished before including it > to the official configurations, however it works for me. > There is also patch which fix big endian issue. It was created by some other > person and is some kind

Re: [Openocd-development] TMS470 Scripts

2009-05-26 Thread Krzysztof Dziuba
krzysztof.dziuba Gazeta.pl pisze: Hi, 2009/5/26 Xiaofan Chen : So you are saying that the current svn head will not work without the patch, right? No, just I don't know if this works corrently or not - I don't use current svn head. When I will find some time I will try. BR, Krzysztof I attach

Re: [Openocd-development] TMS470 Scripts

2009-05-26 Thread krzysztof.dziuba Gazeta.pl
Hi, 2009/5/26 Xiaofan Chen : > So you are saying that the current svn head will not work without > the patch, right? No, just I don't know if this works corrently or not - I don't use current svn head. When I will find some time I will try. BR, Krzysztof __

Re: [Openocd-development] TMS470 Scripts

2009-05-26 Thread Xiaofan Chen
On Tue, May 26, 2009 at 2:52 PM, krzysztof.dziuba Gazeta.pl wrote: >> Does anyone have the device cfg file for TMS470 chips, like TMS470R1A256? >> I searched the mailing list archive and it seems that it should work. But I >> could not find a cfg file for it. How should I write the cfg file for it

Re: [Openocd-development] TMS470 Scripts

2009-05-25 Thread krzysztof.dziuba Gazeta.pl
Hi, 2009/5/26 Xiaofan Chen : > Does anyone have the device cfg file for TMS470 chips, like TMS470R1A256? > I searched the mailing list archive and it seems that it should work. But I > could not find a cfg file for it. How should I write the cfg file for it? I have working configuration for TMS470

[Openocd-development] TMS470 Scripts

2009-05-25 Thread Xiaofan Chen
Does anyone have the device cfg file for TMS470 chips, like TMS470R1A256? I searched the mailing list archive and it seems that it should work. But I could not find a cfg file for it. How should I write the cfg file for it? For the V6 Jlink (my V3 does not seem to work) and the IAR Kickstart board