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.
Good afternoon. I try to start SD a card on LPC2378. Without RTX all perfectly works. With RTX on a command finit () the program jumps on DAbt_Addr. The theme (http://www.keil.com/forum/docs/thread15068.asp) at a forum has not helped. My code:
int main() { os_sys_init(init); while(1); } __task void init (void) { os_tsk_prio_self (100); finit(); os_tsk_create_user (blink_led, 30, &blink_stack, sizeof(blink_stack)); os_tsk_create (timer_task, 30); os_tsk_create_user (tcp_task, 0, &tcp_stack, sizeof(tcp_stack)); os_tsk_delete_self(); }
Show working example RTX with functions Flash File System
I set a stack size 0x800, but it steel not working :( Do I need to connect Retarget.c to the project? Is there an example on site with RTX and file system?
forgot to say that the size heap also established 0x800
do you have retarget.c included in your project?
yes. plugged. without positive changes
Maybe I did not have an older version of files? How do I find it?