Products > Test Equipment
DG4000 - a firmware investigation
Harvs:
Amazing job Cybernet... 8)
Anywho, I've compiled it fine on Ubuntu 13.10 under Vbox, but when run I always get an error "Invalid <CURRENT_MODEL> len"
I thought this was a bit odd, as there's only so many ways you can get DG4062 wrong. So I copied and pasted the example command, and I get the same error. So obviously there's something wrong with the setup.
My guess is it's going to be something to do with local terminal options or the like? Can any linux guru's shed light on that one for me?
TMM:
you are running it like:
--- Code: ---./cengen DG4062 DG4162 DG4D123456789
--- End code ---
correct?
Worked fine first time for me. Ubuntu 11.1 live CD on virtualbox.
Harvs:
Yep I need to do some more digging.
I changed the printf statement to print the strlen, for some reason it things its 5
Teneyes:
Fan-Frickin-tastic , again CyberNet ,
I think that is a bottle of Champagne in your picture.
We owe you a Case.
:-+ :-+
Harvs:
I'm not quite sure why it's doing it, yet for me it was dropping the D off the front of each of the args. I just added an extra D i.e.
./cengen DDG4062 DDG4202 DD....
And it worked. I now have a DG4202 :)
Thanks again Cybernet!!!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version