Page 4 of 8

Re: I think I CAN, I think I CAN...

Posted: Mon May 02, 2022 1:39 pm
by arber333
Gregski wrote: Mon May 02, 2022 1:25 pm
arber333 wrote: Mon May 02, 2022 7:01 am Sorry for not being there for you, even i have to sleep sometime 😂.
Don't lie, heroes never sleep!
Those were the days...

Re: I think I CAN, I think I CAN...

Posted: Mon May 02, 2022 1:42 pm
by Gregski
arber333 wrote: Mon May 02, 2022 1:39 pm
Gregski wrote: Mon May 02, 2022 1:25 pm
arber333 wrote: Mon May 02, 2022 7:01 am Sorry for not being there for you, even i have to sleep sometime 😂.
Don't lie, heroes never sleep!
Those were the days...
I joke, I'll sleep when I'm dead, but I'm also pretty sure my wife will donate my body to science just to get more use out of me ;)

Re: I think I CAN, I think I CAN...

Posted: Mon May 02, 2022 2:16 pm
by EV_Builder
arber333 wrote: Mon May 02, 2022 1:38 pm Right...🙄
:D its ok i'm on holiday so razor sharp :)

Re: I think I CAN, I think I CAN...

Posted: Mon May 02, 2022 2:54 pm
by Gregski
provided the following legend by Mr. Kramar I decided to geek out a little bit and create this cheat shit

Address 0x304 Data0 is an unknown at present, but seem to be 40 or 48 in the Volt.
Address 0x304 Data1 is the current commanded, convert to decimal and divide by 20.
Address 0x304 Data2 first 2 bits are MSB of the voltage command.
Address 0x304 Data3 byte is the LSB of the voltage command. Then MSB LSB is divided by 2.

Desired Amps Hex in Data1
1 14
2 28
3 3C
4 50
5 64
6 78
7 8C
8 A0
9 B4
10 C8
11 DC
12 F0
13 104
14 118
15 12C
16 140
17 154
18 168
19 17C
20 190
21 1A4
22 1B8
23 1CC
24 1E0
25 1F4
26 208
27 21C
28 230
29 244
30 258

Re: I think I CAN, I think I CAN...

Posted: Mon May 02, 2022 5:11 pm
by arber333
I think 10A DC out is what you can expect the most. But AC amps vary if you use 240Vac or 115Vac.

Re: I think I CAN, I think I CAN...

Posted: Mon May 02, 2022 5:32 pm
by Gregski
arber333 wrote: Mon May 02, 2022 5:11 pm I think 10A DC out is what you can expect the most. But AC amps vary if you use 240Vac or 115Vac.
thanks what should I expect if I plug it in to our house vacuum 120 volt 20 amp circuit ?

Re: I think I CAN, I think I CAN...

Posted: Mon May 02, 2022 6:06 pm
by arber333
Gregski wrote: Mon May 02, 2022 5:32 pm
arber333 wrote: Mon May 02, 2022 5:11 pm I think 10A DC out is what you can expect the most. But AC amps vary if you use 240Vac or 115Vac.
thanks what should I expect if I plug it in to our house vacuum 120 volt 20 amp circuit ?
Hm i suggest you reduce output to 6A. Maybe 8A..

Re: I think I CAN, I think I CAN...

Posted: Fri May 06, 2022 2:11 am
by Gregski
Game On !

IMG_2407.JPG
IMG_2409.JPG
IMG_2411.JPG
IMG_2413.JPG

Re: I think I CAN, I think I CAN...

Posted: Fri May 06, 2022 12:59 pm
by Gregski
just when I thought I couldn't luv big corporations even more, comes this Amazon review submission rejection (my first one by the way)

CANalyst-II Review.jpg

Re: I think I CAN, I think I CAN...

Posted: Fri May 06, 2022 1:18 pm
by arber333
Gregski wrote: Fri May 06, 2022 12:59 pm just when I thought I couldn't luv big corporations even more, comes this Amazon review submission rejection (my first one by the way)


CANalyst-II Review.jpg
Did you use any profanity when describing how it did not work for you? 8-)

Re: I think I CAN, I think I CAN...

Posted: Fri May 06, 2022 1:23 pm
by Gregski
arber333 wrote: Fri May 06, 2022 1:18 pm
Gregski wrote: Fri May 06, 2022 12:59 pm just when I thought I couldn't luv big corporations even more, comes this Amazon review submission rejection (my first one by the way)


