Problems writing FLASh in GT series

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problems writing FLASh in GT series

1,553 次查看
Armole
Contributor I

I'm trying to use the bean intFlash from the CW 6.2 and i can't write to flash memory. My code is:

IFsh1_Init();

IFsh1_SetWordFlash(&add,f);

add is the 0x8010, and f is a word.

The problem is when i simulate the function SetWordFlash waits for the Flash command to end and it never ends (the COP resets).

These functions are generated by Processor Experts.

please, If anyone can help me

Thank You


标签 (1)
0 项奖励
回复
2 回复数

725 次查看
bigmac
Specialist III
Hello, and welcome to the forum.

The full chip simulator within CW does not simulate flash erase and programming processes.  You will need to use the actual hardware to test these.

Regards,
Mac

0 项奖励
回复

725 次查看
Armole
Contributor I

I use the P&E Multilink to simulate. But i don't run the code without the BDM. I have to run without it?

Thank you for the reply.

Ariel

0 项奖励
回复