Forum Discussion
Altera_Forum
Honored Contributor
21 years agoCode download over LVDS
I have been considering using Redboot as my bootloader. But, our custom board has to download it's code over an LVDS link. How hard is it to add new comms options to Redboot? This is the only ...
Altera_Forum
Honored Contributor
21 years agoIf you want to run all the console I/O over this channel, then you will need to provide a comms driver.
The functions required by Redboot for a comms driver aren't particularly complicated. If you take a look at: altera_avalon_jtag_uart_diag.c that should serve as a reasonable example. These can (and should) be polled functions, i.e. you shouldn't be using interrupts to drive the device. Initialising the channel is achieved by calling the macros CYGACC_COMM_IF_WRITE_SET etc. as done for the JTAG UART.