OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 4267|回复: 3

STM32F767ZI 与 OV5640 的代码?

[复制链接]

3

主题

8

帖子

0

精华

初级会员

Rank: 2

积分
113
金钱
113
注册时间
2013-6-2
在线时间
14 小时
发表于 2018-5-28 17:48:04 | 显示全部楼层 |阅读模式
1金钱


Hi, all:

求助!!

只有一块 STM32F767ZI 的板子,想驱动ATK-OV5640,但是搜索全网,没有找到相关资料。
Openedv 只有相关STM32F429驱动ATK-OV5640的例子:http://www.openedv.com/thread-77924-1-1.html

有现存的代码可以参照一下吗?谢谢...


Pei

最佳答案

查看完整内容[请看2#楼]

STM32F767IGT6的HAL库版本的例程 阿波罗F767资料 https://pan.baidu.com/s/1xJ2njOOkQncq3oJ_F8rVWA
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

109

主题

5564

帖子

0

精华

资深版主

Rank: 8Rank: 8

积分
10571
金钱
10571
注册时间
2017-2-18
在线时间
1914 小时
发表于 2018-5-28 17:48:05 | 显示全部楼层
STM32F767IGT6的HAL库版本的例程
阿波罗F767资料
https://pan.baidu.com/s/1xJ2njOOkQncq3oJ_F8rVWA

实验38 摄像头实验.zip

20.49 MB, 下载次数: 76

回复

使用道具 举报

3

主题

8

帖子

0

精华

初级会员

Rank: 2

积分
113
金钱
113
注册时间
2013-6-2
在线时间
14 小时
 楼主| 发表于 2018-5-29 01:49:15 | 显示全部楼层
本帖最后由 jiapei100 于 2018-5-29 02:29 编辑
peng1554 发表于 2018-5-28 17:48
STM32F767IGT6的HAL库版本的例程
阿波罗F767资料
https://pan.baidu.com/s/1xJ2njOOkQncq3oJ_F8rVWA

1)硬件:我不是买的阿波罗STM32F767ZI,而是买的 Nucleo-F767ZI
ATK-OV5640怎么接 Nucleo-F767ZI
        9,ALIENTEK OV5640摄像头模块,连接关系为:  
                OV5640模块 ------------ STM32开发板
                 OV_D0~D7  ------------  PB8/PB9/PD3/PC11/PC9/PC8/PC7/PC6
                 OV_SCL    ------------  PB4
                 OV_SDA    ------------  PB3
                 OV_VSYNC  ------------  PB7
                 OV_HREF   ------------  PH7
                 OV_RESET  ------------  PA15
                 OV_PCLK   ------------  PA6
                 OV_PWDN   ------------  PCF8574_P2


2)软件:

