Enertion Vesc can’t connect to my pc. (Only blue led on)

Report your hardware problems here. Include as many details as possible with pictures to get the best possible help and feedback.
[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
laikiux
Posts: 1
Joined: 07 Jan 2017, 11:11
Location: Lithuania
[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

Enertion Vesc can’t connect to my pc. (Only blue led on)

Postby laikiux » 07 Jan 2017, 11:20

Hello,
I have ordered Enertion 4.12 Vesc from the last batch. Now I'm trying to set up it, and run motor detection.
Firstly, I connected vesc over the usb port and then powered it with 12V PSU. But only blue led is on. I have tried different usb cables even swopped pc's with different OS, tried to power it with 36V, but the same problem occurs. Maybe you have any suggestions? I guess that Vesc is missing BL/firmware
There is the video (not mine, but the same problem):

imval
Posts: 12
Joined: 02 Sep 2016, 13:07
Location: Rouen, France
[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: Enertion Vesc can’t connect to my pc. (Only blue led on)

Postby imval » 01 Mar 2017, 11:16

Hello,
You probably solved this issue since the post but yep it looks like your VESC has no firmware in it.

It should at least blink a few times RED on power-on (mines does so) and then show a dim green light.

almogu
Posts: 6
Joined: 25 Mar 2017, 23:37
Location: madrid
[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: Enertion Vesc can’t connect to my pc. (Only blue led on)

Postby almogu » 22 Jun 2017, 17:27

How the problem was solved. Mine came to root to change the firm from version 4.18 to 2.17

f00860
Posts: 3
Joined: 10 Sep 2017, 14:30
Location: Karlsruhe, Germany
[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: Enertion Vesc can’t connect to my pc. (Only blue led on)

Postby f00860 » 10 Sep 2017, 14:47


Black_Like_a_Cat
Posts: 1
Joined: 18 Sep 2017, 20: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: Enertion Vesc can’t connect to my pc. (Only blue led on)

Postby Black_Like_a_Cat » 18 Sep 2017, 20:26

Have you gotten any farther with this? I am tearing my hair out. I built a vesc v4.12 from a pcb and was having trouble getting the bootloader loaded with a ST-Link v2 programmer. I was able to get the linux "make upload" to say it loaded the firmware but when I tried to do the same to the bootloader it just hung on the reset part. I couldn't notice anything different with the LEDs except for maybe they were blinking 3 times in a row as opposed to a working vesc that blinked twice when powered on.

I tried using the ST-link utility to download, copy, and upload the firmware from the working vesc to the one I built but that didn't seem to help. After messing with it for a few days I decided to plug the working vesc into the new Vesc-tool and see if I could download an image. There is no option for that by the way. I don't know why but I felt like maybe I could upgrade the firmware version on the working vesc and try everything again, but that ended up being a terrible idea.

Once I "upgraded" the working vesc w/ a 4.12 firmware using the VESC-TOOL the vesc promptly never created another comm port. I used the ST utility to compare the checksums to my original backup and indeed they were different. Trying to restore the backup from the ST utility did not get vesc to create the USB comm port again even though the comparisons matched again. I wondered if the programming addresses were right (0x800 and 0x80E) so I hooked it up to my linux box and ran the make upload commands again. I can get the lights to blink 2 in a row when connected to the st-link v2 but it still will not create a comm port on linux or in windows.

Do anyone have any ideas for this issue? Are there any flags we need to set to get the bootloader to create a Serial over USB comm port? I have digging though the source but I'm not terrible familiar with this stuff. Any help would be appreciated.

f00860
Posts: 3
Joined: 10 Sep 2017, 14:30
Location: Karlsruhe, Germany
[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: Enertion Vesc can’t connect to my pc. (Only blue led on)

Postby f00860 » 19 Sep 2017, 20:10

I've also had the problem loosing the serial connection on the ST-Link. Plug it in a other USB-Port (other USB-Hub) brought it back to life.
But to your question if I had success: No, not at all. I've tried several things (see my post), but I did not get it working. Having the same issues with the bootloader on flashing it. make upload flashes the bootloader but after that it hangs. Not sure if this is a problem because it occurs after the verification process. But is Must be the firmware because the STM32 won't boot :(

I am absolutely lost here. Next thing I can do is throw my laborious soldered PCBs in the trash and buy a of the shelf VESC from china, so I dont waste any more time and money on that :(
If someone have any ideas what else to check or have some hints for debugging this, it would be awesome!

Aaron

daveshorts
Posts: 4
Joined: 03 Feb 2018, 21:53
[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: Enertion Vesc can’t connect to my pc. (Only blue led on)

Postby daveshorts » 04 Feb 2018, 10:17

Did anyone have any luck solving this?

I seem to have very similar problems uploading a bootloader, and communicating with my PC after trying to reprogram the firmware.
viewtopic.php?f=7&p=8766#p8766

help


[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 “Hardware Problems”

Who is online

Users browsing this forum: No registered users and 1 guest