Author Topic: Firmware update problem  (Read 9223 times)

Offline robo

  • Newbie
  • *
  • Posts: 40
    • View Profile
Firmware update problem
« on: April 25, 2009, 10:42:50 AM »
Hi all!

I have a problem with firmware update from http page. When zUpload.bin file is bigger than 90kB. I'm using uTasker file system on external SPI FLASH (M25PE80).
Erery thing is OK when zUpload.bin file is smaller than 90kB. What can be wrong?

Regards,
robo

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: Firmware update problem
« Reply #1 on: April 25, 2009, 11:11:52 AM »
Hi Robo

Have you checked the application size limit set in uTaskerBootLoader.c?

        #define UTASK_APP_LENGTH       (MAX_FILE_LENGTH)(0x18000 - 0x1000)// 92k

You may be passing this limit and then the new code will be considered invalid and the original code started again.

Regards

Mark


Offline robo

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Firmware update problem
« Reply #2 on: April 25, 2009, 11:49:14 AM »
Hi Mark!

Thanks for fast reply! I forgot about this define.

Best regards,
robo