完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在使用STM8AL3188并且无法读取或写入超过32K的闪存,即使该设备具有64K闪存。这发生在地址0x10000(闪存从地址0x8000开始,使其正好在中途)。我正在使用IAR。我设法通过编辑stm8l15x_flash.h文件并将& sharpif定义的STM8AL31_L_MD移动到高密度部分来修复闪存写入问题。这似乎是此设备的HAL文件库中的错误。我现在遇到一个问题,我在地址0x10000后无法正确读取闪存。我得到随机/垃圾值,我不知道还有什么可以尝试?任何帮助赞赏!
#flash-error#stm8#stm8al3188#flash-read-and-write 以上来自于谷歌翻译 以下为原文 I am using the STM8AL3188 and am unable to read or write flash beyond 32K, even though the device has 64K flash. This occurs at address 0x10000 (flash starts at address 0x8000 making it exactly halfway). I am using IAR. I managed to fix the flash write issue by editing the stm8l15x_flash.h file and moving the &sharpif defined STM8AL31_L_MD to the high density section. This appears to be a bug in the HAL file library for this device. I am now having an issue where I cannot read the flash correctly after address 0x10000. I get random/garbage values and I am not sure what else to try? Any help appreciated! #flash-error #stm8 #stm8al3188 #flash-read-and-write |
|
相关推荐
2个回答
|
|
您是否尝试使用不同的软件进行写入/读取,例如stm8flash?
菲利普 以上来自于谷歌翻译 以下为原文 Did you try to write / read using different software, e.g. stm8flash? Philipp |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2896 浏览 1 评论
3285 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1866 浏览 1 评论
3718 浏览 6 评论
6131 浏览 21 评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
415浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
515浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
342浏览 2评论
使用STM32F407VET6的USB2.0功能,发现ctl后芯片无数据返回,是什么原因可能导致的呢?
248浏览 2评论
用STM32G431开发工程,1.50版本的Package包文件无法输出项目工程
357浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-3-6 02:17 , Processed in 1.198860 second(s), Total 79, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191