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.

F28M36x memcpy问题

Other Parts Discussed in Thread: CONTROLSUITE

大家好,最近在做F28M36x的bootloader,是在controlsuite例程上修改的,

当在程序跳入bootloader中后,需要执行

memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);

把flashAPI函数放到RAM中执行,但是单步运行后,执行了memcpy后,就报错说仿真器未连接

并且对应的RAM区间一直是0,希望有了解的大神指导一二,谢谢!

  • 个人觉得不应该是memcpy的问题,这个函数是自带的函数。你应该在cmd上有定义RamfuncsRunStart,RamfuncsLoadStart,RamfuncsLoadSize吧。

    就算有问题,也不该是仿真器没连接,这表示硬件有问题。

    ERIC