Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programming over USB #4

Open
thatoddmailbox opened this issue Jun 8, 2019 · 0 comments
Open

Programming over USB #4

thatoddmailbox opened this issue Jun 8, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@thatoddmailbox
Copy link
Owner

Currently, the board requires an external JTAG adapter to program the flash. It would be nice if some sort of serial bootloader was implemented, like on Arduino, so that the built-in USB serial adapter could be used to program the chip. There already is support for using a bootloader (the HiFive has one present at the start of SPI flash at 0x20000000, and the linker script is set up to build user code at 0x20400000), but the existing bootloader is only used to allow the user to reset the FE310 before running the program, just in case there's a 'bad' program that puts the chip in some weird state that JTAG can't rescue it from.

The HiFive solves this by using an FT2232 USB-to-JTAG chip, but that currently costs $6.71 in quantity 1 from DigiKey, vs. the ~$0.50 for the Holtek part currently used, and there doesn't seem to be any cheaper alternative USB-to-JTAG chip.

@thatoddmailbox thatoddmailbox added the enhancement New feature or request label Jun 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant