Search found 21 matches

by Polux
Thu Jul 25, 2019 3:39 pm
Forum: General Support
Topic: How to send string to shell command parser ?
Replies: 11
Views: 431

Re: How to send string to shell command parser ?

Hi Thanks for the reply. I currently have serial shell ready. The next step is to have CAN, because it is way simpler. And I already have working code. At the end, the ethernet would be a nice-to-have feature, but have currently no priority. I had a look at the code. I could probably create a device...
by Polux
Thu Jul 25, 2019 12:01 pm
Forum: General Support
Topic: How to send string to shell command parser ?
Replies: 11
Views: 431

Re: How to send string to shell command parser ?

For Ethernet, it's fairly easy to create a basic web server (see $CHIBIOS/ext/lwip/src/apps/httpd directory). That allows simple web pages to interface with the system, possibly with a bit of javascript if you want to dynamically update the display. :cry: let's make things simple. At least for me :...
by Polux
Wed Jul 24, 2019 8:20 pm
Forum: General Support
Topic: How to send string to shell command parser ?
Replies: 11
Views: 431

Re: How to send string to shell command parser ?

Hi, I tested with memory stream. Everything compiles and execute well. But, it doesn't work. As buffer is unique for in and out, when starting, the shell sends itself the welcome message and first prompt. And loop continously trying to decode the previous error message as a new input command. So I n...
by Polux
Tue Jul 23, 2019 12:10 pm
Forum: General Support
Topic: How to send string to shell command parser ?
Replies: 11
Views: 431

Re: How to send string to shell command parser ?

Hello, I think I got it. Will check tomorrow. I should create a buffer and a memorystream. Init the stream. Then create a new shell thread on this stream, using the existing command table. And finaly put/write chars extracted from the CANBUS protocol to the memorystream. And tadaaaaaaa, existing com...
by Polux
Mon Jul 22, 2019 3:21 pm
Forum: General Support
Topic: How to send string to shell command parser ?
Replies: 11
Views: 431

Re: How to send string to shell command parser ?

Hi, I will give it a try. And if my application require ethernet, I would add a telnet port. So the check and configuration could be done either by serial, CAN or Ethernet. Or all 3 at the same time. The application is to drive old roadrail modeltrains. They are not digital, and it would be nice if ...
by Polux
Mon Jul 22, 2019 12:31 pm
Forum: General Support
Topic: How to send string to shell command parser ?
Replies: 11
Views: 431

How to send string to shell command parser ?

Hi, I have a running project with various modules. They use shell on SD2 serial line for configuration. I want to add CANbus for application purposes, and add configuration commands too, in order to configure modules from main controller, a PC, while still keeping the shell on serial serial port. I ...
by Polux
Tue Jun 25, 2019 9:01 am
Forum: Development and Feedback
Topic: [NOTES] Multi Core support
Replies: 12
Views: 889

Re: [NOTES] Multi Core support

Hi, Just my 2 cents. Software running on hi-end cores would run Linux, Android, Windows ,....to benefit from existing softwares, packages, stacks,... ChibiOs, any other RT kernel, would run on the Cortex-M cores to handle ..... the real time stuff :D So, for these kind of devices and OSes, there is ...
by Polux
Fri Feb 01, 2019 8:41 am
Forum: STM32 Support
Topic: My Vcc-gnd.com STM32F407VET6 Mini issues
Replies: 19
Views: 1284

Re: My Vcc-gnd.com STM32F407VET6 Mini issues

Hi,

Probably not related, but have you read the issues here https://wiki.stm32duino.com/index.php?title=Vcc-gnd.com_STM32F407VET6_Mini ?

Regards

Angelo
by Polux
Fri Dec 14, 2018 3:06 pm
Forum: Development and Feedback
Topic: Raspberry Pi port
Replies: 15
Views: 1172

Re: Raspberry Pi port

Hi Just my 2 cents. RTOS on a quad core 1+GHz. What realtime application will be targeted by this? Something complex, which will probably need lots of serial ports, SPI, I2C, Timer modules "STM32-like", PWM, CAN, encoders counters. Am I wrong if I say RPi processor is not the best choice i...
by Polux
Thu Nov 22, 2018 9:55 am
Forum: STM32 Support
Topic: STM32F2 lwIP client Topic is solved
Replies: 7
Views: 774

Re: STM32F2 lwIP client Topic is solved

Hi,

ESP32 also uses LWIP. You will find plenty of examples.

Angelo

Go to advanced search