Topic : IAP STM8S207 in RIDE7 Project

Forum : ST7/STM8

Original Post
Post Information Post
September 27, 2009 - 10:16pm
Guest

Hello

I am developing a simple application with a new stm8s processor. Unfortunately testing will be done in other location and i need to allow the tester to update firmware, when some bugs are fixed and new firmware is released. I read some notes on how bootloader works, and from what i understood this processor has a built-in bootloader. Could someone explain to me (a step by step guide would be great) , how i can launch this bootloader and perform a firmware update operation? A simple Ride7 solution showing how it works would hellp me a lot.

Regards
Jackkpl

Replies
Post Information Post
+1
0
-1
September 28, 2009 - 10:44am
Raisonance Support Team

Hi Jack,

There are 2 application notes availabelm from the ST MCU Web site about IAP for STM8S. The code is in Raisonance syntax so porting it to your project should not be too difficult.

Regards,
Bruno

+1
0
-1
September 28, 2009 - 1:10pm
Guest

So the long story short - i have to include the routines in my project and do the check manually (all the option bytes for bootloader) to make it work ? I think this is too hard for me and application notes seem to be aimed at experts in programming ST microcontrollers.

+1
0
-1
September 30, 2009 - 10:43am
Guest

Hello

Yesterday i got built-in bootlader to partially work. Partially, because ST application (flash loader demonstration) gives me "Cannot get BL available commands". I used another application from ST that allows to send commands manually, and built in bootloader doesn't respond to 0x00 0xFF command the 1st time, but repeating this command gives a response. I am using some demo version of stm8s207k on a custom prototype board. UART is known to work, as it already works in my PC application that communicates with the device. Could you please guide me how i can make ST software to work with built-in bootloader?