X hits on this document

PDF document

User's%20Manual%20of%20ET-STAMP-STM32.pdf - page 10 / 12

21 views

0 shares

0 downloads

0 comments

10 / 12

User’s Manual of Board Microcontroller “ET-ARM STAMP STM32 (Cortex-M3)

Errors while downloading by Program Flash Loader V1.1

Sometimes, when user downloads HEX File into MCU through Boot Loader by RS232, program will report the errors because it can not be connected to Boot Loader as shown in the example below.

This error is occurred because of Program Flash Loader can not communicate with MCU through Boot Loader by RS232. There are may causes as shown below;

  • User does not RESET MCU to run in Boot Loader yet before click “Next” in the first step of command Program Flash Loader. In this case, user can check whether Jumper BOOT1 is set to ISP side and SW-BOOT0 must be set in ON position (LED BOOT0 is ON).

  • Set COM port number not corresponding with the actually connected.

If remains because tested, junk or Program

user

follows

all

procedures

correctly

error,

it means

Program

Flash

the of

that the error is Loader. From the

but it occurred actually

the problem is garbage inside Flash Loader

occurred because of data that is Buffer of Port RS232, so it makes run incorrectly. There are many

causes as described below;

  • It uses the same channel of RS232 Serial Port for downloading and using but it uses different parameter values. For example, if downloading data by Program Flash Loader, it uses Baud Rate 115200; after downloading is complete, it uses Baud Rate 9600 for operating program of MCU to transmit-receive data with RS232. Moreover, if Download Cable is plugged all the time and user wants to download the new data

WWW.ETT.CO.TH

9

Document info
Document views21
Page views21
Page last viewedSun Dec 04 01:30:17 UTC 2016
Pages12
Paragraphs449
Words1974

Comments