完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
|
|
相关推荐
12个回答
|
|
你好
我用手指触摸水晶针,程序不能正常进行。这可以原谅...... 但是当我离开手指......断电...... Poweron再次......我发现程序逃跑了...上帝拯救我!我必须再次编程恢复 为什么?! 问候 wolver 以上来自于谷歌翻译 以下为原文 Hello I use finger touch crystal pin, The programm do not go on normally. This can be Forgiven... But when I left finger ... Poweroff ... Poweron again ... I find the program run away...God save me! I must programm it again to restore Why?! Regards wolver |
|
|
|
嗨沃尔弗,
STM8A遵循汽车设备所需的标准EMC合规性测试。你能详细解释一下你的测试吗?所有电源引脚上都有去耦电容吗?正如你在下面所说,程序跑掉了,你的意思是程序内存是空白还是已损坏?您正在使用哪种STM8A设备? 顺便说一句,您正在使用STM8A进行的项目。您是ST客户还是在ST ABU工作? 问候, Jatin 以上来自于谷歌翻译 以下为原文 Hi Wolver, STM8A follows the standard EMC compliancy tests needed for the automotive devices. Could you explain your test in more details? Do you have de-coupling capacitors present on all the power supply pins? As you said below, the program runs away, do you mean that the program memory is blank or it is corrupted? Which STM8A device, you are using? BTW, what project you are working on with STM8A. Are you a ST customer or working inside ST ABU? Regards, Jatin |
|
|
|
嗨贾丁
恩... 1.我的所有电源引脚都有去耦电容。你可以看到http://www.st.com/mcu/modules/Splatt_Forums/downloadtemp/MCU_Block___01_STM8AH5188.pdf 2.'程序跑掉'意味着'闪存已更改,程序无法继续... 3,项目采用STM8AH51A8,专为中国一汽大众汽车有限公司生产的B50型轿车设计(http://www.faw-vw.com) 我是ST客户...... 5.此问题更多细节报告给ST FAE(joyce.yan@st.com mailto:sherry.li@st.com 邮寄地址:zhao-yi.li@st.com 山海&北京在中国。,因为我不擅长写英文... 这个问题必须检查并解决......否则,STM8A将为这个汽车项目说好话...... 问候 wolver 以上来自于谷歌翻译 以下为原文 Hi Jatin en... 1. I have de-coupling capacitors present on all the power supply pins. You can see http://www.st.com/mcu/modules/Splatt_Forums/downloadtemp/MCU_Block___01_STM8AH5188.pdf 2. 'program runs away' means' flash was changed and programm did not go on.. 3. The project use STM8AH51A8, That is designed for the car of model B50 which produced by FAW-VW Automobile Co., Ltd. in China(http://www.faw-vw.com) 4. I am ST customer... 5. This question more details is reported to ST FAE(joyce.yan@st.com mailto:sherry.li@st.com mailto:zhao-yi.li@st.com ) ShanHai & Beijing in China., Since I am not good at writing English... This question must be checked out and resolved... otherwise, STM8A will be say good by for this automotive project... Regards wolver |
|
|
|
感谢Wolver以下信息。
没问题,我会从Joyce Yan那里得到问题的细节。当然,我们将帮助您理解并解决此问题。 问候, Jatin 以上来自于谷歌翻译 以下为原文 Thanks Wolver for the below info. No problem, I will get the problem details from Joyce Yan. For sure, we will help to understand and resolve this problem. Regards, Jatin |
|
|
|
嗨贾丁
感谢帮助! 请注意...... 这个问题将在2009-5-15之前解决。 如果没有,我会对STM8A说抱歉... 问候 wolver 以上来自于谷歌翻译 以下为原文 Hi Jatin Thanks for help! Attention please ... This question will be resolved deadline is 2009-5-15. If not, I will say sorry about STM8A ... Regards wolver |
|
|
|
我已经向Joyce Yan询问了问题的细节。
几个问题: 你在代码中编写程序存储器吗? 2.未使用的内存位置是否填充了陷阱指令? 3.程序存储器的哪个部分被更改? 您还可以查看应用笔记AN2860。在AN中有一些其他的AN建议。 以上来自于谷歌翻译 以下为原文 I have alreay asked Joyce Yan about the problem details. Few questions: 1. Are you writing program memory in your code? 2. Unused memory location are filled with trap instruction or not? 3. What portion of program memory is changed ? You can also have a look at the app note AN2860. There are some other AN's suggested inside this AN. |
|
|
|
嗨贾丁
你在代码中编写程序存储器吗? 答:不,您可以查看我的源代码来自Joyce Yan 2.未使用的内存位置是否填充了陷阱指令? 答:不,我没有填写陷阱指令,但我会按照乔伊斯·严的邮件来试试...... 3.程序存储器的哪个部分被更改? A:我已将所有信息邮寄给Joyce Yan。请联系她。 问候 wolver 以上来自于谷歌翻译 以下为原文 Hi Jatin 1. Are you writing program memory in your code? A: No, You can check my source code from Joyce Yan 2. Unused memory location are filled with trap instruction or not? A: No, I have not filled with trap instruction, But I will try it according to Joyce Yan's mail... 3. What portion of program memory is changed ? A: I have mailed all informatios to Joyce Yan. please contact her. Regards wolver |
|
|
|
嗨贾丁
应用笔记AN2860在哪里? 问候 wolver 以上来自于谷歌翻译 以下为原文 Hi Jatin Where is app note AN2860? Regards wolver |
|
|
|
嗨沃尔弗,
请在下面链接中找到: http://www.st.com/stonline/products/literature/an/15267.pdf 问候 mozra 以上来自于谷歌翻译 以下为原文 Hi Wolver, Please find below the link: http://www.st.com/stonline/products/literature/an/15267.pdf Regards mozra |
|
|
|
嗨贾丁
我发现Flash的重点已经改变了...... 当程序运行正常时,然后让晶体停止自我调整(例如:手指触摸水晶针)片刻...断电...电源...闪光灯改变了,程序没有继续。 我在main()的开头使用了一些代码,如下所示: // ----------- int main(void) { _asm( '' SIM N ''); //禁用中断 FLASH_PUKR = 0x00; //锁定闪光灯 RST_SR = 0x1F; //清除重置标志 CLK_CKDIVR = 0x00; // HSI_DIV = 1; HSE_DIV = 1 CLK_ECKR = 0x01; // HSE时钟开启 CLK_SWCR = 0x06; //启用开关和中断 CLK_SWR = 0xB4; // HSE作为主时钟。 _asm( '' 轮缘 N ''); //启用中断 而(gFlag_run!); ...... 返回0; } // ------------ volatile unsigned char gFlag_run = 0; @near @interrupt void CLK_IRQHandler(void) { CLK_SWCR& = ~0x08; //清除SWIF gFlag_run = 1; //设置运行标志 返回; } // ------------ 但魔鬼还活着。 问候 wolver 以上来自于谷歌翻译 以下为原文 Hi Jatin I find the focus of Flash was changed... When programm run normally, Then make the crystal stop to self_oscillate(Such as: finger touch crystal pin) a moment...poweroff...poweron...The flash was changed, programm did not go on. I used some code at beginning of main() as follow: //----------- int main(void) { _asm(''simn''); // Disable interrupt FLASH_PUKR = 0x00; // LOCK flash RST_SR = 0x1F; // Clear reset flag CLK_CKDIVR = 0x00; // HSI_DIV = 1; HSE_DIV = 1 CLK_ECKR = 0x01; // HSE clock on CLK_SWCR = 0x06; // Enable switch and interrupt CLK_SWR = 0xB4; // HSE as the master clock. _asm(''rimn''); // Enable interrupt while(!gFlag_run); ...... return 0; } //------------ volatile unsigned char gFlag_run = 0; @near @interrupt void CLK_IRQHandler(void) { CLK_SWCR &= ~0x08; // clear SWIF gFlag_run = 1; // Set run flag return; } //------------ But the Devil is still live. Regards wolver |
|
|
|
你好
晕!邪恶被杀了...当我踢出所有功能的'静态@inline'键时声明。从Joyce Yan的邮件中可以看出它! 感谢所有ST工程师的帮助,STM8A是优秀的8位MCU,但我不确定是否需要改进STVD(Comsic)......闪存改变的危险已经彻底解决了? 问候 wolver |
|
|
|
很高兴知道问题在你的最后解决了。
但我们想详细研究它。 Joyce将与您联系。 谢谢 问候, Jatin 以上来自于谷歌翻译 以下为原文 Glad to know that the problem is solved at your end. But we would like to investigate it in detail. Joyce will contact you for this. Thanks Regards, Jatin |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2711 浏览 1 评论
3235 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3643 浏览 6 评论
6030 浏览 21 评论
1332浏览 4评论
206浏览 3评论
194浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
348浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
439浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-18 12:13 , Processed in 1.187928 second(s), Total 68, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号