- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dear sir
The function of my project is to transfer user app through uart, and update user app to flash in bootloader mode.
Now the function of jump to user app in bootloader mode is normal, but when updating user app, I don't know how to get the burning address of user app, Do you have similar examples for me.
Attached is my project.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I hope you want to keep your application to a known location. For this purpose you can use the Manual application image placement option.
This will manually place the bootloadable application to any flash row above the bootloader image and below the metadata area of flash as shown in figure.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I hope you want to keep your application to a known location. For this purpose you can use the Manual application image placement option.
This will manually place the bootloadable application to any flash row above the bootloader image and below the metadata area of flash as shown in figure.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sir
If the address is set automatically, is there any interface that can get this address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can calculate the placement address by multiplying the number of the flash row (starting fromwhich the image is placed) by the flash row size and adding the result to the flash base address. Align the placement address to the flash row size. See the Flash and EEPROM chapter of the System Reference Guide for details about flash memory organization.
You can get the first available row for the bootloadable application from the associated <project>.cyacd file when the Manual application image placement option is disabled or can be reported by the Get Flash Size command.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi sir
If manually place metadata area of flash, will it be covered?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
Metadata is last row of flash by default. What are you trying to achieve by manually placing it?
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm worried about whether the app program will overwrite the metadata if it's very large after I set it manually.
Does the compiler report an error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Metadata being on the last row, that is the maximum code size you can get. Now regarding second question, Memory Overflow errors are reported during build. Make you bootloader project smallest as possible so you can get that maximum allowable size of the bootloadable project.
Best Regards,
Vasanth
KBA230026
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK,thank you