Ariel Meza

Problems writing FLASh in GT series

Discussion created by Ariel Meza on Feb 11, 2009
Latest reply on Feb 12, 2009 by Ariel Meza

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


Outcomes