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!
No more topics |
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.
@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 Thank you for your quick reply! I just downloaded the newest SDK from the Telink website, and the output file size is 25kb as you said. I don't know why the Zigbee SDK before built an output file size of 33kb. Its version is 3.6.8.2. Maybe I cloned that SDK from somewhere on GitHub and it's not original.
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.
@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 Thank you for your quick reply! I just downloaded the newest SDK from the Telink website, and the output file size is 25kb as you said. I don't know why the Zigbee SDK before built an output file size of 33kb. Its version is 3.6.8.2. Maybe I cloned that SDK from somewhere on GitHub and it's not original.
@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?
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.
Thank you so much, i can do it now.