I want to write a value on a memory register. The reason I am asking because from my bootloader I want to read the version number of my application, and I think it can be done by writing a version number on a memory register and from bootloader read the value. Does it make sense?
I am using BF706, CCES
Hi,Can you please explain the meaning of "version number of application". Are you asking of the silicon revision of a particular processor ? Regards,Anand Selvaraj.
I have two projects, the first one is my application with some function and the second one is bootloader. The first project generates an output file .ldr, which from bootloader project I use the .ldr to write/read into flash (By doing write/read the .ldr into flash I am able to boot the flash then and run my application).
From the first project I define application/software version number as:
asm("R0 = 0x19(X);"); asm("B[0x11800014] = R0;"); // writing value 25 on register 0x11800014
The value is saved on register from application project. Then I write/read the generated .ldr file into flash from bootloader project.
From bootloader project I want to read the value (value 25 saved on register 0x11800014).
I don't know if it makes sens or not.
Hi,This issue is already handled through private support. To avoid duplication of efforts, you can continue the discussions through private support and we will post the final resolution here if appropriate.Regards,Anand Selvaraj.
No, it is not.