编译一个cc2530程序时有错误:Fatal Error[e72] :Segement BANKED_CODE must be define in a segment defintion请问是什么原因?
2014-03-22 23:47
:- Defining a new segement and section in STVD for the linker, specificed location for test issues should
2019-02-27 15:15
MCP2515是什么?MCP2515协议控制器有哪些功能呢?
2022-03-07 08:49
在UHF RFID阅读器ST25RU3993中,我在启动VCO时遇到了一些问题。在VCO控制寄存器11h中,我可以改变内部振荡器偏置电流。通过从默认值更改它可以获得什么?我也可以手动选择VCO范围段,我想这样做是为了加快频率的变化,但是我如何找出最好的VCO段,是否可以计算它?在数据表的第2.3.1节中,它说:“有关使用1800MHz VCO的详细信息,请参见专用应用说明”。哪里可以找到这个应用程序。注意? #UHF-RFID阅读器,st25ru3993以上来自于谷歌翻译以下为原文 In the UHF RFID reader ST25RU3993 I am having a little bit of a problem with startup of the VCO.In VCO control register 11h I can change the internal oscillator bias current. What do I gain by changing it from the default ?I can also manually select the VCO range segment, I will like to do that to speed up the change of frequency, but how do I figure out the best VCO segment, is it possible to calculate it ?In section 2.3.1 in the data sheet it says that: ' Details on using the 1800MHz VCO are described in a dedicated application note'.Where can I find this app. note?#uhf-rfid-reader-st25ru3993
2019-07-26 15:57
你好, 我将我的项目从IAR移动到COSMIC和STVD,现在使用COSMIC编译器我总是得到错误消息''#error clnk Debug \ densitometer_st.lkf:1符号_FLASH_NCR2未定义((C:\ Program Files(x86)\ COSMIC \ 32K_Compilers \ CXSTM8 \ Lib \ libm0.sm8)eepwrl.o(C:\ Program Files(x86)\ COSMIC \ 32K_Compilers \ CXSTM8 \ Lib \ libm0.sm8)eeprom.o) 命令:''clnk -l''C:\ Program Files(x86)\ COSMIC \ 32K_Compilers \ CXSTM8 \ Lib'' - o Debug \ densitometer_st.sm8 -mDebug \ densitometer_st.map Debug \ densitometer_st.lkf''失败,返回值为:1退出代码= 1。''。 我搜索了这个主题,我发现,不知何故有必要手动实现这个定义:volatile char FLASH_CR1 @ 0x5050; / *闪存控制寄存器1 * /volatile char FLASH_CR2 @ 0x5051; / *闪存控制寄存器2 * /// volatile char FLASH_NCR2 @ 0x5051; / * Flash互补控制注册2 * /volatile char FLASH_PUKR @ 0x5052; / *闪存程序内存不保护注册* /volatile char FLASH_DUKR @ 0x5053; / *数据EEPROM unprotection reg * /volatile char FLASH_IAPSR @ 0x5054; / * Flash in-appl Prog。状态reg * / 它开始变得奇怪,因为我的stm8l052c6没有NCR2寄存器。 所以我想,我需要设置一个正确的定义,编译器从文件中获取所有必要的定义。 我还检查了STVD中的MCU选择。选择了正确的一个。 正如您所看到的,我还尝试定义NCR2,但如果我这样做,则write命令会终止正在运行的程序。 所以请有人帮我解决这个问题。谢谢和我以上来自于谷歌翻译以下为原文 Hallo, I moved my project from IAR to COSMIC and STVD and now with the COSMIC Compiler I always get the error message ''#error clnk Debug\densitometer_st.lkf:1 symbol _FLASH_NCR2 not defined ((C:\Program Files (x86)\COSMIC\32K_Compilers\CXSTM8\Lib\libm0.sm8)eepwrl.o (C:\Program Files (x86)\COSMIC\32K_Compilers\CXSTM8\Lib\libm0.sm8)eeprom.o ) The command: ''clnk -l''C:\Program Files (x86)\COSMIC\32K_Compilers\CXSTM8\Lib''-o Debug\densitometer_st.sm8 -mDebug\densitometer_st.map Debug\densitometer_st.lkf '' has failed, the returned value is: 1 exit code=1.''. I searched on this topic and i found, that somehow it is necessary to manually implement this defines: volatile char FLASH_CR1@0x5050; /* Flash Control Register 1 */ volatile char FLASH_CR2@0x5051; /* Flash Control Register 2 */ //volatile char FLASH_NCR2 @0x5051; /* Flash Complementary Control Reg 2 */ volatile char FLASH_PUKR @0x5052; /* Flash Program memory unprotection reg */ volatile char FLASH_DUKR @0x5053; /* Data EEPROM unprotection reg */ volatile char FLASH_IAPSR@0x5054; /* Flash in-appl Prog. Status reg */ And there it starts to get strange, because my stm8l052c6 does not have a NCR2 register. So I guess, that i need to set a correct define and the compiler takes all the necessary defines from a file. I also checked the MCU Selection in STVD. There is the correct one selected. As you can see, i also tried to define the NCR2 but if i do so, the write command kills the running program. So please can someone help me with this problem.Thanks Andi
2018-11-20 10:22