野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 12023|回复: 3

请教:关于F429调用高分辨率图片的问题

[复制链接]
发表于 2017-4-13 16:38:55 | 显示全部楼层 |阅读模式
各位,下午好,最近调屏遇到如下的问题,请问有谁遇到过类似的问题吗?
使用F429单纯点屏,例程是在野火01. JPEG Display(libjpeg)的基础上改写的,目前,红绿蓝,灰阶,800*600以下图片均OK,现在解决不了1024*600的图片导入,现象就是白屏。[size=13.3333px]修改mgpeg.c中的  数据缓存区域  定义uint8_t  jpegbuf[1024*130]
[size=13.3333px];从100修改到130,可以导入900*500的,程序编译OK。
[size=13.3333px]修改到140就出现空间不足的错误。
[size=13.3333px]Q;请问谁有解决的办法?谢谢

#include <setjmp.h>


FIL jpgFile;            // file objects
FRESULT fres;
UINT fnum;
uint8_t  jpegbuf[1024*140];
uint32_t jbufsize;
/******************** JPEG DECOMPRESSION SAMPLE INTERFACE *******************/

[size=13.3333px]Build target 'STM32F429'
[size=13.3333px]compiling mjpeg.c...

[size=13.3333px]linking...

[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f429_439xx.o(STACK).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching fatfs_sd_sdio.o(.bss).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching bsp_lcd.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching fatfs_sd_sdio.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f4xx_rcc.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching mjpeg.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching ff.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching fatfs_flash_spi.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching stderr.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching stdout.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching mvars.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching mvars.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.data).
[size=13.3333px]..\..\Output\WF-STM32F429.axf: Error: L6407E: Sections of aggregate size 0x3194 bytes could not fit into .ANY selector(s).
[size=13.3333px]Not enough information to list image symbols.
[size=13.3333px]Not enough information to list the image map.
[size=13.3333px]Finished: 2 information, 0 warning and 15 error messages.
[size=13.3333px]"..\..\Output\WF-STM32F429.axf" - 15 Error(s), 0 Warning(s).
[size=13.3333px]Target not created.
[size=13.3333px]Build Time Elapsed:  00:00:09


回复

使用道具 举报

发表于 2017-4-13 17:34:09 | 显示全部楼层
把那个变量定义到SDRAM,参考SDRAM例程里的定义方法
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-4-14 09:13:54 | 显示全部楼层
flyleaf 发表于 2017-4-13 17:34
把那个变量定义到SDRAM,参考SDRAM例程里的定义方法

谢谢回复
//uint8_t  jpegbuf[1024*100];
uint8_t jpegbuf[1024*2048] __attribute__((at(SDRAM_BANK_ADDR+0x500000)));
做出如上更改后,编译OK,但是依然无法调用图片1024*600,难道这么写不对?
这个和SD卡速度有关联吗?
回复 支持 反对

使用道具 举报

发表于 2017-4-14 09:38:45 | 显示全部楼层
joemay 发表于 2017-4-14 09:13
谢谢回复
//uint8_t  jpegbuf[1024*100];
uint8_t jpegbuf[1024*2048] __attribute__((at(SDRAM_BANK_ ...

是这样定义的,写的正确
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-9-29 13:21 , Processed in 0.032690 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表