This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294XL + USB stick update + memory problem

Hi everyone, it's me again with the USB stick update !

I have a problem which is confusing me and my brain. The example of USB stick update is working very well. When i'm loading an other project on the USB key and boot on it it works ! but ... not always. 

When i'm loading a project of web_server with a small html page it works but when i'm loading the same project with a bigger html it's not. The USB stick update program stays stuck at the lines on the boot.asm file:

;* IF APPLICATION DIDN'T CALL EXIT, CALL EXIT(1)
;*------------------------------------------------------
MOVS r0, #1
BL EXIT_RTN

 

The project with the bigger html page is working well alone but not with the USB updater ... i don't understand why :/

I checked the memory and seems well i put on the .cmd of my html project :

#define APP_BASE 0x00008000
#define RAM_BASE 0x20000000

MEMORY
{
/* Application stored in and executes from internal flash */
FLASH (RX) : origin = APP_BASE, length=0x000f8000
/* Application uses internal RAM for data */
SRAM (RWX) : origin = 0x20000000, length = 0x00040000
}

and i put on the usb_stick_update.c file :

#define APP_START_ADDRESS 0x8000

And i have on the .cmd of the usb_stick_update project:

#define APP_BASE 0x00000000
#define RAM_BASE 0x20000000

/* System memory map */

MEMORY
{
/* Application stored in and executes from internal flash */
FLASH (RX) : origin = APP_BASE, length = 0x00100000
/* Application uses internal RAM for data */
SRAM (RWX) : origin = 0x20000000, length = 0x00040000
}

So all memories seems good but want to load the project with a consequent html page :/

Thanks for read and sorry about my bad english

Regards,

John