cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Boot flash using Usb Jlink or Ulink

alain239955_st
Associate II
Posted on December 17, 2009 at 08:52

Configure Boot flash using Usb Jlink or Ulink

17 REPLIES 17
roger_lynx
Associate II
Posted on May 17, 2011 at 09:31

 

The ST JLink cable is (as the word meaning) a JLINK interface.

 

 

with the jlink interface you can change some registry in the cpu or in the flash writing the appropriate istructions.

 

 

Hm.

I think you mean ''RLink''?

JLink is a JTAG programmer/debugger sold by IAR (yellow); original JLink is made by Segger (black).

For Atmel SAM series there is SAM-ICE (blue) based on JLink, but this version works ONLY with Atmel's MCU.

SAM-ICE is also less than half the price (U$ 129 vs. U$ 299)

(Updated Sep 14, '06)

Anyway, I did read more ST documentation and realized

there are two versions of the RLink:

one is code size limited for debugging, but can program the configuration fuses - RLink.

The other is full blown JTAG debugger/programmer unlimited to code size - RLink Pro

I need to program the config. bits only, at this moment.

RLink is USB based, FLASHLINK is not.

CAPS software can interface to both.

Anyone can comment on how well RLink (non-pro) works, please?

[ This message was edited by: hARMless on 14-09-2006 17:40 ]

alain239955_st
Associate II
Posted on May 17, 2011 at 09:31

Hello,

I Did buy the RLINK USB limited version.

I Use it with CAPS to update confuguration data. it is working without any problems

Regards

roger_lynx
Associate II
Posted on May 17, 2011 at 09:31

 

I Use it with CAPS to update confuguration data.

 

it is working without any problems

 

Thanks for your feedback.

roger_lynx
Associate II
Posted on May 17, 2011 at 09:31

 

On 06-09-2006 at 09:44, acorchia wrote:

 

Hello,

 

 

I Did buy the RLINK USB limited version.

 

I Use it with CAPS to update confuguration data. it is working without any problems

 

Thanks for your input, I got Rlink (from Digikey), and brought my 911 (no, not from Porsche) board up.

It works, I do apologize for my previous bitching about ST tools.

Now, if I could burn the config. bits with my JLink.....?

wwin2000
Associate II
Posted on May 17, 2011 at 09:31

hi,STARM and acorchia: ''The CPU crashes because the FMI_Config function writes in the configuration registers of the flash which are located in Bank1.'' As i know the configuration registers of the flash is in 0x54000000~0x58000000 and bank1 flash address can be remap to 0x00000000~0x03ffffff. why you say that?

Regards

rmichon
Associate
Posted on May 17, 2011 at 09:31

Hi all,

to set the bank 1 as the boot bank on the st9 using jlink, you can use the Segger j-link tools.

you can find them here:

SEGGER

open the folder with command line and call jlinkstr91x.exe.

it should connect through jlink. you then have to type 'setb 1' and you're done. the boot bank will be the bank 1.

hope it helps!

cheers,

Bib'

ug
Associate
Posted on May 17, 2011 at 09:31

Hi all,

look here to find KEIL's solution for selecting STR91x Flash banks using the ULINK adapter:

http://www.keil.com/support/docs/3347.htm

I'm using this method to select the boot bank1 for my IAP bootloader successfully.

Hope this helps.

Ullrich

kurt2399
Associate
Posted on May 17, 2011 at 09:31

The HiTOP Debugger and IDE which is included in the Hitex STR9 starterkit supports the FLASH configuration as well as the LVD treshold settings. These can be configured easy with the seetings dialog.

Best regards

Kurt