Page 2 of 2

Re: REVELPROG-IS for Linux

Posted: Wed Jan 09, 2019 2:56 pm
by ArT
It can not connect with memory database. It is using SQLite libraries - in such case Visual C++ Redistributable for Visual Studio (2013/2015) is required. Please take a look: https://www.sqlite.org/index.html .

Re: REVELPROG-IS for Linux

Posted: Tue Aug 20, 2019 7:38 am
by error666
Hi,
After going back and forth between Linux and Windows just to use the programmer, I've decided to try one of windows emulators.
Software 1.8.1 was installed using PlayOnLinux which is basically Wine 4.0. All went fine except some libusb0 errors. As a result I get an error "Programmer is not connected"

Debug info:

Code: Select all

wine: Call from 0x7b43e223 to unimplemented function winusb.dll.WinUsb_Free, aborting
USB: Device Not Found.


dmesg output

Code: Select all

[16935.691616] usb 3-1.2: new full-speed USB device number 6 using ehci-pci
[16935.802487] usb 3-1.2: New USB device found, idVendor=0483, idProduct=5751, bcdDevice= 2.00
[16935.802491] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16935.802494] usb 3-1.2: Product: REVELPROG IS
[16935.802495] usb 3-1.2: Manufacturer: REVELTRONICS


1.8.1_libusb0.png
1.8.1_libusb0.png (11.69 KiB) Viewed 15069 times


Any advice? Is still possible to run the software on Linux?

Re: REVELPROG-IS for Linux

Posted: Tue Aug 20, 2019 12:38 pm
by ArT
It seems that it does not see drivers.
On Windows 8/10 there is the same error during drivers installing and workaround is by installing signed drivers from application with Zadig software (menu help -> Install drivers) but I do not know if it will work with emulator

REVELPROG IS on Linux

Posted: Fri Feb 07, 2020 5:52 pm
by bigendian
Hi all,

i tried this wonderful programmer with wine and .net, couldn't have it working, maybe due to the distribution i am using.
So, it's time this great programmer, robust, reliable and unique in his style have some Linux tool.

So here a first alpfa version:

https://gitlab.com/spectrum70/rvlprog/

Code: Select all

╭─angelo at dfj in ~/dev-sysam/rvlprog on master✘✘✘ using ‹› 20-02-07 - 17:52:02
╰─○ ./rvlprog --help
rvlprog v.0.90-g995b1aec-dirty
 (C) 2020, Angelo Dureghello, Trieste, Italy
Usage: rvlprog OPTION... [FILE]
Example: ./rvlprog -r -t w25q32 output.bin

Options:
  -h, --help           this help
  -t, --type           memory type
  -r                   read binary content
  -w                   write binary content and verify
  -e                   erase chip
  -v                   verify binary content against FILE
  -l  --list           display supported device list

╭─angelo at dfj in ~/dev-sysam/rvlprog on master✘✘✘ using ‹› 20-02-07 - 17:52:08
╰─○ ./rvlprog -l   
Supported devices :
1. 25..128
2. 25vf010
3. 25vf010a
4. w25q128fw
5. w25q32jv
6. w25q64jv
7. w25q80dv

Read
sudo ./rvlprog -t 25vf010a -r output.bin

Write
sudo ./rvlprog -t 25vf010a -w output.bin.bak

Erase only
sudo ./rvlprog -t 25vf010a -e



I haven't much time to add other devices, the above are those i could test here.
You can check README.txt for other info.

Let me know if you find it useful,

Bye
angelo

Re: REVELPROG-IS for Linux

Posted: Wed Feb 12, 2020 9:37 am
by bigendian
Hi all,

added some other device profiles, untested on the real chip but they should work.

Code: Select all

╰─○ ./rvlprog -l
Supported devices :
1. 25..010
2. 25..016
3. 25..020
4. 25..032
5. 25..040
6. 25..05
7. 25..064
8. 25..080
9. 25..128
10. 25vf010
11. 25vf010a
12. w25q128fw
13. w25q32jv
14. w25q64jv
15. w25q80dv


Using this tool right now reuqires compiling it. Even if quite simple, i will try to provide the debian .deb package at least.
If anyone would test/use it, please provide me feedbacks here, so that i can fix things, as my spare time allow this.

bye
angelo

Re: REVELPROG-IS for Linux

Posted: Thu Mar 19, 2020 5:58 pm
by bigendian
Hi all,

i updated rvlprog for Linux to 0.91 adding some eeproms:

Code: Select all

