I want to change the devices start logo. I placed my logo in 0x00060000-0x0007FFFF address range, it's 128kb. I am using this online tool for resizing, formatting and for generating array.
https://notisrac.github.io/FileToCArray/
https://github.com/notisrac/FileToCArray?tab=readme-ov-file
Is it possible to generate intel .hex file without local compile? Or what is the best way? I wrote a gui for logo update. Giving start address and gui writes over USB.
I've said, end user will change the logo without compiling, Please look at this video. Anybody will change the logo. He/She is a dummy, just have a picture. I am asking, how can I do that?
I am already changing logos via compiling with two different project. And changing .HEX files SEGGER J-Flash Edit->Relocate and Edit->Delete range. I don't want to this.
note: I am using CMAKE for compiling.
Thanks already, sincerely.
bin2hextool, e.g. python-intelhex.readthedocs.io/en/stable/part3-2.html. Why do you need Intel HEX format? Can't you simply transfer the binary data? Please edit your question to add requested information or clarification.objcopy -I bin -O ihexwill do this and is most likely already installed.srec_catas it allows you to set the starting offset in the hex file. Something likesrec_cat inputfile.bin -Binary -offset 0x60000 -Output outputfile.hex -Intel(the input file name is followed by the-Binaryformat and the-offset 0x60000filter, the output file name is followed by the-Intelformat). This will output 32 bytes per line by default. To change it to 16 bytes per line, add the-Output_Block_Size 16option to the end.objcopy -I binary -O ihex --change-addresses 0x12345678 foo.bin foo.hex