Skip to main content
jas
Associate III
February 8, 2007
Question

In circuit bootloader via RS232 or USB ?

  • February 8, 2007
  • 33 replies
  • 6142 views
Posted on February 08, 2007 at 20:23

In circuit bootloader via RS232 or USB ?

This topic has been closed for replies.

33 replies

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

Hi,

I think so.

Now I have to write a IAP bootload code to Flash memory first via the JTAG, and then update code via RS232 or USB.

BTW, I found it is difficult to program the STR9's flash via FlashLINK in the CAPS, it is need to try many times for a success. My PC is P4 2.6G with windows XP.

Jianhua

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

Hi Guys,

STR912FW4?X6 device:

Do you know if ST have any plans for a simple in circuit bootloader app that allows flash programming using a PC's RS232 or USB connecting to the STR9 Rs232 or USB ?

The ST CAPS utility requires special hardware/cables.

Philips have LPC2000 flash utility, Atmel has SamBa etc.

I would like our product to be field upgradable with minimum effort.

Our distributors do not have the skill or knowledge to use JTAG and take the lid off the product for flash upgrades.

Maybe I have to write my own ?

Thanks.

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

Hi STARM,

Any update on the USB application? Please let us know.

Regards,

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

Good news STARM.

We will all look forward to it.

anis
Visitor II
May 17, 2011
Posted on May 17, 2011 at 09:30

Hi all,

I would like to inform you that an IAP software using the USB will be posted next week on forum.

Best Regards,

STARM

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

We need uart0 boot loader for upgrade firmware.

On my application :

- can't open box (case) for plug JTAG programming,Waranty void if opened.

- can't leave JTAG connector outside

- my boss want upgrade firmware via serial same as external modem or router.

ST have a project to make that tools , 3rd party or opensource, pls let me know ?

[ This message was edited by: kmaster on 30-07-2006 10:01 ]

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

Hi STARM

Has the IAP software been posted yet? I couldn't see anything on the forum or the ST Microcontrollers website.

If its available, can you point me to it please. If not, is it still planned? Do you know timescales?

Thanks,

Andy

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

Hi Starm,

Any news on the boot loader ?

anis
Visitor II
May 17, 2011
Posted on May 17, 2011 at 09:30

Hi All,

We are really sorry for this delay for releasing the software.

Finally we have alpha version of the bootloader using the USB , this is called also DFU: Device Firmware Upgrade.

Attached in the zip package you could find the hex file for the bootloader DFU firmware (DFU.hex) + the PC software applet & driver + a sample image (pintoggle) to flash using the bootloader.

Unfortunately, a detailed user manual is still not ready, so I will try to summuarize the needed steps to test the demo.

For testing the demo , you will need to have the STR9-eval board + the CAPS v2.1 utility and the Flash Link JTAG tool for loading the bootloader image and doing a boot bank remapping.

Please find in the following the needed steps:

1- using CAPS tool, change the boot bank in order to boot from BANK1 (secondary 32K flash).

2- using CAPS tool, flash the DFU.hex code in BANK1 at address 0x0.

3- install the PC software applet (setup.exe).

4- power-on the STR9-eval board and plug the USB cable (make sure that JP9 is in the position 2-3), the PC should recognize the usb device and will ask you for driver installation (you will find it in the install folder of the PC applet application).

5- launch the ''DfuSe demonstration'' applet.

6- click on ''Choose'' to load the pintoggle.dfu file to load into the STR9 main flash (pintoggle.dfu is generated from pintoggle.hex uisng the DfuSe file manager utility).

7- click on ''Upgrade'' to load the image.

8- click on ''Leave DFU mode'' to leave DFU and launch the pintoggle demo, you may also launch the pintoggle demo by pressing reset and the ujoystick button then releasing the reset while keeping the button pressed for some time.

Note that the source files for the DFU will be released soon with a complete package (including the user manual).

Sorry again for the inconvenience.

Best Regards,

STARM

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

Any news on the bootloader ?