我这边用CCS编译opt3101的SDK,MCU是MSP430F5503,例程编译之后大小超过了32K,没办法下载到设备里面呀,
我们买的官方DEMO板子也是用的MSP430F5503
sdk默认的选的是MSP430F5529,怎么会这样了?
下面是编译器的报错:
"../lnk_msp430f5503.cmd", line 145: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. placement with alignment fails for section ".text" size 0xf3b6. Available memory ranges:
Susan Yang:
您可以先看一下
e2e.ti.com/…/815766
The SDK tool provides all C++ functions needed for calibration. This can be integrated to an existing system or run on any host with C++ compiler (microprocessor, linux PC, windows, etc.). It can also be used in calibration tool mode on a TI MSP430 launchpad to speed calibration process which requires no coding and simply commenting a line of code per calibration step and compiling the code in Code Composer Studio. Details of this method are run through step-by-step in the SDK user guide document included in the SDK.
我认为是这样的,这个SDK主要是用于OPT3101 和 MSP430F5529 launchpad来使用的(具体可以看一下 OPT3101 SDK Users Guide内搜索5529)
而 OPT3101EVM is available here: www.ti.com/…/OPT3101EVMDevice is pre-calibrated and ready for use. EVM demonstrates using OPT3101 for long range single channel ToF distance measurements.
该开发板已经预校准了,用户可以根据下面的用户指南来操作,使用的是OPT3101EVME3_Latte_v0p8.zip PC端软件。根据我的理解该开发的固件是已经预先烧录进去了。
www.ti.com.cn/…/sbau309a.pdf
若是还是不太理解,建议去英文论坛发帖,谢谢
e2e.ti.com/…/1023
victccmc:
回复 Susan Yang:
您好,请问OPT3101EVM的源码开放么?
Susan Yang:
回复 victccmc:
e2e.ti.com/…/801968
根据传感器论坛工程师的回复,目前没有公布源码