Search found 323 matches

by rew
Thu Jun 25, 2020 9:53 pm
Forum: STM32 Support
Topic: Ethernet on STM32F746V.
Replies: 11
Views: 314

Re: Ethernet on STM32F746V.

Just FYI: C-programs get called with an argv starting at the commandname. Giovanni decided for a different convention, IIRC no argv[0] and off-by-one on the argc. Because I don't want to remember if I'm writing a "main()" or a command for my shell I've decided to do things differently. So ...
by rew
Mon Jun 22, 2020 8:21 am
Forum: Development and Feedback
Topic: [NEWS] Updater tool for xxxconh.h files
Replies: 5
Views: 1048

Re: [NEWS] Updater tool for xxxconh.h files

Giovanni wrote:FMPP is required and must be reachable from command line. Use is very simple, just run the script.
ffmp is not currently installed on my system. apt-cache tells me about ffmpeg, but no ffmp. So it is not a standard tool, right? Where do I get ffmp?
by rew
Mon Jun 22, 2020 6:21 am
Forum: STM32 Support
Topic: Ethernet on STM32F746V.
Replies: 11
Views: 314

Re: Ethernet on STM32F746V.

void * gpio_ports[] = {GPIOA, GPIOB, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, GPIOH, GPIOI, GPIOJ}; void cmd_showmode (BaseSequentialStream *chp, int argc, char **argv) // Debug: pint hw pin mode. { char *p; int i; stm32_gpio_t *gpp; int bn, pn; static char *modes[] = {"IN", "OUT", &q...
by rew
Fri Jun 19, 2020 4:08 pm
Forum: STM32 Support
Topic: Ethernet on STM32F746V.
Replies: 11
Views: 314

Re: Ethernet on STM32F746V.

My board has a 100 pin chip, no ULPI on the second USB OTG. The discovery board has external RAM, a ~200 pin chip. The discovery board has a LAN8742 PHY, my board has a DP83848. It looks as if my PHY is in MII mode instead of in RMII mode. That can very well explain why it isn't working. On the othe...
by rew
Fri Jun 19, 2020 2:41 pm
Forum: STM32 Support
Topic: Ethernet on STM32F746V.
Replies: 11
Views: 314

Re: Ethernet on STM32F746V.

So far I had just wired up all signals that "howto's" indicated were necessary and expected it to work. Started reading about what I'm actually doing.... OK. So there is this "REF_CLK" signal. It should be 50MHz. I don't see it wobling at all. Now the debugging from the inside al...
by rew
Thu Jun 18, 2020 12:05 pm
Forum: STM32 Support
Topic: Ethernet on STM32F746V.
Replies: 11
Views: 314

Re: Ethernet on STM32F746V.

OK. I removed that and now it boots so that I get my CDC_ACM interface.

This opens up a bunch of programmed debug options.
by rew
Wed Jun 17, 2020 4:12 pm
Forum: STM32 Support
Topic: Ethernet on STM32F746V.
Replies: 11
Views: 314

Ethernet on STM32F746V.

My boards for the STM32F750 are now populated with STM32F746: Less differences with the "discovery kit" where i can test my code. My board has an DP83848 PHY instead of the LAN on the discovery kit. Initialization of the HAL will initialize that and detect my PHY. Good. But then: when lwip...
by rew
Sat Jun 13, 2020 5:52 pm
Forum: Bug Reports
Topic: bugreport fatfs.
Replies: 7
Views: 258

Re: bugreport fatfs.

Yes. It was simple "upgrading" the config file. But the "official" was of upgrading the config file is to start over with a clean copy, and change again what you changed first time. Well... I don't know what Giovanni changed the first time: I didn't make the changes. It is a lot ...
by rew
Fri Jun 12, 2020 6:31 am
Forum: General Support
Topic: shell end of line parsing
Replies: 3
Views: 499

Re: shell end of line parsing

In my version of "the shell" I simply accept both \r and \n as the "now do it" character.

If you configure your terminal program to send \r\n when you hit enter, that's going to give you an empty line/command each time you hit enter. Too bad.
by rew
Fri Jun 12, 2020 6:28 am
Forum: Bug Reports
Topic: bugreport fatfs.
Replies: 7
Views: 258

Re: bugreport fatfs.

I don't understand what you're trying to say. Chibios comes with a few demos that use external libraries like FATFS and LWIP. Chibios comes with the (possibly patched) version of those libraries that you have to unpack to use. So I unpacked and tried to compile one of the demos and... The demo uses ...

Go to advanced search