- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've got Altera 10.0sp1 installed and am running into a problem using printf with the JTAG uart configuration in my BSP. The net result is that printf either truncates some of the data that I'm printing out or prints duplicated characters. For example:
a)) Test Ram
b) Test Flash
c) Flash Erase
d) Test LED
ee Test GPS State Machine
f) Test SPI
q)Quuit
I'm printing this using one printf for each line. I've got "jtag_uart" setup for the stderr / stdout / stdin in the BSP. I've tried this both through Eclipse and "nios2-terminal" and see similar results. Any ideas what could cause this behavior? I was thinking it might be a buffering problem, but I'm not sure how to track it down. Trying to step into printf statement is a dead-end into a precompiled library. Thanks, --tim
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like I can answer my own question. My external clock is running at 25MHz. My PLL was initially set to create an internal system clock that equaled this 25MHz rate. I bumped that to 85MHz and that cured the problem.
--tim
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