embedded 相关问题

嵌入式系统是指嵌入式系统,涉及微控制器/ DSP固件编程,实时系统,电子接口,硬件驱动器,串行总线通信等领域。



如何除以1000000,而不会导致以下内容:未定义的引用'__udivdi3'

我有一个UINT64_T,我需要将其除以1000000。我正在嵌入式系统上工作,并且仅执行部门导致此错误:

回答 1 投票 0





使用硬件流量控制

为OMAP L138的硬件流量控制提供了一些帮助测试UART实现的帮助。为了测试实现我使用微型模拟串行链接的另一端,我是

回答 0 投票 0

文本显示不正确 - 字符是正方形 - 找不到可疑字体

在屏幕上显示的任何文本都以平方字符的顺序显示。我怀疑该字体未正确找到/加载。我找不到有关该主题的体面文档。

回答 1 投票 0

将两个消息结构链接在一起 我有两个略有不同的结构,我希望以某种方式链接最快的结果。 这是两个结构: /** * @brief可以tx消息结构定义 */ Typedef s ...

/** * @brief CAN Tx message structure definition */ typedef struct { uint32_t StdId; /*!< Specifies the standard identifier. This parameter must be a number between Min_Data = 0 and Max_Data = 0x7FF */ uint32_t ExtId; /*!< Specifies the extended identifier. This parameter must be a number between Min_Data = 0 and Max_Data = 0x1FFFFFFF */ uint32_t IDE; /*!< Specifies the type of identifier for the message that will be transmitted. This parameter can be a value of @ref CAN_Identifier_Type */ uint32_t RTR; /*!< Specifies the type of frame for the message that will be transmitted. This parameter can be a value of @ref CAN_remote_transmission_request */ uint32_t DLC; /*!< Specifies the length of the frame that will be transmitted. This parameter must be a number between Min_Data = 0 and Max_Data = 8 */ uint8_t Data[8]; /*!< Contains the data to be transmitted. This parameter must be a number between Min_Data = 0 and Max_Data = 0xFF */ }CanTxMsgTypeDef; /** * @brief CAN Rx message structure definition */ typedef struct { uint32_t StdId; /*!< Specifies the standard identifier. This parameter must be a number between Min_Data = 0 and Max_Data = 0x7FF */ uint32_t ExtId; /*!< Specifies the extended identifier. This parameter must be a number between Min_Data = 0 and Max_Data = 0x1FFFFFFF */ uint32_t IDE; /*!< Specifies the type of identifier for the message that will be received. This parameter can be a value of @ref CAN_Identifier_Type */ uint32_t RTR; /*!< Specifies the type of frame for the received message. This parameter can be a value of @ref CAN_remote_transmission_request */ uint32_t DLC; /*!< Specifies the length of the frame that will be received. This parameter must be a number between Min_Data = 0 and Max_Data = 8 */ uint8_t Data[8]; /*!< Contains the data to be received. This parameter must be a number between Min_Data = 0 and Max_Data = 0xFF */ uint32_t FMI; /*!< Specifies the index of the filter the message stored in the mailbox passes through. This parameter must be a number between Min_Data = 0 and Max_Data = 0xFF */ uint32_t FIFONumber; /*!< Specifies the receive FIFO number. This parameter can be CAN_FIFO0 or CAN_FIFO1 */ }CanRxMsgTypeDef;

回答 0 投票 0


objcopy,是否有理由将-o二进制于-o?

尽管使用GNU工具研究嵌入式的ARM编程,但我发现了许多示例,例如此处或此处的构建脚本,其中objcopy被-s -o二进制示例,例如: 无臂

回答 1 投票 0

将日志文件写入RW612板并在另一个设备上检索文件

//Homework 4 Seaver Olson #include "pin_mux.h" #include "clock_config.h" #include "board.h" #include "fsl_device_registers.h" #include "fsl_debug_console.h" float DEMO_MeasureTemperature(void); float DEMO_MeasureTemperature(void) { uint16_t tempRawValue = 0U; if (0UL == ((SENSOR_CTRL->MISC_CTRL_REG & SENSOR_CTRL_MISC_CTRL_REG_TIMER_1_ENABLE_MASK) >> SENSOR_CTRL_MISC_CTRL_REG_TIMER_1_ENABLE_SHIFT)) { SENSOR_CTRL->MISC_CTRL_REG |= SENSOR_CTRL_MISC_CTRL_REG_TIMER_1_ENABLE_MASK; } tempRawValue = (((SENSOR_CTRL->TSEN_CTRL_1_REG_2) & SENSOR_CTRL_TSEN_CTRL_1_REG_2_TSEN_TEMP_VALUE_MASK) >> SENSOR_CTRL_TSEN_CTRL_1_REG_2_TSEN_TEMP_VALUE_SHIFT); return (tempRawValue * 0.480561F - 220.7074F); } int main(void) { BOARD_InitBootPins(); BOARD_InitBootClocks(); BOARD_InitDebugConsole(); // 60 x 24 for (int i = 0; i < 5760; i++) { double temp = ((double)DEMO_MeasureTemperature()); PRINTF("%d: %.3f\n", i, temp); for (int j = 0; j < 30; j++){ SDK_DelayAtLeastUs(1000000, CLOCK_GetCoreSysClkFreq()); } } return 0; }

回答 1 投票 0



将嵌入式dll从EVC到VS2008原因,原因是找不到DLL

第一个设备正在运行Wince 5.0,并使用嵌入式视觉C ++ 4.0进行编译。 第二个设备正在运行Windows Embedded Compact 7(为简单起见,我将其称为Wince 7),并使用VS2008编译。两种设备都有自己的SDK为董事会设计。

回答 0 投票 0



将外部USB-Ethernet适配器连接到外部USB Connector

我从网络团队那里得到了建议: 从指定的规则文件列表中删除以下vid/pids 从QNX板上删除USB功能上的任何以太网 考虑使用noexec和nosuid

回答 1 投票 0


最新问题
© www.soinside.com 2019 - 2025. All rights reserved.