本帖最后由 FSL_TICS_ZP 于 2014-7-8 16:20 编辑
之前开发的时候,通过代理商申请KE02Z16VLC2的样品,结果代理商说freescale拒绝提供该型号样片,就给了KE02Z64VLC2的样片,说除了FLASH大小不一样,其他一样。
到量产时候再直接买KE02Z16VLC2就可以了。开发测试都完成了,要量产了,为了稳妥,坚持要KE02Z16VLC2的样片测试,跟代理商来回折腾了两个月好不容易要到了样片,
结果发现我的IAR6.7版本根本没有KE02Z16VLC2的icf文件,被告知7.1里面有,我去哪里搞7.1?
在网上找了7.1的,安装之后,调试,直接不工作,再装回6.7,也歇菜了,这不是坑人吗?
告诫各位,以后再申请样片,一定要量产的型号。算了,不发牢骚了,还得去解决问题
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
看门狗已经被禁止了,22楼有截图,里面的寄存器记录了复位原因是ARM内核复位。下面是我的ICF文件,直接用IAR自带的文件编译不同通过,我做了一些修改。
同KE02Z64VLC2相比,唯一的改动就是ICF文件了。
/*###ICF### Section handled by ICF editor, don't touch! ****/
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$configideIcfEditorcortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0x00000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x00003FFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x1ffffe00;
define symbol __ICFEDIT_region_RAM_end__ = 0x1fffffff;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x200;
define symbol __ICFEDIT_size_heap__ = 0x200;
/**** End of ICF editor section. ###ICF###*/
define symbol __region_RAM2_start__ = 0x20000000;
define symbol __region_RAM2_end__ = 0x200005ff;
define symbol __region_EEPROM_start__ = 0x10000000;
define symbol __region_EEPROM_end__ = 0x100000ff;
//define symbol __FlashConfig_start__ = 0x00000400;
//define symbol __FlashConfig_end__ = 0x0000040f;
define exported symbol __VECTOR_TABLE = 0x00000000;
define exported symbol __VECTOR_RAM = __ICFEDIT_region_RAM_start__;
define exported symbol __BOOT_STACK_ADDRESS = __region_RAM2_end__ - 7;
define symbol __code_start__ = __ICFEDIT_region_ROM_start__ + 0x410;
define memory mem with size = 4G;
//define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to (__FlashConfig_start__ - 1)] | mem:[from (__FlashConfig_end__+1) to __ICFEDIT_region_ROM_end__];
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__] | mem:[from __region_RAM2_start__ to __region_RAM2_end__];
define region EEPROM_region = mem:[from __region_EEPROM_start__ to __region_EEPROM_end__];
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
//define region FlashConfig_region = mem:[from __FlashConfig_start__ to __FlashConfig_end__];
initialize by copy { readwrite };
//initialize manually { section .data};
//initialize manually { section .textrw };
do not initialize { section .noinit };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
/*place in FlashConfig_region {section FlashConfig};*/
place in ROM_region { readonly };
place in RAM_region { readwrite, block CSTACK, block HEAP };
place in EEPROM_region { section .eeprom };
一周热门 更多>