Search found 823 matches

by steved
Fri Aug 18, 2023 9:04 am
Forum: STM32 Support
Topic: I2C4 issue on STM32F76xx
Replies: 13
Views: 3292

Re: I2C4 issue on STM32F76xx

I've got a STM32F767 board which uses I2C4 as a master port; works OK accessing a FRAM using tried and tested routines.
Unfortunately only used during board testing - not currently required for real-world applications - so limited use.
by steved
Sat Aug 05, 2023 9:35 pm
Forum: User Projects
Topic: lwip server stm32f767
Replies: 2
Views: 3793

Re: lwip server stm32f767

Depends a bit on the expected nature of network comms.including the number of simultaneous connections needed, and what you need to do. For example, I have a network task where multiple remote hosts may initiate a connection to my system, always on the same port number, and all connections needing t...
by steved
Mon Jul 31, 2023 9:09 am
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 3071

Re: STM32H750 not booting

* By the way, i couldnt get it to generate the files from the chcfg file on windows (didn't report any erros either, tho), and had to install fmpp under WSL to do it, noting just in case there's something broken with the package, and not only a mis-config or mis-use on my end. IIRC you need to make...
by steved
Tue May 30, 2023 9:36 am
Forum: STM32 Support
Topic: UDP receive not working Topic is solved
Replies: 6
Views: 2039

Re: UDP receive not working Topic is solved

Before I forget, I'll mention the lwIP options - its possible that something there isn't set up right. My code is a bit spread out; basically I dedicate a thread to UCP receive - set it up, then loop waiting for messages. (You can also use select(), I think). I've picked out what I hope are the rele...
by steved
Mon May 29, 2023 8:42 am
Forum: STM32 Support
Topic: UDP receive not working Topic is solved
Replies: 6
Views: 2039

Re: UDP receive not working Topic is solved

On a quick look, UDP receive operates much the same as TCP/IP receive. Could be your 'MSG_DONTWAIT' flag in the recvfrom() call - I have zero there (to block until a packet is received) You're using the sockets interface (rather than lwIP's custom interface) so there will be a vast range of examples...
by steved
Thu Apr 20, 2023 8:38 am
Forum: ChibiOS/HAL
Topic: serial driver cpu load
Replies: 5
Views: 2124

Re: serial driver cpu load

I've done a similar thing on an F7 at 168MHz, and think I was getting similar figures, albeit running the serial port at only 9600 baud. Unfortunately I don't seem to have noted any figures, and have put that project to one side for now. Somewhat different approach and environment, though: All debug...
by steved
Mon Apr 10, 2023 10:47 am
Forum: ChibiStudio
Topic: Linux debug configuration
Replies: 14
Views: 6467

Re: Linux debug configuration

Thanks that worked. Probably my remaining niggles are due to the age and type of the Nucleo board I'm using (not sure that serial over USB should work with the L031).

I've generated some notes on the process, which you're welcome to incorporate.
by steved
Sun Apr 09, 2023 10:40 pm
Forum: ChibiStudio
Topic: Linux debug configuration
Replies: 14
Views: 6467

Re: Linux debug configuration

Sorry, but no sign of a directory with udev rules in it.

And some of the tools for launching OpenOCD mention version 12 (binary name openocd_12); that doesn't appear to be present either.
by steved
Sun Apr 09, 2023 8:47 am
Forum: ChibiStudio
Topic: Linux debug configuration
Replies: 14
Views: 6467

Re: Linux debug configuration

Hi, Yes, the current setup is to have one workspace for each version. You could mix projects but then you could not rely on the workspace variable CHIBIOS in project virtual folders (board, os, test, etc). Giovanni Thanks. Another question, I'm afraid. When running openOCD, do you run it as root? O...
by steved
Sat Apr 08, 2023 10:19 pm
Forum: ChibiStudio
Topic: Linux debug configuration
Replies: 14
Views: 6467

Re: Linux debug configuration

Found it now; I'd forgotten that in Linux, file names beginning with a dot are hidden until disabled! Sorry about that. It does raise another question, though. The method of importing the "whole tree" project suggests that it could be linked to a specific Chibi version. Is this the case? (...

Go to advanced search