Other Parts Discussed in Thread: UNIFLASH
At present, the product is on the eve of mass production. We want to merge the SBL and app programs into a new. Bin file, but it is found that after the merger, the combined firmware is burned through the offline burner, and the program cannot run normally. At present, the following verification has been done
1. The SBL and app programs are burned through the uniflash tool. The app program can run normally and everything is OK.
2. After the SBL and app programs are combined into one firmware, the SBL can run normally by burning through the offline burner, and the app cannot be loaded normally. The error displayed is: error: meta header absent!!!
Based on the second point, the following verification is made
2.1. In SRC \ metaheader_ The read value of metaheaderstart in parser. C is 0xcccc. If correct, it should be 0x5254534d
2.2 comparing the combined firmware with app and SBL is exactly the same
2.3 based on point 1 above (under normal conditions), print out the SBL and app burned into the program, which are the same as sbl.bin and app.bin.
2.4 suppose the offline burner is used to burn the SBL at 0xc00000000 (flash base address) + 0x00000000 (address offset), and the app at 0xc00000000 (flash base address) + 0x00180000 (address offset), the program cannot run normally. However, based on this, we burn any firmware in image3 through uniflash. Both SBL and app can operate normally.
We look forward to the experts' reply