╰─○ rvlprog --help           
rvlprog v.0.91-gd6f1563a-dirty
 (C) 2020, Angelo Dureghello, Trieste, Italy
Usage: rvlprog OPTION... [FILE]
Example: ./rvlprog -r -t fl_w25q32 output.bin

Options:
  -h, --help           this help
  -t, --type           memory type
  -r                   read binary content
  -w                   write binary content and verify
  -e                   erase chip
  -v                   verify binary content against FILE
  -l  --list           display supported device list

╭─angelo at dfj in ~/dev-sysam/rvlprog on master✘✘✘ using ‹› 20-03-19 - 17:59:31
╰─○ rvlprog -l               
Supported devices :
1. ee_24..128
2. ee_24..16
3. ee_24..256
4. ee_24..32
5. ee_24..512
6. ee_24..64
7. fl_25..010
8. fl_25..016
9. fl_25..020
10. fl_25..032
11. fl_25..040
12. fl_25..05
13. fl_25..064
14. fl_25..080
15. fl_25..128
16. fl_25vf010
17. fl_25vf010a
18. fl_w25q128fw
19. fl_w25q32jv
20. fl_w25q64jv
21. fl_w25q80dv


Later on will provide autotools build

https://gitlab.com/spectrum70/rvlprog/

regards
Angelo

Re: REVELPROG-IS for Linux

Posted: Fri Mar 20, 2020 12:50 am
by bigendian
v0.91 available here

https://gitlab.com/spectrum70/rvlprog/-/archive/0.91/rvlprog-0.91.tar.gz

Classic autotools build:

Code: Select all

./configure
make
sudo make install

Re: REVELPROG-IS for Linux

Posted: Wed Sep 15, 2021 12:07 pm
by ozzieone
Hi Angelo,

Is this used to command line programming eeproms.

We want to use a raspi connect to the revelprog with sfp board and program SGP eeproms true a script

Thnks

Re: REVELPROG-IS for Linux

Posted: Sun Mar 13, 2022 11:01 am
by bigendian
ozzieone,

sorry, i come here from time to time only. From what i know, SFP eeprom are accessible by linux in i2c bus, or through special sysfs. Could you explain a bit more your specific need ?

---

For who interested,
pushed a 0.92 linux version, added just 24c08

Code: Select all

angelo@dfj ~/dev-sysam/rvlprog (master*) $ ./rvlprog -l
Supported devices :
1. ee_24..08
2. ee_24..128
3. ee_24..16
4. ee_24..256
5. ee_24..32
6. ee_24..512
7. ee_24..64
8. fl_25..010
9. fl_25..016
10. fl_25..020
11. fl_25..032
12. fl_25..040
13. fl_25..05
14. fl_25..064
15. fl_25..080
16. fl_25..128
17. fl_25vf010
18. fl_25vf010a
19. fl_w25q128fw
20. fl_w25q32jv
21. fl_w25q64jv
22. fl_w25q80dv


If anyone is interested in new flash/eeproms added, try to contact me to angelo AT kernel-space.org

Re: REVELPROG-IS for Linux

Posted: Mon Jan 15, 2024 12:11 pm
by bigLITTLE
Hi,
had to add fl_w25q128jv to the linux rvlprog, so i updated the code
to 1.9.1 firmware.

Code: Select all

$ rvlprog --help
rvlprog v.0.93-g494e970
 (C) 2020, Angelo Dureghello, Trieste, Italy
Usage: rvlprog OPTION... [FILE]
Example: ./rvlprog -r -t fl_w25q32 output.bin

Options:
  -h, --help           this help
  -d, --debug          add debug console traces
  -t, --type           memory type
  -r                   read binary content
  -w                   write binary content and verify
  -e                   erase chip
  -v                   verify binary content against FILE
  -l  --list           display supported device list

$ rvlprog -l
Supported devices :
1. ee_24..08
2. ee_24..128
3. ee_24..16
4. ee_24..256
5. ee_24..32
6. ee_24..512
7. ee_24..64
8. fl_25..010
9. fl_25..016
10. fl_25..020
11. fl_25..032
12. fl_25..040
13. fl_25..05
14. fl_25..064
15. fl_25..080
16. fl_25..128
17. fl_25vf010
18. fl_25vf010a
19. fl_w25q128fw
20. fl_w25q128jv
21. fl_w25q32jv
22. fl_w25q64jv
23. fl_w25q80dv


For who interested,

https://gitlab.com/spectrum70/rvlprog