cancel
Showing results for 
Search instead for 
Did you mean: 

IAP using CrossStudio 1.7

daniel8
Associate II
Posted on December 13, 2007 at 17:42

IAP using CrossStudio 1.7

1 REPLY 1
daniel8
Associate II
Posted on May 17, 2011 at 11:31

Hello. I've been trying to get the IAP application working under crossworks, but to no avail. I loaded the files from AN2475, and made sure that the processor was set to BANK1 - I get to the point where the first block of the YMODEM seems to transfer, then it freezes up. (looks like when it starts to erase the sectors).

That would somehow seem to indicate that perhaps the application did not get loaded in bank1, but I am not entirely sure.

The one change I had to do to the code (other than the pin definitions on the UART and which pin to activate the IAP, was to remap

#define RAM_Exe __ramfunc to

#define RAM_exe __attribute__ ((long_call, section (''.fast'')))

, and also define use long calls in the project so the linker wouldn't complain.

I am not utilizing the included 91x_init.s, vect.s and table.s, and instead relying on the STR91x_Startup.s crossworks creates for me in the project

Any suggestions? Thanks