CH的技术大牛们,你们好,请问下F003空片时候自带了bootloader吗?这部分空间是不是在16KB Flash之外的吗?是不是直接可以使用WCHMcuIAP_WinAPP.exe来下载?你们提供的IAP示例工程和你们自带的有什么区别?
另外我使用你们最新的IAP工程编译,会出错,我把ld文件的flash(1920)改大(改成2560)就可以编译成功,这该怎么解?
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 1920
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 2K
}
16:07:01 **** Build of configuration obj for project CH32V003_IAP ****
make -j16 all
c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: CH32V003_IAP.elf section `.text' will not fit in region `FLASH'
c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: region `FLASH' overflowed by 136 bytes
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:56: CH32V003_IAP.elf] Error 1
16:07:09 Build Failed. 3 errors, 0 warnings. (took 8s.645ms)