Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 17 of 17) sorted by relevance

/mcuboot-latest/ext/tinycrypt/tests/
Dtest_ecc_utils.c70 int hex2int (char hex) in hex2int() argument
74 if ('0' <= hex && hex <= '9') dec = hex - '0'; in hex2int()
75 else if ('a' <= hex && hex <= 'f') dec = hex - 'a' + 10; in hex2int()
76 else if ('A' <= hex && hex <= 'F') dec = hex - 'A' + 10; in hex2int()
86 int hex2bin(uint8_t *buf, const size_t buflen, const char *hex, in hex2bin() argument
100 dec = hex2int(hex[0]); in hex2bin()
105 hex++; in hex2bin()
111 dec = hex2int(hex[2 * i]); in hex2bin()
118 dec = hex2int(hex[ 2 * i + 1]); in hex2bin()
/mcuboot-latest/sim/simflash/src/
Dpdump.rs13 hex: String, field
22 hex: String::with_capacity(49), in new()
34 self.hex.push(' '); in add_byte()
36 self.hex.push_str(&format!(" {:02x}", ch)[..]); in add_byte()
50 println!("{:06x} {:-49} |{}|", self.total_count, self.hex, self.ascii); in ship()
52 self.hex.clear(); in ship()
/mcuboot-latest/scripts/imgtool/
Ddumpinfo.py54 return "(len: {}, if BOOT_SWAP_SAVE_ENCTLV is unset)".format(hex(key_field_len))
107 tlv_type, TLV_TYPES[tlv[tlv_type]], hex(tlv[tlv_type])))
110 tlv_type, "UNKNOWN", hex(tlv[tlv_type])))
111 print(" " * indent, "{}: ".format(tlv_length), hex(tlv[tlv_length]))
264 flag_string = hex(value)
272 flag, hex(image.IMAGE_F[flag]))
276 value = hex(value)
282 frame_header_text = "Payload (offset: {})".format(hex(_sectionoff))
283 frame_content = "FW image (size: {} Bytes)".format(hex(header["img_size"]))
290 section_name = "Protected TLV area (offset: {})".format(hex(_sectionoff))
[all …]
Dmain.py234 print("Image digest: {}".format(digest.hex()))
236 print("Image signature over image: {}".format(signature.hex()))
489 raise click.UsageError('Custom TLV %s already exists.' % hex(tag))
492 'Custom TLV %s conflicts with predefined TLV.' % hex(tag))
/mcuboot-latest/ext/tinycrypt/tests/include/
Dtest_ecc_utils.h65 int hex2int (char hex);
72 int hex2bin(uint8_t *buf, const size_t buflen, const char *hex,
/mcuboot-latest/boot/cypress/BlinkyApp/
DBlinkyApp.mk129 post_build: $(OUT_CFG)/$(APP_NAME).hex
131 mv -f $(OUT_CFG)/$(APP_NAME).hex $(OUT_CFG)/$(APP_NAME)_unsigned.hex
132 …L_PATH) $(SIGN_ARGS) $(OUT_CFG)/$(APP_NAME)_unsigned.hex $(OUT_CFG)/$(APP_NAME)$(UPGRADE_SUFFIX).h…
DReadme.md120 Use any preferred tool for programming hex files.
126 …th `MCUBootApp` produces files with name BlinkyApp.hex in `boot` directory and `BlinkyApp_upgrade.
128 `BlinkyApp_unsigned.hex` hex file is also preserved in both cases for possible troubleshooting.
132 `BOOT` - boot/BlinkyApp.hex
133 `UPGRADE` - upgrade/BlinkyApp_upgrade.hex
138 - `HEADER_OFFSET` - 0 (default) - no offset of output hex file, 0x%VALUE% - offset for output hex f…
/mcuboot-latest/scripts/
Dmcubin.bt58 uint32 magic <format=hex>;
59 uint32 load_addr <format=hex>;
60 uint16 hdr_size <format=hex>;
61 uint16 protect_size <format=hex>;
62 uint32 img_size <format=hex>;
74 uchar type <format=hex>;
/mcuboot-latest/boot/mbed/
Dmcuboot_imgtool.cmake50 # Generate a signed image hex file for the given executable target.
61 # mbed_generate_bin_hex() puts the hex file at the following path
62 set(TARGET_HEX_FILE ${CMAKE_CURRENT_BINARY_DIR}/$<TARGET_FILE_BASE_NAME:${TARGET}>.hex)
102 ${TARGET_HEX_FILE} ${IMAGE_BASE_PATH}.hex
105 ${CMAKE_COMMAND} -E echo "-- built: ${IMAGE_BASE_PATH}.hex"
109 ${objcopy} -I ihex -O binary ${IMAGE_BASE_PATH}.hex ${IMAGE_BASE_PATH}.bin
121 # Generate an initial image hex file for the given executable target.
157 # Generate an update image hex file for the given executable target.
163 # NOTE 2: The hex file produced by this function will still "declare" its address as the primary sl…
/mcuboot-latest/boot/cypress/
D.gitignore39 *.hex
DMakefile144 build: $(OUT_APP)/$(APP_NAME).hex
149 $(OUT_APP)/$(APP_NAME).hex: $(OUT_APP)/$(APP_NAME).elf
150 …y --change-addresses=$(HEADER_OFFSET) -O ihex $(OUT_APP)/$(APP_NAME).elf $(OUT_APP)/$(APP_NAME).hex
/mcuboot-latest/boot/cypress/MCUBootApp/
DREADME.md172 There are couple ways of programming hex of MCUBootApp and BlinkyApp. Following instructions assume…
176 …n - and execute following command after substitution `PATH_TO_APPLICATION.hex` and `OPENOCD` path…
185 -c "init; reset init; program PATH_TO_APPLICATION.hex" \
189 …`Cypress Programmer` and click `Connect`, then choose hex file: `MCUBootApp.hex` or `BlinkyApp.hex
192 …STATUS` blinks fast and mass storage device appeared in OS. Drag and drop `hex` files you wish to …
DExternalMemory.md90 -c "init; reset init; program PATH_TO_APPLICATION.hex" \
/mcuboot-latest/docs/
Dimgtool.md58 INFILE and OUTFILE are parsed as Intel HEX if the params have .hex
137 -x, --hex-addr INTEGER Adjust address in hex output file.
Drelease-notes.md256 - imgtool: added possibility to set confirm flag for hex files as well.
359 written to a hex-format image. This allows the image to be flashed
413 - imgtool: saves in intel-hex format when output filename has `.hex`
425 - imgtool accepts .hex formatted input
Dreadme-zephyr.md73 `build/zephyr/zephyr.{bin,hex,elf}`, where `build` is the build
119 is usually not relevant for flash tools that use Intel Hex images (.hex) instead
/mcuboot-latest/boot/zephyr/
DKconfig467 hex "Boot image executable ram start"