intelhex
intelhex copied to clipboard
Python IntelHex library
In python, using the `in` operator is used to test for membership, thus it would be natural to expect that the following expression is valid to test if the given...
Hi, I am looking for effective way of hex file data comparison, mainly equality check. Is there already some effective way of comparison? Did you consider overriding of `__eq__` ?
When merging multiple .hex files, in case of overlap we sometimes need to just 'ensure' that values are identical. The new 'check' mode ensures this. Note: the behavior for start_addr...
Hello, In the current version (2.3.0), the padding byte resets to 0xFF when a slice is taken: ``` In [14]: ih.padding Out[14]: 0 In [15]: ih[:4].padding Out[15]: 255 ``` It...
>>> from intelhex import IntelHex >>> ih = IntelHex('pimp_my_xor.hex') >>> ih.minaddr() 256 >>> ihx = ih[0x100:0x103] >>> ihx.tobinstr() b'\x89\xc2\x8d' >>> list(ihx) [255, 255, 255, 255, 255, 255, 255, ..., 255,...
I am reading a PIC16 flash image from the target (oh instance IntelHex16bit), and merging it with a new image (nh instance IntelHex16bit) and get the following error: nh.merge(oh[base:base+size], overlap='replace')...
* Added support for bytes in sliced __setitem__ * Test change and addition accordingly * Modification of misleading exception message All tests pass
Hello, I've finally pushed my changes, which will solve the problem described by me here: #40 There is new parameter 'ext_addr_mode' for 'write_hex_file', which will handle the issue in following...
The ram and rom width of TI C28x DSP such as TMS320F28335 is 16 bits, and data word is big endian. I use command below to generate hex file from...
for issue: #32