Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
v86dude(86upload.exe) needs to work standalone
2014 年 03 月 28 日
04:51:47
uaa
Moderator
Forum Posts: 11
Member Since:
2013 年 12 月 02 日
Offline

Hello,

I tried to use v86dude on OpenBSD with this patch ( http://pastebin.com/E3kVHYQm ) and suffering with the message as follows:

> $ v86dude.exe 86DUINO.EXE 20 /dev/ttyU2
> ...time-out to read bytes
> receive_package fail
> Some error during getting bootlaoder version

I also did same thing with Linux(Slackware-14.0) and got same result.

I checked what happened by USB analyzer, at least v86dude sends first command to 86duino and no response. http://pastebin.com/cBjpJaSZ
On the other hand, v86dude invoked from 86duino IDE (for Windows) works no problem. http://pastebin.com/2EmcmYUN

Comparing these logs, the status of DTR signal is different and currently v86dude does not control DTR. Maybe 86duino/Arduino IDE do that.
I think adding DTR control function to v86dude makes working standalone, has anyone tried it? (I haven't tried because too busy...)

2014 年 04 月 01 日
18:22:44
Android_Lin
Moderator
Forum Posts: 228
Member Since:
2014 年 04 月 01 日
Offline

Currently the v86dude.exe can work fine with 86Duino IDE, becuase the 86Duino IDE let 86Duino bootloader enter "soft-reset" mode by setting 1200 baudrate (compatible Arduino Leonardo) before sending any sketch to 86Duino board.
Only in this mode, the bootloader wait to receive a sketch from your PC for 8 sec. (86Duino IDE calls v86dude.exe to send new sketch to 86Duino board at this time.)

For standalone, the v86dude.exe should set 1200 baudrate by itself to let 86Duino bootloader enter "soft-reset" mode, refer to the branch for v86dude standalone:

https://github.com/roboard/V86DUDE/tree/standalone

v86dude will set 1200 baudrate by itself without 86Duino IDE if you add "standalone" parameter in the end of command line.

ex. (for linux)

$ ./v86dude.exe /dev/ttyACM0 20 ~/86duino.exe standalone

2014 年 04 月 04 日
08:09:17
uaa
Moderator
Forum Posts: 11
Member Since:
2013 年 12 月 02 日
Offline

Hi,

I applied my patch to v86dude-standalone and tried it on OpenBSD-5.4/amd64.
There is no problem, thanks.

Well, I want to commit my patch to v86dude-standalone branch, can I do that?

2014 年 04 月 07 日
00:36:38
Android_Lin
Moderator
Forum Posts: 228
Member Since:
2014 年 04 月 01 日
Offline

By all means. Smile

Forum Timezone: Asia/Taipei

Most Users Ever Online: 229

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Dinosaur: 27

leutenecker: 13

mrZagg: 10

hippy: 9

smeezekitty: 8

lukeross: 8

tomka: 8

Ekkehard: 8

UIdahoCIT: 8

blaxxun: 7

Member Stats:

Guest Posters: 0

Members: 1573

Moderators: 15

Admins: 5

Forum Stats:

Groups: 2

Forums: 11

Topics: 248

Posts: 1114

Newest Members: Dennissot, bb4000, Ovendaanalolymn, Ling ChengYU, EROGurnedo, Alfredhak, Davidherie, Nelsonbok, EugeneDut, RobertOwell

Moderators: Glaux: 70, uaa: 11, guigra: 17, asian55: 22, Android_Lin: 228, bcarroll: 12, cucubutter: 84, recycled-air: 12, stevemork: 16, zerozaber: 52, pongraczi: 26, jejump: 14, George Andrews III: 56, poto: 11, garpastym: 20

Administrators: eveshih: 1, anthony: 31, viky6: 0, roboard: 135, hcl: 1