Hart Software and Embedded Systems Development
Hart Software and Embedded Systems Development

Home

Firmware/Software for Embedded Devices and HART Communication Protocol

Hart Slave C++ 8.0E, Revision 0.1 beta

Successful test with the 'Windows HART-IP Client' from FieldCommGroup

Windows Hart Ip Client - Hart Slave C++ Windows Hart Ip Client - Hart Slave C++

I'm publishing the binaries here to show that it works. Unfortunately some bug fixes were necessary. The source codes for Hart Master and Hart Slave will of course be updated as soon as possible.
The working version (revision 0.1 beta) is located in the following repository:
https://github.com/BorstAutomation/Hart-Slave-8.0E-01-beta

You can also find the Hart Client which I used in a Github repository:
https://github.com/FieldCommGroup/WindowsHartIpClient

As a test monitor for Hart Ip I recommend Wireshark, because Hart Ip is integrated as a filter in this tool.

Wireshark Monitoring HART IP Frames Wireshark Monitoring HART IP Frames

C++ Source Code Hart Master and Slave

HartTools 8.0 Experimental

HART-IP and HART 4..20 mA - Free Download from Github

My implementation of a HART master and a slave now also has the option of operating HART-IP. The stacks have been modified so that they can work with HART over IP as well as with HART and 4 mA.

In addition to the pure code for an embedded controller, which is available as a C++ source, there is a relatively extensive test program (test client) for both the slave and the master, which is written in C#.

When writing the code for the components, I tried to use as much identical code as possible in both the C++ sources and the C# sources for the slave and the master.

If you like you can view or download the source code right here:

https://github.com/BorstAutomation/Hart-Master-Slave-8.0E.git

I am happy to offer you consulting services for the integration of a stack on a real embedded system.

This can include the following services: firmware or software development, system design, connection from C++ to C, DDL and DTM development, adaptation of the command interpreter, solution of real-time problems, connection to source code generators, development of tests, execution of tests and documentation.
I am also happy to help with carrying out a conformity test.

Depending on how your embedded system is structured, the number of working hours required for an integration can range from a few to several hundred.

Under the menu item Tools&Stacks you will find a minimum license offer that can be expanded at any time upon your request.

100 % Microcontroller Experience

Effective use of available technology

  • Improved processing accuracy
  • More features
  • More diagnostics
  • Improved interfaces
  • Improved user support
  • Migration from C to C++
  • HAL Optimization
  • MSP Reduction
  • Multitasking system
  • Grafical display
  • Associative user interface
  • Subsequent documentation
  • Automated whitebox tests
  • Generated source code
  • Improved interrupt handler coding
  • Trouble shooting
  • Failure analysis
  • Assessment of technical risks
  • Optimization of hardware interfaces
  • Ultra low power design
  • Source code review

100 % HART Protocol Experience

Effective use of the HART Communication Technology

  • Tiny Hart stack (C++)
  • Midsize Hart stack (C++)
  • Sizeable Hart stack (C++)
  • Minimum number of commands
  • Hart without burst mode
  • Recommendeable commands
  • Hart without DDL
  • Hart without DTM
  • Functionality reduction
  • Simple user interface
  • Reduced developer interface
  • Hart stack in C-language (micro lib)
  • Real needs of the device manufacturer
  • Reduced command 48
  • Hart 5 functionality in a Hart 6/7 cover

Engineering

Software/Firmware Development and Consulting

  • Development of mobile phone software (iOS, Android Apps) for field device applications (Kotlin, Xamarin, Java, C++).
  • Development of sql database structures for the source code generation for parts of the firmware in embedded field devices (single source concept).
  • Development of simulations of a field devices on personal computers (80 % of source code sharing).
  • Integration of firmware components into field devices
    - Android support,
    - Linux support,
    - FreeRTOS support,
    - SD memory card access,
    - Bluetooth interface,
    - NFC interface,
    - WiFi interface,
    - HART classical interface (4..20 mA),
    - HART-IP interface (Ethernet-APL),
    - Modbus TCP IP interface and
    - USB interface.
  • Development of web server for field devices.
  • Documentation of software and firmware components.
  • Development of automated testing software and firmware.
  • Development of application software in C++, C#, Python, F#, Kotlin, Java, Visual Basic and VBA.
  • Review of Specifications and Documentations.
Walter Borst Walter Borst

Technologies

  • nRF52, STM32
  • ARM Cortex-M
  • GCC, Keil
  • VS, VS Code
  • HAL-Design
  • MSP Integration
  • Bare Metal Programming
  • EmbOS, FreeRTOS
  • AFE881, DS8500, AD5700, DS8500, DAC8740, NCN5192
  • Hart Master (Client)
  • Hart Slave (Server)
  • DDL, DTM, FDT

  • File Systems
  • Bluetooth, WiFi, NFC
  • Power Management
  • Battery Management
  • Web-Server,
    Device Simulation

  • White Box Testing

  • Automatied Testing

  • Code Generation

  • C, C++, C#, Java, Python, F#, Kotlin, VB, VBA, Assembler

  • Windows, Linux

Druckversion | Sitemap
Copyright © 2006-2025: Walter Borst, Cuxhaven, All Rights Reserved.