2013-10-10 04:12 PM
Hello. I'm posting here regarding the ST Micro IAP serial bootloader program based on Application Note AN2078.
Here's a list of the tools being used. Development compiler: Raisonance IDE (RIDE) Version 7.28.10.0075, running on Windows XP Home Edition SP3 Development hardware: Raisonance REva Starter Kit for STR750F Target device: STR750FV2 Here's what I have been able to do so far: I downloaded and unpackaged the IAP application source files (delivered as a ZIP archive) into a Windows XP computer. Next, I launched the compiler, created a RIDE project directory for IAP, and placed all the unpackaged source data (.c and .h files) into the IAP project directory. Then I added the required .c files one-by-one, starting with main.c, into the project build, and soon was able to successfully compile the IAP application. At this point, the .hex file generated by RIDE was able to be programmed into the internal FLASH of the STR750FV2 microprocessor, which is on a daughterboard PCB that is a part of Raisonance's Reva Starter Kit development platform. Programming the IAP into the STR750's internal flash was done using a JTAG interface. I then connected the REva test board (with STR750 daughtercard) to a computer serial COM port. I used both Hyperterminal and Tera Term for testing the serial connection, and both are communicating to UART0 of the STR750, as the following text is displayed on the terminal window whenever the STR750 is powered up or reset (Hyperterminal shown here):2013-12-03 06:48 AM
Hi,
For the Flash to be mapped at 0 you need two things: 1. The Boot Mode option in Ride should be set to FLASH. That's for the compiler and linker. 2. The Boot pins on the board must be set to FLASH. That's for executing the program without the debugger. (see the board's doc and schematic for details) To check it, program the board using JTAG then power it OFF and ON and check that it speaks on the UART. (without launching debug in Ride) If it does, this proves that your application is programmed and running in Flash at address 0. From your report I think that you are doing those things correctly. Because the program speaks. I'm not expert in those IAP apps, but I would investigate towards other things, like the protocol for sending the bin file. I hope it helps. Best Regards, Vincent