Problems writing FLASh in GT series

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems writing FLASh in GT series

1,185 Views
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


Labels (1)
0 Kudos
Reply
2 Replies

357 Views
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 Kudos
Reply

357 Views
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 Kudos
Reply