Hello,
I am using GangPro-ARM software tool. I am accessing this software from my business logic written in c#. To operate GangPro-ARM i am using gang dll functions. This dlls i got in the installation folders when i downloaded Elprotronic package for GangPro-ARM.
In my business logic I used firmware (hex format) which i upload on the devices connected to gangPro -ARM using FPA. This uploaded firmware data get stored in the flash memory of GangPro-ARM. as shown below:
I used 'GangProARM-FPAsel.dll' functions of gangPro-ARM in following sequence:
1.F_OpenInstancesAndFPAs
2.F_Set_FPA_index
3.F_Initialization()
4.F_ConfigFileLoad -Here i uploaded my firmware file which uploads firmware file data to Flash memory of GangPro-ARM.
And before proceeding further with this sequence, I used ' GANGPRO_GUI.dll' functions in the following sequence to read data , edit data and again write it to Flash memory of GangPro-ARM.
1.F_Copy_Flash_to_Gang_Buffer
2.F_Get_Byte_from_Gang_Buffer- Reads data at specific address.
This all flow, worked properly in one go.
But again I tried reading buffer data, it gave me an incorrect data as 'fffffff'. I just want to know that is there any way to clear gang buffer and flash memory of GangPro-ARM, so that i can try re-upload for firmware file.
I m stuck here as i m not able to clear gang buffer and flash memory.
Thanks & Regard,
Shradha K