Hello, I am working with iMXRT1020 processors and booting from eMMC to run in SDRAM. In setting up the DCD for the eMMC image, It seems that imgutil may have a bug.
Reducing my foo.cfg file down to this:
[DCD Descriptor]
*(uint32_t*)0x400d8100 &= ~0x00800000;
It seems that the compiled binary is incorrect.
$ imgutil.exe --dcd_gen dcd_desc_file="foo.cfg" ofile="foo.bin"
$ hexdump foo.bin
000000 d2 00 10 41 cc 00 0c 14 40 0d 81 00 00 80 00 00
I would argue that the sequence cc 00 0c 14 should instead be cc 00 0c 0c
I have the same results with dcdgen.exe.
Where can I find the source to imgutil.exe or get a fix for this issue? Currently the only way I can work around this problem is by editing the one bad byte in my compiled dcd.bin file.
Thank you for your assistance.
解決済! 解決策の投稿を見る。
Ok, well I guess I will solve this problem myself by creating my own DCD compiler. I would prefer to contribute to fixing the official version, but so be it. Cheers.
Hi,
Thank you for reporting this problem. Unfortunately, we cannot provide source code of the tool but I will report this internally.
Best regards,
Felipe
I have determined that this issue appears to be resolved in the DCD editor / compiler found in MCUXpresso 11.3.1. I have verified that the correct codes are generated for the expression reported. Thank you kindly.
Ok, well I guess I will solve this problem myself by creating my own DCD compiler. I would prefer to contribute to fixing the official version, but so be it. Cheers.
Anyone else experiencing this issue?