We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
When I run this program
dl.dropbox.com/.../RL_ARM_4_12_issue.zip
my program locks up in
int _mutex_initialize (OS_ID *mutex) { /* Allocate and initialize a system mutex. */ if (nr_mutex >= OS_MUTEXCNT) { /* If you are here, you need to increase the number OS_MUTEXCNT. */ for (;;); } *mutex = &std_libmutex[nr_mutex++]; mutex_init (*mutex); return (1); }
Increasing OS_MUTEXCNT causes my program to end up in abort mode. Could you maybe try it and tell me what it gives you...?
I forgot to mention that the project above is configured for a LPC24xx, but it should be easily convertible to other targets as well. I see that "fwrite" fails regularly.
The test program fails because the fopen and fclose are in the infinite loop. Once moved outside, it seems to work fine (as does my controller). That is not the way it is supposed to work, Keil ! Is this a FlashFS-RTX integration issue...?