Problems writing FLASh in GT series

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problems writing FLASh in GT series

1,552件の閲覧回数
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 返答(返信)

724件の閲覧回数
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 件の賞賛
返信

724件の閲覧回数
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 件の賞賛
返信