CH的技術大牛們,你們好,請問下F003空片時候自帶了bootloader嗎?這部分空間是不是在16KB Flash之外的嗎?是不是直接可以使用WCHMcuIAP_WinAPP.exe來下載?你們提供的IAP示例工程和你們自帶的有什么區(qū)別?
另外我使用你們最新的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)