QN9090 Post Build Binary Size Error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

QN9090 Post Build Binary Size Error

ソリューションへジャンプ
13,024件の閲覧回数
gllake
Contributor I

Hello,

My project is running into an error generated by the post-build script dk6_image_tool.py. The error occurs after adding an additional source folder to my project, increasing the flash utilization from 43.20% to 45.08%. I am not sure why increasing the compiled binary size is causing this error, as there is plenty of free space in flash? I can ignore the error, but my board does not work at all after flashing it with the resulting binary--although the source is functionally unchanged. Please see attached for relevant content.

qn9090-build-console-with-sysview.PNG

 

Thanks & regards,

Gabriel

 

タグ(1)
0 件の賞賛
返信
1 解決策
12,903件の閲覧回数
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

Could you please try increasing the __app_stated_size__? This symbol should be found in project properties > C/C++ Build > Settings > MCU Linker > Miscellaneous.
 EduardoZamora_0-1684780748486.png

Please consider that stated size must be a multiple of 8k (i.e., 303104).

Regards,
Eduardo.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
12,964件の閲覧回数
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @gllake

Hope you are doing well.

Could you please provide more details about your project? Are you using any of the example projects from the QN9090 SDK as base for your application? How are you modifying the project?

Which SDK version are you using? What is the version of MCUXpresso you are using?

By any chance, did you modify the dk6_image_tool.py script?

Any additional information that could help me to try to reproduce this issue on my side is appreciated.

Regards,
Eduardo.

0 件の賞賛
返信
12,955件の閲覧回数
gllake
Contributor I

Hi Eduardo, thanks for the quick reply.

My project is based off of the wireless_uart_bm project in the QN9090DK6 SDK version 2.6.5. MCUXpresso v11.4.1_6260. I have not modified the python script.

I have added my own modifications to the project and had that working well for several days, then I added an additional source folder to add SEGGER System View support to the project, and that is when the post build script started throwing this error. I have not yet used any functions from the System View source folder I added and there are no build errors. However, when I exclude the System View source folder from my build, the binary size appears to be less than the "stated_size" threshold and there is no error. 

What is the stated size?

 

regards,

Gabriel

0 件の賞賛
返信
12,904件の閲覧回数
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

Could you please try increasing the __app_stated_size__? This symbol should be found in project properties > C/C++ Build > Settings > MCU Linker > Miscellaneous.
 EduardoZamora_0-1684780748486.png

Please consider that stated size must be a multiple of 8k (i.e., 303104).

Regards,
Eduardo.

0 件の賞賛
返信
12,893件の閲覧回数
gllake
Contributor I

I changed it to 311296 and the error is gone!

 

thank you,

Gabriel

0 件の賞賛
返信