| поискавой системы для электроныых деталей |
|
AN4486 датащи(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4486 датащи(HTML) 12 Page - STMicroelectronics |
|
12 / 29 page ![]() OTA bootloader service description AN4486 12/29 DocID026293 Rev 2 2.3.2 OTA Service Manager The OTA Service Manager acts as a standalone OTA bootloader providing the BLE OTA service to any BLE application which wants to use bootloader features without the need to include any OTA capability. The OTA Service Manager application IAR projects + header & source files are provided within the BlueNRG SW package on Project folder, as follows: 1. OTA_ServiceManager\EWARM\OTA_ServiceManager.eww for the BlueNRG device. 2. OTA_ServiceManager\EWARM_BlueNRG-MS\OTA_ServiceManager.eww for the BlueNRG-MS device. The OTA Service Manager application uses the platform LEDs as follows: Table 4: LEDs for BlueNRG OTA Service Manager BlueNRG, BlueNRG-MS development platforms BlueNRG, BlueNRG-MS USB dongles DL1 (yellow) is always blinking (1) D2 (red) is always blinking (1) DL2 (orange) is ON during OTA upgrade D3 (orange) is ON during OTA upgrade Notes: (1)When device is connected, the LED blinks faster. 2.3.3 New BLE application A BLE application which wants to use the OTA Service Manager capability is only required to address these basic steps: 1. On EWARM workspace, add ST_OTA_BASIC_APPLICATION preprocessor & linker option 2. On EWARM workspace, use the reference stm32l1xx_flash.icf linker file for matching the Flash layout described in Figure 4: "BLE OTA Service Manager Flash layout" (it is provided within the BlueNRG SW package, demo applications folder) 3. On EWARM workspace, add reference to file btl.c and add path related to btl.h file 4. On BLE user application, include the header file btl.h 5. Add some user code for allowing BLE application to launch the OTA Service Manager application. A simple button could be used for controlling the call to Switch_To_OTA_Service_Manager_Application (this API is provided within btl.c file). Note: When using the OTA Service Manager, the BLE application does not need to include any OTA bootloader service. Also, the application can always be placed at fixed base address 0x08006200. The related vector table base offset 0x6800 is defined within file btl.h, as follows: VECTOR_TABLE_BASE_DFU_OFFSET + VECTOR_TABLE_BASE_RESET_MANAGER_OFFSET + VECTOR_TABLE_BASE_ADDRESS_OTA_BASIC_APP where: VECTOR_TABLE_BASE_DFU_OFFSET = 0x3000 (DFU size). VECTOR_TABLE_BASE_RESET_MANAGER_OFFSET = 0x800 (Reset Manager size). VECTOR_TABLE_BASE_ADDRESS_OTA_BASIC_APP = 0x3000 (OTA Service Manager size). |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |