I have a bootloader that I am trying to write and I'm not sure how to go about having program size, in bytes, coded somewhere in the images it tries to load.
Basically, I want to read the app code from flash, and the first 32-bits should be the length or size of the app. I would then read this many bytes do anything else and then jump to the app's reset vector. Also, when update the firmware I would read that many bytes into flash.
Is there a way I can do this with the Keil tools or do I have to write a utility program that appends this data on?
I wasn't aware that it could run in a windows environment without cygwin or similar installed.