Search found 325 matches

by rew
Fri Jul 31, 2020 9:23 pm
Forum: General Support
Topic: Information about chibios 20
Replies: 4
Views: 264

Re: Information about chibios 20

A good way to handle boards would be to have the makefile just do: #BOARD=$(CHIBIOS).../boards/STM32Nucleo072 BOARD=./board and that the standard 'rules" include at the end of the make file would do: include $(BOARD)/board.mk or not even that: All of those just add the board.c file and make the...
by rew
Wed Jul 08, 2020 5:24 pm
Forum: STM32 Support
Topic: USB CDC
Replies: 2
Views: 246

Re: USB CDC

The USB_CDC demo also works on F746. I've been working with that one lately.

If the nucleo has the USB1 connected, then the demo by default uses USB2, so then you have to edit the file in portability to use USB1. Just a few lines of code to change. Easy: I was able to do it. :-)
by rew
Thu Jun 25, 2020 9:53 pm
Forum: STM32 Support
Topic: Ethernet on STM32F746V.
Replies: 11
Views: 431

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: 1121

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: 431

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: 431

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: 431

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: 431

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: 431

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. Topic is solved
Replies: 7
Views: 367

Re: bugreport fatfs. Topic is solved

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 ...

Go to advanced search