This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

out file to a00 file batch file



hello, I converted my out file to a00 file. my a00 file looks like this

AA 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1B 01 E0 00 00 00 01 00 02 FE 3F 8F 00 80 7F 8F E2 B8 42 A8 3F 8F 00 B0 40 76 18 00 3F 8F BA 9C 42 A8 7F 8F 14 BC 3F 8F 00 BC 40 76 18 00 7F 76 D6 80 82 FE 06 00 04 FE 44 A0 42 A8 42 C4 44 06 A6 0F 0D 69 48 8A 01 02 A4 07 48 1E 42 83 85 92 42 A0 C4 96 42 C4 44 06 A6 0F F5 66 84 FE 06 00 1F 56 40 29 16 56 1A 56 22 76 C0 B9 29 28 68 00 1A 76 AD 28 00 04 69 FF 1F 56 16 56 1A 56 40 29 1F 76 00 00 02 29 1B 76 22 76

and more

Now I want to put it in array like this

char *TMS320F2808_BOOT[231] = {

"AA080000000000000000000000000000000000001B01E000", "0000010002FE3F8F00807F8FDFB842A83F8F00B040761800", "3F8FBA9C42A87F8F14BC3F8F00BC407618007F76D68082FE", "060004FE44A042A842C44406A60F0D69488A0102A407481E", . . . and more}

Is there any CMD batch file does that for me? It is huge file so that it will take a few hours to do it one line by one line.