Forum Discussion
Altera_Forum
Honored Contributor
15 years agoCurrently i have µC-OS-II running with the niche-stack.
When i try to write something to the flash, this action corrupts a list, wich is used by the niche-stack and so the network-stack crashes gracefully!!! I have modifyed the flash function so that it will directly return to the caller without accessing the flash (just for testing of course) but this doesn't work! So the problem seems to start earlier in the "alt_flash_open_dev()" function! I have also tryed to wrap all calls to the device-driver within OSSchedLock(); alt_irq_disable_all(); ... ... OSSchedUnlock(); alt_irq_enable_all(); But without success!!! --> How can that be??!! I will continue debugging and reporting on this forum! Any ideas?