What is the minimum resource(FLASH,SRAM) requirement of OSDK on...
634 2 2020-12-14
Uploading and Loding Picture ...(0/1)
o(^-^)o
仰望天空的石头01
lvl.1

Canada
Offline

DJI sample program development platform: CPU: STM32F417IG, FLASH: 1024KB, SRAM: 192KB, 168MHz.
The development platform I have successfully transplanted: CPU: STM32F429IGT6, FLASH: 1024KB, SRAM: 256KB, 180MHz
My target development platform: CPU: STM32F411RE, FLASH: 512KB, SRAM: 128KB, 100MHz
I have successfully ported to STM32F429IGT6 and verified some functions. But when I ported to STM32F411RE, the program was blocked in linker->init(). I think it is caused by memory overflow. The file size after my compilation is: Code=236676  RO-data=41620  RW-data=2336  ZI-data=110396.  The compiled memory usage is close to the maximum memory capacity. I only kept FlightConrolSample and deleted the other samples.
My question is: What is the minimum resource(FLASH,SRAM) requirement of OSDK on STM32? Is there any way to reduce the consumption of SRAM without affecting system performance?

Screenshot 2020-12-14 214429.png
2020-12-14
Use props
kv886
lvl.4

Hong Kong
Offline

look at this https://developer.dji.com/onboar ... guide/hardware.html

Third-Party Onboard Computer
The following introduced the matters when developers choose the STM32's board, if developer need purchase others, please refer to those informations.

Memory: Support SRAM, 16 Mbit and above
Interface
I2C bus interface, need to be compatible with 64-Kbit EEPROMs, ST MEMSs and I / O expanders
Support USB 2.0, with USB-OTG function, support high-speed and full-speed data transmission
Power interface: power jack, USB-FS connector, USB-HS connector, through ST-LINK / V2 or daughter board
Other Functions
Boot from Flash, system memory or SRAM
Four-way control selector with control function
Support JTAG and SW Support trace debugging
Support ST-LINK / V2
2020-12-15
Use props
仰望天空的石头01
lvl.1

Canada
Offline

kv886 Posted at 12-15 00:10
look at this https://developer.dji.com/onboard-sdk/documentation/purchaseguide/hardware.html

Third-Party Onboard Computer

Thank you for your answer, but this is the official standard configuration. In fact, I want to know the minimum configuration and how to reduce the consumption of system resources.
2020-12-15
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules