Hi there,
I'v got the following problem: I've got a C164CI microcontroller (Infineon) and I've written a prog to send Hex-Files to it. When I work with the integrated OS of the microcontroller I always have to add '0xFF's to every record that has less than 32 byte. Now I'd like to write my own bootloader for the microcontroller and my question is:
Do I always have to fill my hex records with 0xFF and what does that cause at the microcontroller?
In my current version of my bootloader I just read in the adress and length and then read $lentgh bytes and write them to the adress. So if I would extend my records with 0xFF my bootloader would read read FFFF as the adress then the next FF as the length and then it would wait for FF (255) more bytes and writes them to memory. I think this doesn't make sense, does it?
Thanks for your help
Thomas