Skip to main content
bastian
Associate II
August 1, 2006
Question

JTAG registers of stacked-flash

  • August 1, 2006
  • 5 replies
  • 1095 views
Posted on August 01, 2006 at 08:04

JTAG registers of stacked-flash

This topic has been closed for replies.

5 replies

bastian
bastianAuthor
Associate II
May 17, 2011
Posted on May 17, 2011 at 09:30

Hi,

I'd like to try to erase my flash using jtag. But so far

I did not find any infos about the jtag commands.

Anyone got a link ?

Edited:

Found it on the st912 page. Now trying if I can get on the flash using j-link.

[ This message was edited by: 42Bastian on 28-07-2006 17:26 ]

sjo
Associate III
May 17, 2011
Posted on May 17, 2011 at 09:30

What software are you using with the JLINK, is it not IAR ? Perhaps you are using the free gdb server available on the net.

The jtag config of the str9 is as follows:

3 taps are present, scan chain (ir 5 bits), arm966 core (ir 4 bits) and flash controller (ir 8 bits).

I have added support to Openocd for the str9 and this should be available in svn very soon.

Also the str9 (arm966) is a strange beast, the monitor mode is enabled at reset ? unlike other arm9 cores. This has to be disabled before breakpoints etc can be enabled.

Regards

sjo

bastian
bastianAuthor
Associate II
May 17, 2011
Posted on May 17, 2011 at 09:30

�es, found it.

Now , as I wrote, I have to figure out how to attack it.

My only device I have is a J-Link with some SW. But so far I don't

seem to have the correct codes sent. I even do not get the IDCODE.

My computer has no parallel port anymore, so the ST JTAG solution

does not work.

I am close to using another ARM board :)

md1
Associate III
May 17, 2011
Posted on May 17, 2011 at 09:30

Hi,

There is a seperate STR9 flash programming manual available from this website.

Martin.

bastian
bastianAuthor
Associate II
May 17, 2011
Posted on May 17, 2011 at 09:30

I downloaded a SW collection from segger.

Anyway I will look at openOCD.

I meanwhile als tried iSystem, but so far I have no luck in getting anything meaningfull

back from either my str9 nor from a LPC2294.

I am really close to writing my own tool.