Question Stupida
Company  
ST Home | Microcontrollers

Index  »  ARM7 STR7  »  Question Stupida
     
   Question Stupida
 Moderated by :   »  AnisAS  -  coucou

Author
beginning argument    ( Replies received: 3 )
sfumato   Posted 19-05-2008 at 02:57   



Registered on :
05-07-2008

Messages : 1

 OFF-Line

Sorry Let me give you a stupid question.
I connected Jtag Interface
a cpu STR711FR2 but now what software should I use?
I used H-JTAG see cpu ARM7TDMI 0x3f0f0f0f but then as programming internal flash? which should set parameters in H-FLASHER? or there is another program easier to use?

please c'č some Italian can help me?
thank you

Umberto



 Profile   Quote  
volius   Posted 19-05-2008 at 11:15   



Registered on :
09-12-2006

From UK (United Kingdom)

Messages : 133

 OFF-Line

I am using OpenOCD for programming flash memory of STR710 via a wiggler JTAG interface. It might be tricky to set up, but it works.



 Profile   Quote  
atozturk   Posted 13-06-2008 at 10:00   



Registered on :
05-13-2008

Messages : 1

 OFF-Line

Dear volius could you explain and/or send me configuration files for OpenOCD.
I also use STR710 and I'm try to programm with wiggler cable.
Thanks.



 Profile   Quote  
volius   Posted 13-06-2008 at 18:05   



Registered on :
09-12-2006

From UK (United Kingdom)

Messages : 133

 OFF-Line

You should consult the docs that come with OpenOCD. That's what I did, anyway. In short, there are several steps involved:
1) From command line, switch to OpenOCD bin directory and launch "openocd-pp.exe -f config\str71x.cfg" (most likely I misspelled the file names, find them in your OpenOCD setup)
2) From another console box, connect to OpenOCD with a telnet client: "telnet 127.0.0.1 4444"
3) Now you have the OpenOCD command line. The command "flash erase 0 0 9" will erase all 10 sectors. The command "flash write_binary ..." will program a binary image. "help" gives a list of commands. "help flash" gives info on flash commands.
It is possible to automate those things with a script.
I might have modified the default .cfg file, can't remember.
I downloaded OpenOCD from YAGARTO home page.




 Profile   Quote  
On Top

Search in the forums
 
Jump To