CH552G hex只有14.5K但显示文件过大

如图,文件长度14,286可以正常下载,但是文件14,578显示文件过大无法下载。CH552G的code flash有16K,为什么无法下载呢?

使用环境:keil C51

image.png

user flash range is from 0x000 ... 0x37FF. 0x3800..3FFF is used by the bootloader.

So usercode limit is 14335 bytes decimal.


Maybe you can shrink the code:

- try LX51 in Options->Device 

- enable Global Register Coloring + Linker Code Packing in Options->C51


只有登录才能回复,可以选择微信账号登录