2020-10-04 04:27 AM
2020-10-04 04:49 AM
You'll need to find a generic SPL SPI example and adapt it to your specific external flash memory device based in its data sheet.
STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\SPI\SPI_FLASH\readme.txt
2020-10-04 05:56 AM
dear Clive,
From where can I down load STM32Fx_StdPeriph_Lib_V3.5.0 ?
Please share link to it.
Rohit
2020-10-04 07:30 AM
> From where can I down load STM32Fx_StdPeriph_Lib_V3.5.0 ?
2020-10-04 11:11 PM
Thanks
I downloaded it , but unlike Hal Library examples , Ewarm folder containing examples is only single available, so how to link different peripheral projects to IAR Ewarm folder , so that I can compile it and run it ?
Rohit
2020-10-04 11:12 PM
I think I got it , it is mentioned in Read me file. Am tring it.
Rohit
2020-10-06 09:09 PM
Dear Clive,
As per below text from Read me file, I compiled code , but it is showing errors:-
///////////////////////////////////
@par How to use it ?
In order to make the program work, you must do the following :
- Copy all source files from this example folder to the template folder under
Project\STM32F10x_StdPeriph_Template
- Open your preferred toolchain
- Rebuild all files and load your image into target memory
- Run the example
/////////////////////////////////
Warning[25]: Label 'TIM6_DAC_IRQHandler' is defined pubweak in a section implicitly declared root E:\Rohit\St Standard Peri Lib\Zip\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_md_vl.s 385
Warning[25]: Label 'TIM7_IRQHandler' is defined pubweak in a section implicitly declared root E:\Rohit\St Standard Peri Lib\Zip\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_md_vl.s 390
main.c
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned int __iar_builtin_REV16(unsigned int)" (declared at line 199 of "C:\Program Files (x86)\IAR Systems\ E:\Rohit\St Standard Peri Lib\Zip\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1124
Embedded Workbench 8.1\arm\inc\c\iccarm_builtin.h")
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned char __iar_builtin_LDREXB(unsigned char const volatile *)" (declared at line 202 of "C:\Program Files (x86)\ E:\Rohit\St Standard Peri Lib\Zip\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1144
IAR Systems\Embedded Workbench 8.1\arm\inc\c\iccarm_builtin.h")
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __iar_builtin_LDREXH(unsigned short const volatile *)" (declared at line 203 of "C:\Program Files E:\Rohit\St Standard Peri Lib\Zip\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1154
(x86)\IAR Systems\Embedded Workbench 8.1\arm\inc\c\iccarm_builtin.h")
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned int __iar_builtin_STREXB(unsigned char, unsigned char volatile *)" (declared at line 207 of "C:\Program E:\Rohit\St Standard Peri Lib\Zip\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1175
Files (x86)\IAR Systems\Embedded Workbench 8.1\arm\inc\c\iccarm_builtin.h")
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned int __iar_builtin_STREXH(unsigned short, unsigned short volatile *)" (declared at line 208 of "C:\Program E:\Rohit\St Standard Peri Lib\Zip\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1186
Files (x86)\IAR Systems\Embedded Workbench 8.1\arm\inc\c\iccarm_builtin.h")
Please help ot remove those errors.
Thanks
Rohit
2020-10-08 07:15 AM
Some one please revert if having solution.
I just compiled given example by ST standard Library Peripheral, still error in it.
Rohit
2020-10-11 04:51 AM
Some body please share , if aware of such error.
Waiting