2008-01-14 01:17 AM
2008-01-13 07:34 AM
Hello...has someone idea how to read write with serial interface all internal flash of st10 micro?
In order...is necessary to load a 32kb boot code or st10 has already in-chip protocol to read write full flash? [ This message was edited by: newsamo on 13-01-2008 21:13 ]2008-01-14 01:06 AM
Hello newsamo,
Yes, of course, you can read from and write to the ST10 Flash using serial interface (UART). Are you looking for a utility? If yes, you can use the ST10Flasher tool available on the following link: at the bottom of the web page. There is a Bootstrap mode (BSL) available on the ST10. In order to enter BSL mode, P0L.4 should be sampled low on hardware reset. When this mode is selected, the ST10 will be waiting for 00 byte ( 1 start bit , eight '0' and 1 stop bit) from the ASC0 interface. From the duration of this zero byte it calculates the corresponding Baud rate factor with respect to the current CPU clock, initializes the serial interface ASC0 accordingly and sends an acknowledge bye to the host. Then, the ST10 will be waiting to receive exactly 32 bytes from the ASC interface. These bytes are stored in the addresse range 0xFA40-0xFA60. When the 32 bytes are received, the ST10 jumps to the location and 0xFA40 and starts excecuting these bytes. Generally, the user application exceeds 32 bytes. So, the first 32 bytes received from the ASC0 may download more code to program the user application in the internal or external flash. For more details, please refer to the following forum discussion: I hope this helps you. Best regards, Najoua.2008-01-14 01:17 AM
Visual basic
I'm using st10flasher.dll to write my-own flasher tool All connection are ok and st10flasher.exe load OK But if i call in vb MsgBox (SetCom(COM1, 9600)) it answer 0...(not successfull) Why? is something wrong ic function call?