我的问题一直没有解决,调用官方的28027_flash例程,总是报错,错误为unresolved symbol_PIE_set_DebugIntVectorTable,即使偶尔不知道什么原因,不出现这个报错了,编译没问题,也烧写不了,主要在初始化的部分。该怎么解决?着急呢,谢谢。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我的问题一直没有解决,调用官方的28027_flash例程,总是报错,错误为unresolved symbol_PIE_set_DebugIntVectorTable,即使偶尔不知道什么原因,不出现这个报错了,编译没问题,也烧写不了,主要在初始化的部分。该怎么解决?着急呢,谢谢。
你好,调用官方例程Example_28027_Flash烧写已经成功了.又出现了另外一个问题,我调用Example_F2802xEPwmUpDownAQ例程,想把它更改为可烧写程序.我进行了如下修改:
1.把cmd文件更改为28027.cmd;
2.在Example_F2802xEPwmUpDownAQ.c程序中修改了
1)在void InitEPwm1Example(void);之前增加
#pragma CODE_SECTION(epwm1_isr, "ramfuncs");
#pragma CODE_SECTION(epwm2_isr, "ramfuncs");
2)在CLK_Handle myClk;之前增加了
extern Uint16 RamfuncsLoadStart;
extern Uint16 RamfuncsLoadSize;
extern Uint16 RamfuncsRunStart;
3)在memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);之后增加
FLASH_setup(myFlash);
3.28027.cmd文件修改为
ramfuncs : LOAD = FLASHA,
RUN = PRAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
LOAD_SIZE(_RamfuncsLoadSize),
PAGE = 0
经过以上更改后,例程编译通过,但是烧写时出现问题,见图片.请问,如何将这个程序改为可烧写程序呢?