lpcware

LPC1830 dfu 功能

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by eakliu on Fri Mar 08 03:45:05 CST 2013
我使用lpc830, 外挂spi flash,使用 spifi 0x1400000 地址debug, 能够正常运行, 实现dfu功能时, USBD_API->hw->Init, 可以正常返回,

当把使用内部ram进行debug时, USBD_API->hw->Init, 就会跑飞, 使用lpcopen 平台的dfu代码,
define symbol __ICFEDIT_intvec_start__ = 0x10000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x10000140;
define symbol __ICFEDIT_region_ROM_end__   = 0x1000FFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x10010000;
define symbol __ICFEDIT_region_RAM_end__   = 0x10017FFF;



开发环境 iar 6.40

Outcomes