CANalyst-II Review.jpg
Did you use any profanity when describing how it did not work for you? 8-)
you can read the review I wrote in the screen shot verbatim, what I think offended them was a link to this forum, ha ha, can't have that, everyone knows the only website you will ever need is theirs

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 2:50 pm
by Gregski
so I must say I am a little bit bumbed, I connected the EVTVDue board with an older style USB cable to my laptop, launched Saavy CAN which by they way is just an executable (pronounced: you don't have to install it you just double click a .exe file to open it up) quite brilliant really, as it means it's very portable, and nothing happened

So I launched Arduino IDE (the software program where you write code and run code) I made sure the right COM port was selected, I crossed my fingers and launched the serial monitor, then I typed "?" took a deep breath and hit enter, and as I suspected, nothing happened which confirms to me GVRET must not come pre installed on this card

that's the only way I know how to check what is on an Arduino board, if you have any suggestions I'm all ears

my opinion is that it would be a real value added feature if the board came with GVRET pre installed, now I don't know if that means they would need a couple flavors of the board like one for Linus, one for Apple, and one for Windows, but I think they could reach and satisfy an larger segment of the not so DIY EV conversion community, as I find Arduinoing a steady P.I.A.

let me know your thoughts

IMG_2462.JPG
IMG_2464.JPG
IMG_2458.JPG
IMG_2460.JPG

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 2:56 pm
by Gregski
as I was saying Arduinoing is no fun there's errors every time, and here it is no different, so I am not trying to compile the GVRET code (pronounced: firmware) onto the EVTV Due board, and I am getting an error:

unknown CPU



Arduino: 1.8.16 (Windows 10), TD: 1.55, Board: "Arduino Due (Native USB Port)"

In file included from C:\Program Files (x86)\Arduino\libraries\Robot_Control\src\Fat16.h:29:0,

from C:\Program Files (x86)\Arduino\libraries\Robot_Control\src\SquawkSD.h:4,

from C:\Program Files (x86)\Arduino\libraries\Robot_Control\src\ArduinoRobot.h:24,

from C:\Program Files (x86)\Arduino\libraries\Robot_Control\src\ArduinoRobot.cpp:19:

C:\Program Files (x86)\Arduino\libraries\Robot_Control\src/SdCard.h:76:2: error: #error unknown CPU

#error unknown CPU

^

In file included from C:\Program Files (x86)\Arduino\libraries\Robot_Control\src\ArduinoRobot.h:26:0,

from C:\Program Files (x86)\Arduino\libraries\Robot_Control\src\ArduinoRobot.cpp:19:

C:\Program Files (x86)\Arduino\libraries\Robot_Control\src\EasyTransfer2.h:42:20: fatal error: avr/io.h: No such file or directory

#include <avr/io.h>

^

compilation terminated.

exit status 1

Error compiling for board Arduino Due (Native USB Port).



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 3:05 pm
by mjc506
Huh. I would've assumed it would be pre-programmed.

Have you told the Arduino IDE that you're compiling for the Due? (Tools, boards,... I think from memory)

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 3:17 pm
by Gregski
mjc506 wrote: Sat May 07, 2022 3:05 pm Huh. I would've assumed it would be pre-programmed.

Have you told the Arduino IDE that you're compiling for the Due? (Tools, boards,... I think from memory)
Yes sir, and I even tried both the Native and the Arduino ports

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 3:54 pm
by Gregski
so after a bit of an investigation (starting with the basics) here's what my laptop aka Device Manager sees the genuine Arduino Due as, as compared to what it sees the clone EVTVDue as: Bossa ???

Arduino Due.jpg
Bossa Program Port.jpg

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 4:05 pm
by Gregski
so I tried searching our Wiki for "bossa" next and that yielded "no results matching the query."

Wiki Bossa.jpg

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 4:13 pm
by Pete9008
Bossa is this https://www.shumatech.com/web/products/bossa, it means that the board is totally blank and just contains the Atmel (chip manufacturers) bootloader. The Arduino IDE should still work with this though.

I'll set mine up and see if I can reproduce (although I'm on Linux so it may behave differently)

BTW - I agree completely, the Arduino environment is a pet hate of mine, capable enough to try to do complex stuff with it but with none of the debug tools to figure out why it doesn't work!

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 4:19 pm
by Gregski
Pete9008 wrote: Sat May 07, 2022 4:13 pmI'll set mine up and see if I can reproduce (although I'm on Linux so it may behave differently)
thank you I appreciate that

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 4:22 pm
by Pete9008
Bad news, mine works fine. Erased it to blank and reprogrammed over the native port no problem.

Guessing it might be a Windows driver issue. Long shot but it might be worth trying it on a different PC USB port (it sometimes re-installs the USB driver)??

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 4:27 pm
by Pete9008
Can't believe it comes without the firmware on it :-( It might not suit everyone but for people who are buying buying it (and paying the premium) for a complete, ready to go unit, it makes no sense at all!

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 4:33 pm
by Pete9008
Other option is to export the binary from Arduino studio (Sketch, export compiled binary) and then use the BOSSA programmer to program the board.

It looks like BOSSA is included with arduino, see here for more details on how to use it https://forum.arduino.cc/t/sam-ba-bossa ... n/176495/7

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 5:10 pm
by Gregski
Pete9008 wrote: Sat May 07, 2022 4:27 pmCan't believe it comes without the firmware on it :-( It might not suit everyone but for people who are buying buying it (and paying the premium) for a complete, ready to go unit, it makes no sense at all!
I concur 100%, those [ahem] saavy enuff to know their stuff can simply over write what's on the board when they get it if it doesn't suite their needs, and us newbs would have less headaches

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 5:13 pm
by Gregski
first of all thank you all for your feedback and offering to help, the troubleshooting continues, here's what Arduino sees on the COM ports for the Due vs the EVTVDue aka Bossa (ie nothing)

Arduino Due COM Port.jpg
Bossa lack of COM Port.jpg

Re: I think I CAN, I think I CAN...

Posted: Sat May 07, 2022 5:26 pm
by Gregski
Pete9008 wrote: Sat May 07, 2022 4:22 pm Bad news, mine works fine. Erased it to blank and reprogrammed over the native port no problem.

Guessing it might be a Windows driver issue. Long shot but it might be worth trying it on a different PC USB port (it sometimes re-installs the USB driver)??
great suggestion, so here is the error it gives me on my PC (the other one was my laptop)

'CAN_COMMON' has not been declared

Googling brings us to this article from Collin: SavvyCAN update

man I just wanna do donuts in my new electric truck - ha ha