[libmaple] Black F407VET6

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
stevestrong
Posts: 2044
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany
Contact:

Re: [libmaple] Black F407VET6

Post by stevestrong » Wed Nov 08, 2017 1:15 pm

Not for this board, but maybe for the generic mini, there is an I2C EEprom on board.
Only time is missing...

acronis
Posts: 157
Joined: Thu Mar 02, 2017 12:32 pm

Re: [libmaple] Black F407VET6

Post by acronis » Wed Nov 08, 2017 1:54 pm

Eh...

I don't have enough I2C to connect various sensors to the Board STM32F4 BLACK....

You are amazing !
I hope that You will eventually make !
Thank YOU !


Thanks to You I have a lot of things connected to this boards: ADC,RTC,display (FCSM LCD-16bit), Ethernet (W5500), SD card (sdio), NRF24L01 , sensors on SPI and others...

there is only I2C.....

stevestrong
Posts: 2044
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany
Contact:

Re: [libmaple] Black F407VET6

Post by stevestrong » Tue Nov 14, 2017 7:55 pm

Short update: I managed to implement the USB serial connection status detection, so that

Code: Select all

while(!Serial);
works now correctly, it waits till a serial communication channel on host is opened and DTR is detected.
This is the patch: https://github.com/stevstrong/Arduino_S ... b4f6e48de9

User avatar
RogerClark
Posts: 7680
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: [libmaple] Black F407VET6

Post by RogerClark » Tue Nov 14, 2017 8:07 pm

stevestrong wrote:
Tue Nov 14, 2017 7:55 pm
Short update: I managed to implement the USB serial connection status detection, so that

Code: Select all

while(!Serial);
works now correctly, it waits till a serial communication channel on host is opened and DTR is detected.
This is the patch: https://github.com/stevstrong/Arduino_S ... b4f6e48de9
Please, can you send a PR

stevestrong
Posts: 2044
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany
Contact:

Re: [libmaple] Black F407VET6

Post by stevestrong » Tue Nov 14, 2017 8:13 pm

As you know, i am not able to make clean prs, but i will try it.
Can't you simply merge from my patch?

User avatar
RogerClark
Posts: 7680
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: [libmaple] Black F407VET6

Post by RogerClark » Tue Nov 14, 2017 8:18 pm

No worries

I will try to merge the patch

stevestrong
Posts: 2044
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany
Contact:

Re: [libmaple] Black F407VET6

Post by stevestrong » Tue Nov 21, 2017 9:24 am

acronis wrote:
Wed Nov 08, 2017 1:54 pm
Thanks to You I have a lot of things connected to this boards: ADC,RTC,display (FCSM LCD-16bit), Ethernet (W5500), SD card (sdio), NRF24L01 , sensors on SPI and others...

there is only I2C.....
I2C (Wire) is finally working, see http://stm32duino.com/viewtopic.php?f=3 ... 379#p37376

acronis
Posts: 157
Joined: Thu Mar 02, 2017 12:32 pm

Re: [libmaple] Black F407VET6

Post by acronis » Sat Nov 25, 2017 9:32 am

I2C (Wire) is finally working
WOW !
SUPER !!!

Steve - thank you so much !

Nutsy
Posts: 260
Joined: Sun Jul 24, 2016 4:26 pm

Re: [libmaple] Black F407VET6

Post by Nutsy » Tue Jan 16, 2018 1:01 pm

I have the ZGT6 black board... and im having this problem too... No Com port shows up when connected to USB, setting BOOT0 high put it into dfu mode.

However, the main issue I have here is while yes this is a combersom way to upload firmware when your doing loads of debugging and constant reuploads...

How is one meant to use the serial monitor to read the readouts of my debugging if the chip doesnt do the virtual com port?

Should I just stick to using the hardware serial and a usb serial adaptor? If so, can i upload firmware via that?

stevestrong
Posts: 2044
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany
Contact:

Re: [libmaple] Black F407VET6

Post by stevestrong » Tue Jan 16, 2018 1:15 pm

If you use Roger's or my repo, in the Arduino IDE you have options for USB function, you can select between:
- USB inactive (unfortunately on first place),
- USB serial (CDC), or
- USB MSC (not implemented).
Please check your option.
I usually enable USB serial and upload with STLink, not USB DFU, I find cumbersome to switch the BOOT1 jumper all over again to different position.
And STLink does not work as USB serial interface, you need an extra USB cable between the micro USB socket and PC.

Anyway, if you debug with STLInk, the USB serial will most probably not work when you stop the program, the USB protocol is sensitive on breaks longer than 20ms and will stop the interface communication.

Post Reply