Is there an industry standard name for the hex file output format Keil uses for an 8051? In the target configuration, its called "HEX-80", but I'm not so sure that's the official name for this format. Any help appreciated.
We use the Data I/O and have found that the files do indeed need to be in ascending order. (Obviously they gave the junior programmer the task of loading the files) Bob, Thanks for the info. I confirmed this with our Mfg'ng, but only with a file that's not only ascending ordered, but also 100% full (i.e. all 64K of space, whether or not programmed, has a record). My question is: If a file arranges its records in ascending order, but there's portions missing (i.e. that don't require programming), does the Data I/O have trouble with this?
Have you tried the fill byte option of the output tab? It will fill all unused space with the specified value. Not sure but it may also order the records. -Walt
Have you tried the fill byte option of the output tab? It will fill all unused space with the specified value. Not sure but it may also order the records. I'm looking at the output tab in the target build properties dialog box and I don't see a fill byte option. Am I looking in the wrong area?
You are looking in the right area. I use the C166 but I would think that feature is common to all tool chains. Perhaps not. Here it is documented for the C166. http://www.keil.com/support/man/docs/oh166/oh166_using_uv.asp -Walt
No. That area of config in uV for the 8051 doesn't look anything like that. All it provides is a "Create HEX File" checkbox and a "HEX Format" droplist with only one choice: HEX-80. Hmmm...would be nice to see the 166 options in the 51 IDE. Anyway, thanks to all for your help. I've nailed the problem down and now, at least, have a direction to persue.
When you are using the LX51 Extended Linker/Locater (which is part of the PK51 Kit) you have more options. Reinhard
I checked and we do have PK51. To test, I checked the "Used Extended Linker (LX51)" option in the Device tab and while the Output tab then offered the additional HEX-386 in the drop list, it did not offer any controls where buffer fill could be specified.