1. Background project:
Thanks for helping of Mr.Toan, we have understood generally Bootloader project.
Figure 1
Figure 2
1.2 UART module:
UART terminal will send file (s19 file), we need to create a small module
which send a text file then check at receiver by reading buffer.
1.3 Flash module (read and write to FLASH)
We will re-use the sample code, or modify, depend on our ability, to read or
write to an address. We can check the value at that address after writing by
read value of a pointer which point to that address:
Ex:
#define ADD_TO_READ 0xA010
uint_32 * p = NULL;
p = (uint_32 *) ADD_TO_READ; // point p to this
address
value = *p; // read value at that address