Dear Sirs, For 5 days I am struggling with ridiculous behaviour of IAR v.6.xx for a 70F3377-based project. All works fine until specific moment, in which IAR starts to behave strange and compile nonsenses. I have SelfLib (latest version for FX3-devices) implemented, alongside EELib (and of course DFALib). SelfLib itself worked fine before -flashing, boot blocks swapping, all was fine... And with code growing (still less than 0x5000 bytes in size) it starts to behave strange. Calls from my main() are performed or not depending on their placement. Changing memory to "Large" fixes everything, but causes SelfLib not to work. Kind of very unpleasant situation - SlefLib appears to work in "Small" memory model only. Any suggestions how to overcome this? Apparently IAR will not be at help at all, so the only hope is to get SelfLib working in "Large" model. I attached the list files, produced for SelfLib in both cases - the only difference is in SelfLibInit and SelfLibCommands - the way they compile in assembler the pointer to internal BROM call. Looking strictly the assmbler, both should work! I am already "stuck" with that issue and no fresh ideas come to my mind ;-( Just to mention - linker file and all includes and everything else is just in order... All just worked fine few days ago and if I decerase the size of the main() by removing code added last days it starts working as well as before. And I am talking here really for lines added - even if I copy the old lines (just duplicating part of the code to achieve increase in size) same strange IAR behaviour occurs. So, what I am trying to clarify is that it doesn't depends on the new lines added, but just on the number of lines being add... Thank You in advance! (Please visit the site to view this file)(Please visit the site to view this file)
↧