发 帖  
原厂入驻New
在移植《EMWIN实验2 STemWin带UCOS移植》这一例程时出现错误的解决办法?
29 UCOS
分享
在移植 《EMWIN实验2 STemWin带UCOS移植》这一例程时出现
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guidemo.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guidemo_conf.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_touch_driveranalog.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching framewin.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching graph.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_core.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_enablealpha.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_curs1.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching progbar_skinflex.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guiaa_char2.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guiaa_char4.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui__alpha.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching header.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching malloc.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_setalpha.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching button_skinflex.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching button_skinflex.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching button_skinflex.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching button_skinflex.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guidemo_transparentdialog.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching header_skinflex.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching progbar.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_task.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching slider.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching wm.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_fillpolygon.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching scrollbar.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching wm_pid__getprevstate.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_STM32f4xx.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guidemo_graph.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching lcd_rle4.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching lcd_rle8.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching framewin_skin.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching widget_effect_3d.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_timer.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_x_ucosii.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f4xx_rcc.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_touch_driveranalog.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching lcd_rle8.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guiaa_char2.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching lcd_color.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching text.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching ili94xx.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guidemo.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_curs1.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_touch.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching button_skin.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching header_skin.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching progbar_skin.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching scrollbar_skin.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching slider_skin.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_onkey.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_waitevent.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_touch_storestate.o(.bss).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guidrv_template.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guicc_m565.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_alloc.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_encext.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_pid.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guidev_moveandfade.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching graph_scale.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui__managecache.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui__wrap.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_selectlayer.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_touch_storeunstable.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching framewin_skinclassic.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching wm_touch.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_getversionstring.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching ili94xx.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching delay.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_core.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_core.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_core.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_core.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching widget.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching widget_effect_simple.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_charline.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_fillpolygon.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching lcd.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching lcd_aa.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guidev_banding.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching wm__sendmessage.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching wm_setcapturemove.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching w25qxx.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_core.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_core.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching scrollbar.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching wm.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching guidev_staticdevices.o(.data).
..\OBJ\Template.axf: Error: L6407E: Sections of aggregate size 0x644 bytes could not fit into .ANY selector(s).
移植不带OS的正常  请问 问题可能出来哪里?
Temp+OS.zip (7.34 MB )
0
2020-8-27 05:20:17   评论 分享淘帖 邀请回答
10个回答
修改完毕,修改步骤见下面2张图

Temp+OS修改后可编译工程.7z (2.7 MB )
2020-8-27 16:03:05 评论

举报

感谢 感谢 啦   原来是移植时  要将内部的管理内存给设置小点    怪不的说 No space in execution regions with .ANY selector matching    ,我外部接了个2MSRAM    外部SRAM内存  设置1920K可以把
最好把工程发上来。不知道你有没有移植MALLOC这部分的代码
2020-8-27 16:26:16 评论

举报

上传 工程了  麻烦啦
2020-8-27 16:44:45 评论

举报

我发现问题  出来 移植的 touch.c 文件上  因为我自己做的板子没有EEPROM   只有 一个128MBIT的FLSAH  所以我把储存的的触摸信息 放在FLASH里面 所以touch.c  里面的AT24CXX_Write 函数都改用W25QXX_Write  结果就出现上面的错误,但是在单独的OS  或者裸跑 程序 上都没问题   EMWIN+OS 就出现上面的错误了
2020-8-27 17:04:33 评论

举报

但是我现在还是想不到怎么解决。。。
2020-8-27 17:24:01 评论

举报

移植好后的工程   我用的3.5寸的屏幕控制器是ILI9486  外扩的2MSRAM  因为只外扩了一个128MBIT的FLASH  所以触摸屏的信息放在外部FLASH里,感谢些 大家的帮助


EMWIN实验2 STemWin带UCOS移植.zip (25.54 MB )
2020-8-27 17:30:31 评论

举报

大神,我移植EMWIN带UCOSII不成功,照着教程PDF全改完了,编译也没错误,帮我看下,我也是四个任务
start_task()优先级0 堆栈128 跟移植UCOS时一样内容
led1_task()优先级2 堆栈64 LED1亮灭交替
led2_task()优先级3 堆栈64 LED2亮灭交替
emwindemo_task()优先级4 堆栈2048 内容只有GUI_DispStringAt("hour:",0,0);
其他的跟例程源码一样,但是下载进去灯也不闪,屏也没显示。
优先级和堆栈是看例程做的,然后我没有用SRAM的程序因为我的板子是f429-disco的只有SDRAM,貌似没有SRAM,不知道是不是必须用外扩做内存?
我试过把emwindemo_task()整个屏蔽掉,包括define部分,start_task()也就只创建2个LED的任务,灯依然不闪,一点反应都没有。
之前单独移植过ucosii,没有emwin,当时是可以正常的,闪灯,还有浮点函数自加,都没问题。
不过我没有malloc.h,不知道这个文件是不是必须的,而且刚才添加进工程重新试过了也不行。编译也没有任何错误或者警告,这到底是咋回事呢?
2020-8-27 17:37:17 评论

举报

估计是由于没有SRAM,导致了调用mymalloc()函数给emwin分配内存的时候出现了错误导致的,把工程给我发上来。
2020-8-27 17:42:26 评论

举报

今天电脑挂了。。。刚开始学这个,工程太乱了,各种东西都加进去,有点大,刚刚整理了下传上来,大神帮忙看看,现在就开了2个LED的任务了,都不行。。emwin522+ucosii.zip (1.94 MB )
2020-8-27 17:51:57 评论

举报

只有小组成员才能发言,加入小组>>

296个成员聚集在这个小组

加入小组

创建小组步骤

关闭

站长推荐 上一条 /7 下一条

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