STM32F4 Discovery "make upload" error

General topics and discussions about the VESC and its development.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
michael_wintergarden
Posts: 85
Joined: 10 Aug 2016, 16:14
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

STM32F4 Discovery "make upload" error

Postby michael_wintergarden » 22 Sep 2016, 13:55


silviasol
Posts: 10
Joined: 11 Apr 2016, 00:55
Location: United States
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: STM32F4 Discovery "make upload" error

Postby silviasol » 22 Sep 2016, 16:10


michael_wintergarden
Posts: 85
Joined: 10 Aug 2016, 16:14
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: STM32F4 Discovery "make upload" error

Postby michael_wintergarden » 22 Sep 2016, 16:33


lizardmech
Posts: 171
Joined: 19 Jan 2016, 10:54
Location: Australia
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: STM32F4 Discovery "make upload" error

Postby lizardmech » 23 Sep 2016, 04:44

I can't get it to upload on any of my recent discovery boards or MCUs either. I have to build the firmware then flash it using the official ST-link program in windows.

michael_wintergarden
Posts: 85
Joined: 10 Aug 2016, 16:14
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: STM32F4 Discovery "make upload" error

Postby michael_wintergarden » 23 Sep 2016, 07:07

Attachments
Flashdrive STM32F4.png
Flashdrive STM32F4.png (35.79 KiB) Viewed 3725 times

michael_zh
Posts: 8
Joined: 10 May 2017, 03:10
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: STM32F4 Discovery "make upload" error

Postby michael_zh » 31 Jul 2017, 02:56

hi, michael_wintergarden

sorry to bother you , I met the same problem as you, as you mentioned ,what do you do to make the STM32F4 Discovery act like a USB-drive as soon as you connect them on the mini usb。looks like in this way you could upload the firmware as the photo

rew
Posts: 943
Joined: 25 Mar 2016, 12:29
Location: Delft, Netherlands.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: STM32F4 Discovery "make upload" error

Postby rew » 31 Jul 2017, 14:42

The latest STLINK included on the discovery boards, are STLINK V2.1 or something like that. Those emulate an USB drive and will flash a binary file copied to that drive to the target processor.

If yours does not do that (like mine) then you've got an older version that doesn't have this firmware. Also I THINK the new firmware is too big for the processor on your STLINK.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests