We tried running a code example in PSoC Creator 4.3 and the bootloadable application is running at our end.
I have attached the project , can you please try and let us know if this works.
The two lines which you have mentioned, is there in the code example which i have attached and the code is working.
Please let us know if this works.
Thank you for replying.
I actually found the error. My development is setup in Eclipse in Linux, and the command for the cyelftool.exe in the post-build script was this:
wine cyelftool.exe -B $PROJNAME.elf --flash_row_size 256 --flash_size 131072 --flash_array_size 65536 --ee_array 64 --ee_row_size 16
instead of this:
wine cyelftool.exe -P $PROJNAME.elf --flash_row_size 256 --flash_size 131072 --size_var_name Bootloader_1_SizeBytes --checksum_var_name Bootloader_1_Checksum
As you can see, it was missing the two arguments for size and checksum. This was the reason these values were not updated in the .elf file.