f407vet6 & f407zet6

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
User avatar
RogerClark
Posts: 5311
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: f407vet6 & f407zet6

Postby RogerClark » Mon Nov 28, 2016 10:30 pm

Just looked at the schematic

I think one is a 24c02 eeprom and the other is a W25X16 (not sure what that is)

User avatar
ahull
Posts: 1374
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: f407vet6 & f407zet6

Postby ahull » Mon Nov 28, 2016 10:34 pm

RogerClark wrote:Just looked at the schematic

I think one is a 24c02 eeprom and the other is a W25X16 (not sure what that is)


W25X16 => 16M-BIT SERIAL FLASH MEMORY WITH 4KB SECTORS AND DUAL OUTPUT SPI
- Andy Hull -

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

Re: f407vet6 & f407zet6

Postby RogerClark » Mon Nov 28, 2016 10:39 pm

Thanks

Shame neither device is actually fitted ;-)

Ollie
Posts: 121
Joined: Thu Feb 25, 2016 7:27 pm

Re: f407vet6 & f407zet6

Postby Ollie » Mon Nov 28, 2016 11:20 pm

My board was ordered at AliExpress for $9.90 plus $2.46 shipments
https://www.aliexpress.com/item/STM32F407VET6-STM32F407-STM32-ARM-Development-Core-Board-STM32F4/32600412486.html

The connectors are black in my case, even when the image shows yellow connectors.

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

Re: f407vet6 & f407zet6

Postby RogerClark » Mon Nov 28, 2016 11:43 pm

Hi Ollie

Thats exactly the same as mine, I bought it from the same people and my connectors are black as well

The pin headers were not soldered on, though they were fitted. I have now soldered them on, as it will make testing easier, but I can see for real projects its better to solder wires directly to the holes

I compiled using the STM32 Discovery F407 board and then flashed using STLink

I've updated the repo yesterday as I had issue with STLink not working

Serial USB seems to be defined for that board, but Serial.begin() is not called in the init functions, so you have to call it yourself in setup() etc if you want enable serial usb.
I also added another windows driver bat file to install the driver for the VID/PID pair that seems to be used by the F4 core (not sure why it doesnt use the Leaflabs ID's)

I still have not got DFU uploading to work
I think there may be an issue with the USB enumeration PNP transistor miss firing when its not supposed to. I think they should have include a pull up resistor (albeit a weak on) on its base to prevent it conducting, but I can't be sure thats the problem

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

Re: f407vet6 & f407zet6

Postby RogerClark » Thu Dec 01, 2016 6:47 am

PNGS of schematics


STM32F103VET6,STM32F103VCT6,STM32F407VET6VGT6_Page_1.png
STM32F103VET6,STM32F103VCT6,STM32F407VET6VGT6_Page_1.png (162.54 KiB) Viewed 188 times


STM32F103VET6,STM32F103VCT6,STM32F407VET6VGT6_Page_2.png
STM32F103VET6,STM32F103VCT6,STM32F407VET6VGT6_Page_2.png (47.01 KiB) Viewed 188 times


STM32F103VET6,STM32F103VCT6,STM32F407VET6VGT6_Page_3.png
STM32F103VET6,STM32F103VCT6,STM32F407VET6VGT6_Page_3.png (47.47 KiB) Viewed 188 times

zmemw16
Posts: 924
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: f407vet6 & f407zet6

Postby zmemw16 » Thu Dec 01, 2016 10:50 am

brilliant, thank you, that aside; ok, give!
where did you find those?

i think i had bad blurry sheet1 from my source, requested if there was indeed a 2nd sheet could he send it - nada, zip, zilch

any ideas on translating a japanese pdf ? suspect same as here

stephen

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

Re: f407vet6 & f407zet6

Postby RogerClark » Thu Dec 01, 2016 10:55 am

I asked the supplier on AliEspress and they supplied them to me via a file on a google drive .

tcmichals
Posts: 6
Joined: Thu May 12, 2016 3:58 pm

Re: f407vet6 & f407zet6

Postby tcmichals » Wed Dec 14, 2016 8:37 pm

I've purchased the following board: http://www.ebay.com/itm/STM32F407VET6-Mini-version-core-board-STM32-minimum-system-version-/291791335845 and having issues getting USB working. Looking at the STM32F40x STM32 manual:

There should not be any resistors on USB lines because the OTG USB Phy does this according to the manual. The board has a Pull up on DM (PA12) and 22R on PA11 and PA12. I don't think 22R should matter but, pull up on DM will.

Any suggestions? (I'm thinking of removing the resistor see if this makes it work)

EDIT:
-Found the issue, If VUSB is not connected DM needs a pull up
- STM32 code needs to be edited to disable VUSB sense.
STM32Cube_FW_F4_V1.14.0/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c

HAL_StatusTypeDef USB_DevInit (USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg)
{
....
// FIX USBx->GCCFG |= USB_OTG_GCCFG_VBUSBSEN;
Last edited by tcmichals on Thu Dec 15, 2016 3:40 am, edited 1 time in total.

zmemw16
Posts: 924
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: f407vet6 & f407zet6

Postby zmemw16 » Wed Dec 14, 2016 9:21 pm

22R on DP & DM seems correct, istr a 1k5 to 3v3 from one of them tells the host about usb current load of the device

stephen


Return to “STM32F4 Boards”

Who is online

Users browsing this forum: No registered users and 1 guest