In bootloadable parameters you have the ability to define start address
of the bootloadable. So in bootloader define an absolute address
at end of bootloader and set that aside with a variable/struc definition.
That address of course would be below the start address of bootloadable
and end of bootloader.
To define absolute address see -
http://www.cypress.com/?rid=91945 AN89610 - PSoC® 4 and PSoC 5LP ARM Cortex Code Optimization
Then in bootloadable define a pointer with the absolute address and
same type as you set in bootloader.
If you look in the bootloader.h file you will see a const Bootloader_1_SizeBytes, maybe that would
be useful in the metadata f() call in bootloadable ? Not sure about this. To determine address.
Thanks, that looks very useful.
I cant get any of the files to download from that GitHub site.
The zip files all come up "invalid format" and the individual files seem to be there but not the project structure. For exmple the .cydsn file is actually just a link not a design file. I am confused!
There seems to be a lot of useful projects on there though. Is there some trick?
Wierd nomenclature but click "RAW" and that will let you doiwnload.