我使用的是CY7C64 713 FX1设备,其中我的对象(HEX)文件是由Keil UVIVE生成的,我正在适当地转换,并使用CySaleLGEPROM选项编程FX1引导EEPROM。这工作良好,FX1靴子和运作如预期。
在我的代码中有一个保留不变,具体分配在最后的代码空间的地址编码空间宣布(0x1FFF)对特定的项目的原因,我不能在这里透露。这是通过使用一个链接器命令行配置到正确的代码空间的地址,我检查了这个对象(HEX)文件输出。
当我创建的对象(IIC)使用hex2bix工具文件(hex2bix.exe C 0x41 -f 0xC2 -我- O output.iic输入。六)检查原始二进制output.iic文件,我可以看到我的绝对地址常数和相应的地址之前,它。
我已经下载output.iic文件使用cyconsole lgeeprom断EEPROM读回来使用EEPROM编程我可以看到我的绝对地址常数是附加到代码,因此它没有被放在正确的EEPROM地址。
没有人知道IIC文件格式是我想知道如果cyconsole lgeeprom下载工具的问题,这是正确的或。或者,我是否正确创建了IIC文件?
以上来自于百度翻译
以下为原文
I am using a Cy7C64713 FX1 device in which my object (HEX) file is being generated by the KEIL uVision, I am conver
ting this
appropriately and programming the FX1 boot EEPROM using the CyConsole LgEEPROM option. This works fine and the FX1 boots and operates as expected.
In my code there is a reserved constant declared in the code space that is specifically allocated in the last code space address (0x1FFF) for specific project reasons that I cannot disclose here. This is done using a linker command line to allocate this to the correct code space address and I have checked this in the object (HEX) file output.
When I create the object (IIC) file using the hex2bix tool (hex2bix.exe -c 0x41 -f 0xc2 -i -o OUTPUT.IIC INPUT.HEX) and inspect the raw binary OUTPUT.IIC file I can see my absolute address constant with the
appropriate address prior to it .
After I have download the OUTPUT.IIC file using the CyConsole LgEEPROM and disconnect the EEPROM and read it back using an EEPROM programmer I can see that my absolute address constant is just appended to the code therefore it has not been placed at the correct EEPROM address.
Does anyone know what the IIC file format is as I wish to understand if this is correct or if the CyConsole LgEEPROM download tool is the issue. Alternatively am I creating the IIC file correctly?
0