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.

C6657 task运行中写nor Flash失败



我想通过platform接口写cfg到flash中保存下来:

platform_device_write(chip->nor_handle, CONFIG_START_BLOCK*CONFIG_BLOCK_SIZE, (unsigned char *)cfg, sizeof(struct global_config));

但是单步调试中发现在 Osal_platformMalloc()中Memory_alloc()崩溃了。

我想问一下这样操作是否不对,如果有问题的话,我应该怎样实现我想要的结果呢?

敬候答复