2018-04-09 06:02 AM
Hi,
I'm trying fw bluetooth update withBLE OTA service manager followingAN48
I successfully flashed theOTA_ResetManager.eww (ServiceManager workspace).
When I try to flash the Ble_Beacon
(
ServiceManager workspace) or theSensorDemo
(
ServiceManager workspace)
I got this error:
Flash download warning: 5955 out of 81539 bytes from data record CODE:[0x100558C0,0x10069742] will not be flashed
There were warnings while generating flash loader input.�?�?
I'm using:
BlueNRG-2 device
BlueNRG-1_2 DK 2.6.0
IAR Embedded Workbench 7.1
What can I do?
Thanks
#ota #servicemanagerSolved! Go to Solution.
2018-04-17 03:09 AM
Hi Francesco,
Please run C:\Program Files (x86)\STMicroelectronics\BlueNRG-1_2 DK 2.6.0\Utility\EWARM_BlueNRG-2_Flasher.exe
extract all the contents to where your IAR is located, by default should be:
C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5
Restart IAR EWARM, and then
modify project settings accordingly:
Best Regards,
Winfred
2018-04-16 01:32 AM
Hi Francesco,
I cannot replicate it with IAR EW 7.80.4.
Could you please check if project settings are correct:
Best Regards,
Winfred
2018-04-16 02:44 AM
Hi Winfred,
I have no device
BlueNRG-2, I have only
BlueNRG-1 in list.
This problem is related to my IAR version?
Thanks
2018-04-16 08:40 PM
Hi Francesco,
It is not related to the version of IAR EWARM.
BlueNRG-1 cannot do OTA with BLE stack version 2.x. (constrained by flash size)
Please use stack version 1.x instead.
DK package is available:
Best Regards,
Winfred
2018-04-17 12:59 AM
Hi Winfred,
I am using BlueNRG-2.
I discovered that the problem is not related to OTA. The error comes out when my program size exceed flash address 0x10067FFF (160K).
Using Bluenrg ST-Link Utility I can successfully flash the device.
What can I do?
2018-04-17 01:38 AM
Thanks. Now it works.
2018-04-17 03:09 AM
Hi Francesco,
Please run C:\Program Files (x86)\STMicroelectronics\BlueNRG-1_2 DK 2.6.0\Utility\EWARM_BlueNRG-2_Flasher.exe
extract all the contents to where your IAR is located, by default should be:
C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5
Restart IAR EWARM, and then
modify project settings accordingly:
Best Regards,
Winfred