renesas-rx / amazon-freertos

A fork/prototype of the Amazon FreeRTOS to support Renesas RX MCUs. Please refer to our wiki for more details.
https://github.com/renesas-rx/amazon-freertos/wiki
MIT License
7 stars 6 forks source link

bootloader always needs dataflash data included application binary. #23

Open HirokiIshiguro opened 4 years ago

HirokiIshiguro commented 4 years ago

Describe the bug bootloader cannot complete following state. https://github.com/renesas-rx/amazon-freertos/blob/1f50ef5b1971183c29c6d6748b4a0a3635de2fdf/demos/renesas/rx65n-rsk/e2studio/ccrx/boot_loader/type2/src/boot_loader.c#L591

System information

Expected behavior bootloader can skip dataflash data installing when dataflash_flag is ON.

https://github.com/renesas-rx/amazon-freertos/blob/1f50ef5b1971183c29c6d6748b4a0a3635de2fdf/demos/renesas/rx65n-rsk/e2studio/ccrx/boot_loader/type2/src/boot_loader.c#L191

Screenshots or console output none

To reproduce Input mot file without dataflash area data into MOT file convertor, and output userprog.rsu (without dataflash data) and put it into bootloader.

Code to reproduce the bug none

Additional context none

Thank you!