Hello,
Is there a compiler/linker switch or command that will pad the number of bytes in a section so they will end on a word boundary? I have a second stage boot loader for the C5502 that is loading a binary image (created with HEX55 tool, using the –boot option) from parallel flash into the C5502 RAM. If the byte count for a sector is odd, then extra code is required to process the odd byte and then sync up with the following sector byte count and start address information (in the boot table).
Is anyone familiar with a switch or command that will force the data in a sector to end on a word (even) boundary? This would help to keep the footprint of the second stage boot loader to a minimum . I have searched the documentation to no avail. Any suggestions would be appreciated.
Environment :
Processor TMS320C5502
Code Composer V5.1
Spansion S29GL128S Parallel Flash
Thanks,
Stephen