µTasker Forum

µTasker Forum => Luminary Micro TM LM3SXXXX => Topic started by: robo on April 25, 2009, 10:42:50 AM

Title: Firmware update problem
Post by: robo 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
Title: Re: Firmware update problem
Post by: mark 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

Title: Re: Firmware update problem
Post by: robo on April 25, 2009, 11:49:14 AM
Hi Mark!

Thanks for fast reply! I forgot about this define.

Best regards,
robo