| Zakładka z wyszukiwarką danych komponentów |
|
AN1796 Arkusz danych(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1796 Arkusz danych(HTML) 6 Page - STMicroelectronics |
|
6 / 17 page ![]() 6/17 FIELD UPDATES FOR FLASH BASED ST7 APPLICATIONS USING A PC COMM PORT 3. Navigate to the location of your .S19 S-Records file and double click it. At this point you should see the S-Records data scroll past on the screen since the ST7 echoes the data back to the terminal as it is received and stored. Once the entire file has been received the boot loader will force a cold reset on the processor in order to safely lock-up the flash against any further writes. After the five second wait interval another $ character will be transmitted. The program section which transmits the $ is at the label “start” and is actually the entire sector1 program in this example. After sending the $, execution falls into an endless loop at label “loop1”. As a suggested exercise, go to the example program source file and change the character that is transmitted from $ to some other printable character and then re- build the application. Now start up HyperTerminal and reset the ST7. After five seconds the $ character will appear (remember, we haven’t transmitted the new file yet). Now reset the MCU and, within five seconds, press any printable character on the keyboard. The character will be echoed back to the screen indicating that the ST7 is waiting for a file. Do the TRANSFER- >SEND TEXT FILE procedure and send the .s19 file for the example (now slightly modified). The file will scroll by on the screen and, after five seconds, whatever character you have re- placed the $ with will appear on the screen. CONGRADULATIONS: You’ve used HyperTer- minal to do a field update of your application program via RS232. |
|
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |