User manual

Creating a project using the GNU toolchain Ride7 for ARM
- 10 -
Your application project is now created. The Ride7 environment should more or less look like the
one shown on the picture below:
The Boot Mode” option (visible in the Advanced ARM Options section on the
screenshot above) determines the memory space containing the image of the code that the
target executes after a reset. You can select either “FLASH”, “RAM”, or “External
Memory”. For more information about the boot modes, refer to your device datasheet and
the section “Using and choosing the boot mode” below. For your first try, choose “RAM”.
The Use Thumb Mode” option allows you to choose between the Thumb or ARM
modes, for STRx devices. See the device datasheet for more information. The Thumb2
mode is automatically selected when using a STM32 device. The Interwork option allows
you to select a different ARM/Thumb mode for each source file of the project.
Add files to the project, build and debug it as explained in the Ride7 manual (common to
all targets). Click “Help”->”View Documentations” for seeing it.
2.4 Using and choosing the boot mode
After a reset, the STRx and STM32 microcontrollers start executing the code at address zero:
For the STR71x and STR75x, this code is an image of one of the other memory spaces Flash,
RAM, or External Memory. The boot mode is determined by the state of specific pins at reset.
See your device datasheet for more information.
For the STR73x and STR91x, only the Flash can be mapped at 0. However, a pseudo RAM mode
can be managed by Ride: the application is loaded in RAM and the reset vector just jumps to the
RAM segment.