Force load of program from EEProm

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jomac_1309706
Level 1
Level 1
First solution authored Welcome! First question asked

After downloading my program image to EEProm via the following code

enmResult = fx3.DownloadFw(filename, FX3_FWDWNLOAD_MEDIA_TYPE.SPIFLASH);

I want to hard restart the device to force the new program to load from EEProm.   We were able to do this with the FX2, but have been unable to find how to do this under FX3.

Any help  / direction would be appreciated.

Thanks,

J.

0 Likes
1 Solution
ManaskantD_51
Employee
Employee
Welcome! 25 solutions authored 10 solutions authored

Hi John,

You can use the fx3.Reset() API after the DownloadFw API. But you need to make sure your PMODE pins are already set for the I2C boot.

View solution in original post

0 Likes
3 Replies
YangyangC_06
Employee
Employee
750 replies posted 500 replies posted 250 replies posted

Hi John

It is impossible to do that. You need to change PMODE settings after downloading firmware.

0 Likes
ManaskantD_51
Employee
Employee
Welcome! 25 solutions authored 10 solutions authored

Hi John,

You can use the fx3.Reset() API after the DownloadFw API. But you need to make sure your PMODE pins are already set for the I2C boot.

0 Likes
YangyangC_06
Employee
Employee
750 replies posted 500 replies posted 250 replies posted

Hi John,

My previous response is not correct. Please follows the way provided by Manaskant.

0 Likes