mbed

物联网的操作系统

喜夏-厌秋 提交于 2020-04-02 05:51:57
一 mbed:由ARM推出,只适合ARM架构,单线程。 mbed OS 5在不同的硬件开发板上,不同的开发主机(Windows,Linux,MAC)上,以及不同的开发IDE环境里都有一致的工作流程。 集成了实时操作系统CMSIS-RTOS RTX的内核 ,使得mbed OS可以 支持确定性、多线程实时 程序。mbed OS 5支持开发者使用以下 三种开发方式 : 1、登陆ARM的mbed 网页在线开发 ; 2、将mbed CLI(命令行界面)工具下载到自己的电脑上在线下开发; 3、使用第三方的开发工具,目前mbed OS 5支持KEIL、eclipse、IAR三种第三方IDE 目前mbed OS 5支持 BLE、Wi-Fi、NFC、Tread、RFID、LoRa、6LoWPAN等多种无线通信协议,未来还会支持802.15.4 Mesh和NB-IoT 。 mbed cloud:保证芯片到云端的安全数据传输,简化用户对设备的管理。比如用户需要将终端设备做系统或 固件升级 ,只需登录mbed cloud,将系统文件或固件程序上传,mbed cloud会完成与终端设备的数据通信传输工作。是一种设备云,它不会存储终端设备的运行数据和采集数据,用户仍然需要选择第三方的基础数据云(如阿里云、亚马逊AWS等)来做数据处理和数据开发。https://blog.csdn.net

嵌入式系统:行业与应用

天涯浪子 提交于 2020-03-21 12:41:40
3 月,跳不动了?>>> Built with Mbed Use Cases and Case Studies of IoT products https://www.mbed.com/built-with-mbed/ 应用类小米体重秤技术开发解析(教程) http://www.makeru.com.cn/course/details/2997?s=69821 来源: oschina 链接: https://my.oschina.net/u/2341333/blog/3207716

How to write/read to FLASH on STM32F4, Cortex M4

末鹿安然 提交于 2019-12-17 16:23:52
问题 I want to write a variable, for example an integer with the number 5 to the FLASH and then after the power goes away and the device is turned on again read it. I already know that in order to write something I first need to erase the page and then write. In the manual it says: Write OPTKEY1 = 0x0819 2A3B in the Flash option key register (FLASH_OPTKEYR) Write OPTKEY2 = 0x4C5D 6E7F in the Flash option key register (FLASH_OPTKEYR) How do I perform this tasks? Sector 0 has a Block adress from

IAP on LPC 1768

大憨熊 提交于 2019-12-13 04:51:30
问题 I am trying to use IAP (in application programming) to copy the code of a function from one point in memory space to another (I know this doesn't have any use, but this is absolutely crucial for a project that I'm working on). The copying of the code seems to work with out a hitch, but when I call the copied function it always results in hardfaults. The function I'm copying doesn't have any references to other functions or data (It is a simple return function), so there is no problem of

mbed CLI: make.py: error: Could not find executable for ARM

雨燕双飞 提交于 2019-12-12 05:26:40
问题 I'm trying to compile a program with the mbed CLI using the following command: mbed compile -m UBLOX_C027 -t ARM It results in the following error: make.py: error: Could not find executable for ARM. Currently set search path: No path set How can I set the executable? 回答1: Two ways, either: Set ARM_PATH in mbed_settings.py in the root folder of your project. Or make sure that ARMCC is in your path. Note that ARM compiler target is for the commercial ARM compiler. If you're using GCC ARM use

Library include not detecting header in include path

两盒软妹~` 提交于 2019-12-11 13:01:13
问题 I am trying to set up a makefile project using the mbed library for use in a larger project I am wanting to do later on. I have the project directory set up like this... . |-- Doxyfile |-- NUCLEO_F446RE.mk |-- Nucleo_blink.map |-- asm |-- attach.gdb |-- debug |-- gdb-pipe.cfg |-- lib | `-- mbed | |-- AnalogIn.h | |-- ... | |-- TARGET_NUCLEO_F446RE | | |-- TARGET_STM | | | `-- TARGET_STM32F4 | | | |-- PeripheralPins.h | | | |-- TARGET_NUCLEO_F446RE | | | | |-- PeripheralNames.h | | | | |--

Communicating with an USB device over “USB Virtual Serial Port” using C#?

你说的曾经没有我的故事 提交于 2019-12-09 04:57:02
问题 I recently plugged in an USB embedded device(mbed lpc1768) using a normal USB cable to a Windows 7 desktop. According to the docs that came with the program running on the device it communicates with the host(desktop) over a USB Virtual Serial Port. Where do I start if I need to read/write data using c#? Could I use the SerialPort .NET class or do I need to use the LibUsbDotNet library or perhaps something else? 回答1: It is excellent news when I find out that a USB device communicates in VCP

MBED OS 5.9 LoRA set up in SF7

佐手、 提交于 2019-12-08 11:56:00
问题 Do you know how to set up the Spreading Factor to 12 in a Mbed-OS LoRaWAN protocol APIs to connect to a LoRaWAN network using OTAA? I'm trying to make LoRA node to use Spreading Factor SF12, because the default one is SF7. I know that in the PHY layer we can change Radio configurations. There are several examples to change between the different sub-GHz frequency bands, however, I can't find one on how to change the LoRa modulation SF between 7 and 12 and with a bandwidth of 125 kHz. I'm using

Adding Characteristic User Description to multiple custom C++ BLE GATT Service

你。 提交于 2019-12-04 06:09:46
问题 I am trying to add some Characteristic User Descriptions to my custom BLE GATT Service, using the mbed API. My work has so far been based on this code structure. However, I would like to add names to these characteristics. There isn't much info I could find on how to do this. However, below is the code which adds the information to a characteristic. The constructor for GattCharacteristic() takes an array of GattAttribtues as an optional argument. You can populate your User-Description into a

Communicating with an USB device over “USB Virtual Serial Port” using C#?

无人久伴 提交于 2019-12-03 03:20:41
I recently plugged in an USB embedded device(mbed lpc1768) using a normal USB cable to a Windows 7 desktop. According to the docs that came with the program running on the device it communicates with the host(desktop) over a USB Virtual Serial Port. Where do I start if I need to read/write data using c#? Could I use the SerialPort .NET class or do I need to use the LibUsbDotNet library or perhaps something else? Will Faithfull It is excellent news when I find out that a USB device communicates in VCP rather than USB-HID, because serial connections are easy to understand. If the device is