1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: EPICS on ESP32 |
From: | Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov> |
To: | Eric Norum <ericnorum at gmail.com> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 31 Aug 2022 09:50:18 +0200 |
Thanks for all the feedback,
I have to admit I did not properly checked the memory of the chip
compared to the requirements for an IOC.
And I also might have mixed up RTEMS with RTOS 😅
I guess I either stay with my current design (TCP socket on the module using StreamDevice + Asyn for communication with an external IOC) or I'll switch to ModbusTCP.
Btw Eric, why do you think UDP would be more appropriate than
TCP?
Cheers,
Florian
That chip seems too limited to run a complete IOC.Perhaps using it to provide a ’Network Attached Device’ would be a better approach. It sounds like you’ve already made progress in this.And, returning to my favourite suggestion about communication with such devices, UDP may well be a more appropriate protocol to communicate with the IOC.
On Aug 30, 2022, at 2:52 AM, Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hey all,
for a small side project I'm working with a board featuring an ESP32-WROOM-32E module [1].
The module itself has WiFi and an EMAC core which is connected to an ethernet PHY on the board (10/100Mbps).
Also there are some sensors connected to the module.
At the moment I have a small program running on the board, that connects to ethernet, gets it's IP via DHCP and starts listening on a TCP port.
If a message is received the corresponding sensor data is send as an answer.
The chip is running a modified FreeRTOS kernel and I started to wonder, if it would be possible to port EPICS on that module.
Does anyone have experience with the ESP32 and tried running EPICS on it already?
If not, anyone has an idea for a good starting point for such a project?
A CA server that provides the sensor data as PVs would be enough.
Cheers,
Florian
[1] https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32e_esp32-wroom-32ue_datasheet_en.pdf
--
Ruhr-Universität Bochum
AG der Experimentalphysik I
Dr. Florian Feldbauer
NB 2/131 / Fach 125
Universitätsstr. 150
D-44801 Bochum
Office: NB 2/134
Phone: (+49)234 / 32-23563
Fax: (+49)234 / 32-14170
https://paluma.ruhr-uni-bochum.de
-- Ruhr-Universität Bochum AG der Experimentalphysik I Dr. Florian Feldbauer NB 2/131 / Fach 125 Universitätsstr. 150 D-44801 Bochum Office: NB 2/134 Phone: (+49)234 / 32-23563 Fax: (+49)234 / 32-14170 https://paluma.ruhr-uni-bochum.de