For example, the tool-vnproch55x package.
The github link is for the upstream tool, not whatever is in the pio package.
The binary packaged by pio and the upstream tool are incompatible and different.
The pio version works, while upstream doesn’t like my bootloader.
Also, the platformio usage vnproch55x [-f] binary
, while upstream is vnproch55x binary
and -f results in a usage error.
-h
causes a segfault in the pio version, and a missing file error in upstream.
Pio version:
~/.platformio/packages/tool-vnproch55x/vnproch55x -f blink.bin
------------------------------------------------------------------
CH55x Programmer by VNPro
------------------------------------------------------------------
DeviceVersion of CH55x: 2.40
MCU ID: 59 11
Found Device CH559
Bootloader: 2.4.0
ID: E5 4E 5D BC
XOR Mask: 4C 4C 4C 4C 4C 4C 4C A5
Write 280 bytes from bin file.
..................................................
Write complete!!!
Verify chip
..................................................
Verify complete!!!
------------------------------------------------------------------
Upstream version:
./vnproch55x blink.bin
------------------------------------------------------------------
CH55x Programmer by VNPro
------------------------------------------------------------------
Found Device CH559
Bootloader: 2.4.0
ID: E5 4E 5D BC
Not support
So someone has done a fair amount of modification before packaging it for pio, how do I see what they changed?