Topic

FAQ
Login Register
Bootloader for TLSR8258
Aug 28, 2023 13:06

/

A

/A

Hi, I'm new to tlsr8258. I read the tlsr8258 zigbee sdk manual and I understood that if I wanted to use bootloader mode, I should flash the bootloader at 0 address, change bootloader mode 0 to 1 and build app bin, and flash it to 0x8000 addr. But when I built the bootloader from the sdk example and chose bootloader_8258 config, the output file size was 33kB, which exceeded 0x8000 ~ 32kB. And after I flashed both of them, bootloader and app bin, it didn't work.
I also saw another bootloader_8258 before, it was not the same as the one I built.
How can I use bootloader mode, step by step, in detail? Thanks!

TL_Soyo Aug 28, 2023 14:10
1
/A

What is your version? I tested the latest version with a BootLoader firmware size of 25k.

I only #define BOOT_LOADER_MODE 1 and build the 8258 project.you can clean the project, and rebuild.

6 replies
TL_Soyo Aug 28, 2023 14:10
1
/A

What is your version? I tested the latest version with a BootLoader firmware size of 25k.

I only #define BOOT_LOADER_MODE 1 and build the 8258 project.you can clean the project, and rebuild.

cyberkute [Author] Aug 29, 2023 11:47
0
/A

@TL_Soyo Yah, I can build a bootloader with a 25kB file size now, but it still doesn't work. I built the bootloader with the default bootloader 8258 config, set #BOOT_LOADER_MODE 1, built my app bin, then flashed the bootloader at 0 address and the app bin at 0x8000 address. Did I miss something? Should I modify the link script file or something else?

TL_Soyo Aug 29, 2023 13:55
0
/A

I tested the latest sdk with bootLoader_8258 and sampleLight_8258,they can work well,you can try clean before build them.and select a right board config.



cyberkute [Author] Aug 29, 2023 14:49
0
/A

Thank you so much, i can do it now.