Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Hi, it seems as if I'm not finished, yet.... I renamed my UART from uart_1 to stdio_1 in SOPC builder (I'm using Quartus 9.1 for this project). Now, while building the BSP on the command line, I get the message SEVERE: [Error] altera_systemh_generator: <b>hal.stderr</b> out of range SEVERE: [Error] altera_systemh_generator: <b>hal.stdin</b> out of range SEVERE: [Error] altera_systemh_generator: <b>hal.stdout</b> out of range Hmm, I dig into it, but maybe somebody has an idea how to solve this issue? (or at least, what it means in the first place?) Regards, Maik --- Quote End --- Keeping in mind that I'm not that familiar with Altera tools yet, and I'm using a different version than you, I did find the solution to my problem. When running nios2-bsp I passed it the arguments "--set hal.stdout uart_0 --set hal.stdin uart_0 --set hal.stderr uart_0". My description from yesterday was about a project that has multiple .sopcinfo files and I thought I was using one, when in fact I was using a different one that did have and lcd module, but didn't have the uart module. I believe editing bsp-set-defaults.tcl and lwhal-set-defaults.tcl and changing 'set default_stdio "CHOOSE_DEFAULT"' to 'set default_stdio "uart_0"' would achieve the same results, but it would mean all of your projects would have to have a uart_0 defined or you'll get the out of range errors.