f407vet6 & f407zet6

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
User avatar
Zingg_JM
Posts: 40
Joined: Tue Jan 17, 2017 10:46 am

Re: f407vet6 & f407zet6

Post by Zingg_JM » Tue Jun 06, 2017 3:25 pm

stevestrong wrote:In absence of other information, assuming that the code is same, I would rather think on RAM overflow, data being overwritten due to that missing 200 more bytes.
Check the MAP file for RAM limitations.
I added some blink periods to the begin of setup(), to see immediately if the speed is ok or not.

I do not know the ram usage layout, but I don't think it is RAM overflow, as it runs with correct speed on STM32F407VET6.
Attachments
DESTM32-L_V4_ino_map.txt
(82.35 KiB) Downloaded 21 times
I like clickable and valid links that point to relevant information

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

Re: f407vet6 & f407zet6

Post by stevestrong » Tue Jun 06, 2017 4:45 pm

Zingg_JM wrote: I tried with this version, but it seems the processors lost some ports and pins.
That's partially true, because on the generic F4 board the VET6 chip is in LQPF package, not having the F and G ports available for user.

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

Re: f407vet6 & f407zet6

Post by stevestrong » Tue Jun 06, 2017 4:46 pm

Zingg_JM wrote:I do not know the ram usage layout, but I don't think it is RAM overflow, as it runs with correct speed on STM32F407VET6.
Then you should compare the MAP files between those variant, with and without 200 more bytes.

And, of course, the boards are different. using maybe different quartz resonators, and most probably more differences on pinout, which could make the different behaviour.
Last edited by stevestrong on Wed Jun 07, 2017 8:34 am, edited 1 time in total.

User avatar
Zingg_JM
Posts: 40
Joined: Tue Jan 17, 2017 10:46 am

Re: f407vet6 & f407zet6

Post by Zingg_JM » Wed Jun 07, 2017 5:30 am

One of the differences between the 2 boards is the absence of a (level converter?) chip for USB connection on the DESTM32-L. There is solder pads for it, but no chip. And in the link map the "APP_Rx_Buffer" crosses the 32k boundary.

Can I disable USB support easily in the startup code?
I like clickable and valid links that point to relevant information

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

Re: f407vet6 & f407zet6

Post by stevestrong » Wed Jun 07, 2017 5:54 am

In the IDE you should select USB configuration USB none.

User avatar
Zingg_JM
Posts: 40
Joined: Tue Jan 17, 2017 10:46 am

Re: f407vet6 & f407zet6

Post by Zingg_JM » Wed Jun 07, 2017 6:02 am

stevestrong wrote:In the IDE you should select USB configuration USB none.
Is that for your F4 branch? I reverted to the standard version, to have GPIOF and GPIOG for Discovery F407. Thanks.

Can I disable USB support easily in the startup code?
I like clickable and valid links that point to relevant information

User avatar
Zingg_JM
Posts: 40
Joined: Tue Jan 17, 2017 10:46 am

Re: f407vet6 & f407zet6

Post by Zingg_JM » Wed Jun 07, 2017 7:24 am

Ok, I found the restriction to LQFP 100 in gpio_def.h, but to get complete STM32_HIGH_DENSITY support in your F4 branch would require more changes, and I would risk to overlook some. :(
I like clickable and valid links that point to relevant information

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

Re: f407vet6 & f407zet6

Post by stevestrong » Wed Jun 07, 2017 8:44 am

I think you better define another board variant for the LQFP144 package, so that you could use the whole GPIO set for both ZET6 development and ePaper demo board. There you can then change all other necessary stuff, for instance for the external SRAM of the ePaper demo board.

ag123
Posts: 742
Joined: Thu Jul 21, 2016 4:24 pm

Re: f407vet6 & f407zet6

Post by ag123 » Sun Aug 13, 2017 11:52 am


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

Re: f407vet6 & f407zet6

Post by zmemw16 » Sun Aug 13, 2017 12:25 pm

the zet is remaining rather high at about $15
zgt not seen
srp

Post Reply