Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

STM8 IAP from external memory

Status
Not open for further replies.

matusel

Member level 1
Joined
Nov 13, 2009
Messages
40
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,540
Hello Boarders, I need to implement an IAP (In application Programming) on a stm8 equipped board. The STM8 after receiving some specifics commands via uart must load his firmware from an external Flash/Eeprom. Is there any way to implement this? Do you know some similar projects?
Regards
 

Hello Boarders, I need to implement an IAP (In application Programming) on a stm8 equipped board. The STM8 after receiving some specifics commands via uart must load his firmware from an external Flash/Eeprom. Is there any way to implement this? Do you know some similar projects?
Regards


do Google to find the file CD00201192.pdf which describes in details how to use the IAR.

you have to be careful for some details:

1. there is some byte in memory that has to get 0x55 value in order to allow IAP. Download program "ST Visual Programmer" read the data from "OPTION BYTE" tab and disable the following "BLCHEK1" and "BLCHEK2" and flash the tab to the chip. By doing this, after reset , the STM8 will wait 1 second to command SYNCH (1 bye at value 0x7f) and after that it will be ready for IAP. Is no sync command was get, It will start run normally.

2. Use uart following setup: 8E1

3. If you development board, you can release reset button, and at the same time to send SYNCH command in order to start IAP. after that it is ready for IAP. Look at the manual (CD00201192.pdf ) for details flash algorithm

Yair
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top