Using IAR / J-Link to Write bank1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2009-12-16 11:51 PM
Using IAR / J-Link to Write bank1
- Labels:
-
Legacy Products
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:45 AM
Hi,
I have used CAPS tool and R-Link to change the Boot order from bank0 to Bank1 I am using IAR IDE + J-Link, By default the IAR download the application to Bank0, How can I download the application to bank1 using IAR ? Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:45 AM
Usatyj,
Could you POST your modified files that load both Banks. Thanks, Rhys- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:45 AM
I downloaded yesterday the IAR 5.0
In this release there are some samples related with this kind of problems I hope to tell you something more in the next days.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:45 AM
I use IAR 4.30. There is source code of flashloader, which load Bank 0.
I add piece of code, which load Bank 1 (like Bank 0 but another addresses and sectors size), and now use this loader for all projects.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:45 AM
Hi.
I want to find Boot Loader (Simmilar IAP) in IAR + J-Link. But, I don't know how i write to bank1 of flash. So, I want to need your code. Please, let me send your source code(Usatyj)! Please... Help me!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:45 AM
The STR91x Flash loader included in the latest version of IAR(EWARM5.11) supports the 2 bank 0 & 1 and it detects automatically which bank is @ 0x0.
So remap the bank 1 to address 0x0, and link you code to 0x0 then the loaded code will be put in bank 1. Rgds- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:45 AM
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: 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'