Products > Test Equipment
Possible GW Instek GDS-1000B hack
danymogh:
Has anyone managed to run a working custom written app?
I tried to write a sample app with Lua and tried to keep the structure of other apps which have at least 4 files
--- Code: ---app.txt
app.lua
app.png
app.inf
--- End code ---
the apps supplied by the Gwinstek website have some kind of encoded/encrypted app.txt, app.inf files whereas the default app of GO_NOGO has them all in cleartext. I tied to use the sample from GO_NOGO app but after putting it to USB and trying to install it gives me the
--- Code: ---App installation error!!
Please contact your dealer
--- End code ---
message.
so somehow It is either not possible to write Lua apps or it's possible but some coding scheme has to be applied.
the app.txt file has a short description of the app and the app.inf file seems to have a basic app structure like install location, files, etc.
the Lua interpreter does not exist in the /bin or /usr/bin directories and hence it's not installed. But it seems it's somehow embedded in the main app because the GO_NOGO app is actually running Lua.
any help would be appreciated.
edit 1: the "encoding" I couldn't figure out was just endianness |O not endianness !, it's a nibble swap !
yeager200:
I just got a brand new GDS-1054B with firmware 1.28 and I am running the code in the attached file. Yet it doesn't seem to accept these licenses. The unit gives me an error when I try all the options.
I may not have copied the ClearCode data correctly into the Javascript. I wasn't sure what the value for k should be. Can anyone help?
nctnico:
--- Quote from: danymogh on December 08, 2020, 04:32:55 pm ---Has anyone managed to run a working custom written app?
I tried to write a sample app with Lua and tried to keep the structure of other apps which have at least 4 files
--- Code: ---app.txt
app.lua
app.png
app.inf
--- End code ---
the apps supplied by the Gwinstek website have some kind of encoded/encrypted app.txt, app.inf files whereas the default app of GO_NOGO has them all in cleartext. I tied to use the sample from GO_NOGO app but after putting it to USB and trying to install it gives me the
--- Code: ---App installation error!!
Please contact your dealer
--- End code ---
message.
so somehow It is either not possible to write Lua apps or it's possible but some coding scheme has to be applied.
the app.txt file has a short description of the app and the app.inf file seems to have a basic app structure like install location, files, etc.
the Lua interpreter does not exist in the /bin or /usr/bin directories and hence it's not installed. But it seems it's somehow embedded in the main app because the GO_NOGO app is actually running Lua.
any help would be appreciated.
edit 1: the "encoding" I couldn't figure out was just endianness |O not endianness !, it's a nibble swap !
--- End quote ---
I think you are on the right path. The Lua interpreter is part of the main software so it is logical that you don't find the standalone Lua interpreter. The first step is to figure out how to get a Lua app started and then figure out what kind of API the main program is exposing. I have used Lua to add scripting to C++ programs a couple of times. It is a very neat way to allow flexible extension of a program.
danymogh:
I bricked my gds-1000b while messing around with the bootloader !
does anyone know any way to flash the Nand flash with the original bootloader ?
tv84:
If you messed the bootloader then I would say you'll have to desolder the NAND.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version