- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey, I'm a student from University of Waterloo working on thread migration and stuff. I was just wondering if there's a way to have the same printf routine in assembly for two different cores. In a more simpler way, write a hello world program for a core and burn the elf file that it generates on to the other core and make it run.
I would like to know if it can work provided the addresses to the jtag uarts from both the nios cores are the same.. I hope it makes sense.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As long as the two cores aren't trying to access the uart simultaneously and you don't use interrupts it should work. You should use a mutex between the two cores and use a driver that does polling instead of waiting for an interrupt.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page