编译还是有这两个错误...
[mw_shl_code=bash,true]/opt/GCCToolChains/gnu-mcu-eclipse/arm-none-eabi-gcc/7.2.1-1.1-20180401-0515/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: F767ZI_OV5640_Openedv.elf section `.bss' will not fit in region `RAM'
/opt/GCCToolChains/gnu-mcu-eclipse/arm-none-eabi-gcc/7.2.1-1.1-20180401-0515/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: region `RAM' overflowed by 127372200 bytes[/mw_shl_code]


更具体的说:

[mw_shl_code=bash,true]Building target: F767ZI_OV5640_Openedv.elf
Invoking: GNU ARM Cross C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=soft -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra  -g3 -T mem.ld -T libs.ld -T sections.ld -nostartfiles -Xlinker --gc-sections -L"../ldscripts" -Wl,-Map,"F767ZI_OV5640_Openedv.map" --specs=nano.specs -o "F767ZI_OV5640_Openedv.elf"  ./system/src/stm32f7-hal/stm32f7xx_hal.o ./system/src/stm32f7-hal/stm32f7xx_hal_cortex.o ./system/src/stm32f7-hal/stm32f7xx_hal_crc_ex.o ./system/src/stm32f7-hal/stm32f7xx_hal_dcmi.o ./system/src/stm32f7-hal/stm32f7xx_hal_dfsdm.o ./system/src/stm32f7-hal/stm32f7xx_hal_dma.o ./system/src/stm32f7-hal/stm32f7xx_hal_dma_ex.o ./system/src/stm32f7-hal/stm32f7xx_hal_flash.o ./system/src/stm32f7-hal/stm32f7xx_hal_gpio.o ./system/src/stm32f7-hal/stm32f7xx_hal_iwdg.o ./system/src/stm32f7-hal/stm32f7xx_hal_jpeg.o ./system/src/stm32f7-hal/stm32f7xx_hal_ltdc.o ./system/src/stm32f7-hal/stm32f7xx_hal_mdios.o ./system/src/stm32f7-hal/stm32f7xx_hal_pwr.o ./system/src/stm32f7-hal/stm32f7xx_hal_pwr_ex.o ./system/src/stm32f7-hal/stm32f7xx_hal_rcc.o ./system/src/stm32f7-hal/stm32f7xx_hal_rcc_ex.o ./system/src/stm32f7-hal/stm32f7xx_hal_sdram.o ./system/src/stm32f7-hal/stm32f7xx_hal_smartcard_ex.o ./system/src/stm32f7-hal/stm32f7xx_hal_sram.o ./system/src/stm32f7-hal/stm32f7xx_hal_tim.o ./system/src/stm32f7-hal/stm32f7xx_hal_tim_ex.o ./system/src/stm32f7-hal/stm32f7xx_hal_uart.o ./system/src/stm32f7-hal/stm32f7xx_ll_fmc.o  ./system/src/newlib/_cxx.o ./system/src/newlib/_exit.o ./system/src/newlib/_sbrk.o ./system/src/newlib/_startup.o ./system/src/newlib/_syscalls.o ./system/src/newlib/assert.o  ./system/src/diag/Trace.o ./system/src/diag/trace_impl.o  ./system/src/cortexm/_initialize_hardware.o ./system/src/cortexm/_reset_hardware.o ./system/src/cortexm/exception_handlers.o  ./system/src/cmsis/system_stm32f7xx.o ./system/src/cmsis/vectors_stm32f767xx.o  ./src/USMART/usmart.o ./src/USMART/usmart_config.o ./src/USMART/usmart_str.o  ./src/SYSTEM/usart/usart.o  ./src/SYSTEM/sys/sys.o  ./src/SYSTEM/delay/delay.o  ./src/HARDWARE/USART2/usart2.o  ./src/HARDWARE/TIMER/timer.o  ./src/HARDWARE/SDRAM/sdram.o  ./src/HARDWARE/PCF8574/pcf8574.o  ./src/HARDWARE/OV5640/ov5640.o ./src/HARDWARE/OV5640/sccb.o  ./src/HARDWARE/MPU/mpu.o  ./src/HARDWARE/LED/led.o  ./src/HARDWARE/LCD/lcd.o ./src/HARDWARE/LCD/ltdc.o  ./src/HARDWARE/KEY/key.o  ./src/HARDWARE/IIC/myiic.o  ./src/HARDWARE/DCMI/dcmi.o  ./src/_initialize_hardware.o ./src/_write.o ./src/main.o ./src/stm32f7xx_hal_msp.o   
/opt/GCCToolChains/gnu-mcu-eclipse/arm-none-eabi-gcc/7.2.1-1.1-20180401-0515/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: F767ZI_OV5640_Openedv.elf section `.bss' will not fit in region `RAM'
/opt/GCCToolChains/gnu-mcu-eclipse/arm-none-eabi-gcc/7.2.1-1.1-20180401-0515/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: region `RAM' overflowed by 127372200 bytes
collect2: error: ld returned 1 exit status
make: *** [F767ZI_OV5640_Openedv.elf] Error 1
makefile:77: recipe for target 'F767ZI_OV5640_Openedv.elf' failed[/mw_shl_code]


有什么配置需要特殊注意的么?

Cheers
Pei



回复

使用道具 举报

3

主题

8

帖子

0

精华

初级会员

Rank: 2

积分
113
金钱
113
注册时间
2013-6-2
在线时间
14 小时
 楼主| 发表于 2018-5-29 05:30:44 | 显示全部楼层
peng1554 发表于 2018-5-28 17:48
STM32F767IGT6的HAL库版本的例程
阿波罗F767资料
https://pan.baidu.com/s/1xJ2njOOkQncq3oJ_F8rVWA


1)硬件:怎么接线?
我不是买的阿波罗STM32F767ZI,而是买的 Nucleo-F767ZIATK-OV5640 怎么接 Nucleo-F767ZI?板子上,没有 PB8/PB9/PD3/PC11/PC9/PC8/PC7/PC6, PB4, PB3, PB7, PH7, PA15, PA6, PCF8574_P2 等这些 pins ?

        9,ALIENTEK OV5640摄像头模块,连接关系为:  
                OV5640模块 ------------ STM32开发板
                 OV_D0~D7  ------------  PB8/PB9/PD3/PC11/PC9/PC8/PC7/PC6
                 OV_SCL    ------------  PB4
                 OV_SDA    ------------  PB3
                 OV_VSYNC  ------------  PB7
                 OV_HREF   ------------  PH7
                 OV_RESET  ------------  PA15
                 OV_PCLK   ------------  PA6
                 OV_PWDN   ------------  PCF8574_P2



2)软件:编译错误!
用你给我的资料,编译仍然存在两个错误:

[mw_shl_code=bash,true]/opt/GCCToolChains/gnu-mcu-eclipse/arm-none-eabi-gcc/7.2.1-1.1-20180401-0515/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: F767ZI_OV5640_Openedv.elf section `.bss' will not fit in region `RAM'
/opt/GCCToolChains/gnu-mcu-eclipse/arm-none-eabi-gcc/7.2.1-1.1-20180401-0515/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: region `RAM' overflowed by 127372200 bytes
collect2: error: ld returned 1 exit status
makefile:77: recipe for target 'F767ZI_OV5640_Openedv.elf' failed
make: *** [F767ZI_OV5640_Openedv.elf] Error 1[/mw_shl_code]


我用的是 GNU MCU Eclpse  。


能不能再给一点细节的建议?谢谢...
Pei




回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-6 22:43

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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