STM32 .hex file convert to .dup file - hex

I used STM32 IDE to create a .hex extension.
But need convert this .hex file to .dup file(for FOTA).
Previous convert tool was lost. I just have the flow like this.
stm32.py full fileName.hex > fileName.hupg
upgrade-gen.py hupg fileName.hupg -o fileName.dup
Does anybody know who to do or have regarding these tool?
Thanks.

Related

Is there any way to save local and global descriptors as txt instead of pcd in Point Cloud Library?

I have used this script to generate local and global descriptors from a point cloud. The script lets you save the descriptors in PCD format (line 105 of the script) but I'm having trouble loading the pcd files in Python to train a model [Opened a discussion here].
I'm thinking of an alternative. Does anyone know a way to save the descriptors as a txt file instead of pcd? Thanks!
#IBitMyBytes Thanks for the reply. I just saved it in default PCD format in PCL and then read it like a text file in Python and removed the headers.

Opening Alteryx .yxdb files in R

Similar to the question below, I was wondering whether there is a way to open .yxdb files in R?
Open Alteryx .yxdb file in Python?
YXDB is Alteryx's own native format. I haven't seen or heard of anything else that can open it.
You could change your workflow to write to a CSV (or other compatible file) as well as writing to the YXDB file.
AFAIK there is no way yet for R to read yxdb files. I also export my Alteryx workflows to CSVs or use the R tool, read.Alteryx, and saveRDS to save it as a fast-loading binary file.

Convert wave files to hex files for programming flash memory chip

I need to convert some PCM wave files to HEX files so I can program my memory chip. What is the proper way of doing it?
I couldn't find a utility that simply does the conversion. I know some software like hexedit can edit the files in hex format, but how do I convert the files to programmable hex format?
Google is your friend...
Try searching "bin2hex" or "bin2asm" or "bin2c"

read .sas source code on osx without installing sas?

Plain and simple: is there a way to read (not run) .sas files on osx in order to rewrite old SAS programs in another language, e.g. R? Note I do not refer to reading sas data files – I know there are several ways, I am just interested in reading old SAS code.
.sas files containing SAS code should just be a text file. You can use any text editor that you like to open and modify these files. Since the system probably doesn't have .sas files associated with any particular program you can either use the "Open with" option when "right-clicking" on the file or you could open the editor first and then open the file from within the editor.
TextEdit will work. Another editor that I like is Komodo Edit.

Converting .obj file to .sdkmesh using MeshConvert tool

DirectX SDK provides a utility that converts .x or .obj file to .sdkmesh, its called meshconvert tool.
But, I tried many times and its not working.
It shows this message "Cannot Load specified input file"
(I input a .obj file named samp.obj and typed "meshconvert /sdkmesh samp.obj".)
Can anyone please help me solve it?
P.S. I'm on windows 7 and inputting the above command in DirectXSDK Command prompt.
Thanks in advance!
I have read that the .obj file type listed by MeshConvert.exe refers to a binary form of .x, not the popular Wavefront Object Model format. I'm still looking for a way to do this myself.

Resources