LPCXpresso IDE - problem with same project on different computers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCXpresso IDE - problem with same project on different computers

404 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cstephant on Thu Jun 12 08:53:17 MST 2014
Hello,

We are working on a project with 2 computers. So I exported my project with File->Export.
Once imported on the second computer, the IDE seems to build the project correctly but the .axf changes from 252968 b of text size to 138264 b.
Then when we try to debug with this axf, the µC fall in hardfault before the end of the download sequence.

Does anyone know what is it coming from ?

Thank you.

Colin
0 Kudos
Reply
3 Replies

392 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Jun 13 02:58:42 MST 2014
To be able to investigate, we would need to see both projects. From your description, it is impossible to guess what you may have done wrong.

If you would like us to investigate, please post *both* projects.
0 Kudos
Reply

392 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cstephant on Fri Jun 13 02:35:03 MST 2014
Thanks for the answer.

Both project build configuration are in Debug.
There is no static library dependency and both projects uses Redlib (nohost).
The two disassembled axf are very differents and hard to compare.
It seems that there is a lot of missing steps in fonctions.
For ex:
Good axf :
void xPortSysTickHandler( void )
{
     7a4:b580      push{r7, lr}
     7a6:b082      subsp, #8
     7a8:af00      addr7, sp, #0
unsigned long ulPreviousMask;

Bad axf :
void xPortSysTickHandler( void )
{
     5f4:b510      push{r4, lr}
unsigned long ulPreviousMask;

Do you need something else ?
0 Kudos
Reply

392 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jun 12 09:04:09 MST 2014
Things to look at:
1. Debug vs Release builds
2. Libraries
3. Disassemble the two .axf files and see what has changed

If you want any more help, you are going to need to provide a lot more information
0 Kudos
Reply