|
你好,请问可不可以提供一下STM32F429用IAR做的外部SPIFLASH(例如W25Q128)下载算法例程,现在我的下载算法是能下载到外部FLASH但是不能跳到main函数,麻烦指教一下,谢谢! |
stm32 f411偶发性无法启动大神求助
在擦除flash时 同时挂起中断 是否会造成卡死以及相关的卡死机制
STM32F407VET6,使用cubeIDE下载跑不起来
FLASH擦除轮询等待时CPU真的会轮询吗
STM32F417 RTC读取亚秒寄存器
STM32F405ZGT6 批次22+ 问下这颗料,60度烘烤12小时后,出现鼓包,是怎么回事? 原厂有标准的烘烤温度范围 跟时长范围吗?
非官方开发板第一次下载成功,之后就各种失败
STM32H5F/E 相比 STM32F4 系列最大的优势是什么?
ST TOF问题请教
STM32F4的SPI端口,如何实现多通道输入?
微信公众号
手机版
这边看起来行不通哦。
Embedded Workbench 9.1\arm\src\flashloader\framework2\
其中,flash_loader.c, flash_loader.h, flash_loader_asm.s, flash_loader_extra.h 这
四个文件是供 C-SPY 调用的,不用去修改。只用修改 template 文件夹内的
flash_loader_ram.c,实现相应的 FlashInit, FlashWrite, FlashErase 函数即可。
也可以直接使用 Embedded Workbench 9.1\arm\src\flashloader\ST 目
录下已有的例程,比如 FlashSTM32H7xx_QSPI 目录就是 STM32H7 板上实现 QSPI
flashloader 的例程。
你可以在 www.stmcu.com.cn搜索LAT1426来参考。
不是的,只是想把图片数据放到外部FLASH,
能不能给我邮箱呀,,我发两个工程你帮我看看好不好呀
已经按照这个编写的了,,能不能给我邮箱呀我发我的工程给你帮忙看看好不好呀
从提示上看,应该是访问越界了,可以参考M4核的手册。
如果不改变存贮和运行方式,可以尝试修改MPU。
参考 ARM 关于 Cortex-M4 内核 IACCVIOL 位的说明. ], L* F/ }; k2 P- k! j) G
Instruction access violation flag:! U, \6 w) ?5 s7 G( p' t
0 = no instruction access violation fault, l O y6 ^) H
1 = the processor attempted an instruction fetch from a location that does not permit execution. The
PC value stacked for the exception return points to the faulting instruction. The processor has not written a fault address to the MMAR. This fault condition occurs on any access to an XN (eXecute Never) region, even when the MPU is disabled or not present. Potential reasons:
a) Branch to regions that are not defined in the MPU or defined as non-executable.
b) Invalid return due to corrupted stack content.
c) Incorrect entry in the exception vector table