I'm having problems writing a boot loader for binary files created by hex55.exe according to sprabd7a (See Table 3 on pg 8).
To create my binary file, I'm doing to following:
hex55.exe -boot -map helloWorld.map -v5505 -b -fill ffffh helloWorld.out -o helloWorld.bin
According to the boot image format, sections should be padded to start on a 64-bit boundary. As shown below, section 1 starts and ends on 64-bit boundary. However, there is 1 word of padding between section 1 and section 2. Why?
Looking at other places between sections, the amount of padding seems random. What gives?
How do I calculate the amount of padding that I need to skip over between sections?
