cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger IAP ethernet mode from software

WSpar.1
Associate III

I'm running a NUCLEO-F429Zi discovery board inside a machine that I remotely control over the internet.

I would like to do a firmware upgrade from remote as well.

It can be done with TFTP in app programming, but most examples use a hardware button to get the device in IAP mode.

Since I'm not at the machine, is there a way to trigger it from software?

1 REPLY 1
Renato Valentim
Associate III

I'm planning on doing the same thing. We came up with a possible solution which is untested which is for the actual program (not the bootloader) program a 3rd region in memory with the "new" FW upgrade. This means the bootloader (1st region) will always copy from the 3rd region to the 2nd region then do the jump to the beginning of the 2nd region. If there was no reprogramming the 2nd and 3rd regions will have the same exact memory. Now this requires the program size to be less than half of the total flash size. In my case I have 2048k of flash memory so I'll be ok.

Do you see any possible problems with this approach?

Thanks

  • Renato